From 28542778292241f36f6c9efd4c7570977d42a9d2 Mon Sep 17 00:00:00 2001 From: Anthony Martin <38542602+anthony-c-martin@users.noreply.github.com> Date: Thu, 22 Feb 2024 20:22:29 -0500 Subject: [PATCH] Pick up latest version of Azure.Bicep.Types (#822) --- bicep-types | 2 +- generated/index.json | 174 +- .../v1/types.json | 588 +- .../apiextensions.k8s.io/v1/types.json | 999 +- .../apiregistration.k8s.io/v1/types.json | 258 +- generated/kubernetes/apps/v1/types.json | 5696 ++++++++++- .../kubernetes/autoscaling/v1/types.json | 360 +- .../kubernetes/autoscaling/v2/types.json | 844 +- .../kubernetes/autoscaling/v2beta2/types.json | 844 +- generated/kubernetes/batch/v1/types.json | 4906 ++++++++- .../certificates.k8s.io/v1/types.json | 275 +- .../coordination.k8s.io/v1/types.json | 151 +- generated/kubernetes/core/v1/types.json | 8893 ++++++++++++++++- .../kubernetes/discovery.k8s.io/v1/types.json | 363 +- .../kubernetes/events.k8s.io/v1/types.json | 296 +- .../v1beta1/types.json | 709 +- .../v1beta2/types.json | 709 +- .../v1alpha1/types.json | 233 +- generated/kubernetes/log.out | 10 +- .../networking.k8s.io/v1/types.json | 1027 +- .../networking.k8s.io/v1alpha1/types.json | 221 +- .../kubernetes/node.k8s.io/v1/types.json | 213 +- generated/kubernetes/policy/v1/types.json | 328 +- .../rbac.authorization.k8s.io/v1/types.json | 659 +- .../scheduling.k8s.io/v1/types.json | 127 +- .../kubernetes/storage.k8s.io/v1/types.json | 2322 ++++- .../storage.k8s.io/v1beta1/types.json | 195 +- .../Bicep.Types.K8s.UnitTests.csproj | 6 +- .../K8sTypeLoaderTests.cs | 6 +- .../packages.lock.json | 118 +- src/Bicep.Types.K8s/Bicep.Types.K8s.csproj | 2 +- src/Bicep.Types.K8s/packages.lock.json | 29 +- src/autorest.bicep/package-lock.json | 16 +- src/autorest.bicep/src/armconverter.ts | 4 +- src/autorest.bicep/src/converter.ts | 10 +- src/autorest.bicep/src/kubernetesconverter.ts | 10 +- src/autorest.bicep/src/main.ts | 4 +- src/autorest.bicep/src/typebuilder.ts | 30 +- .../aadpodidentity.k8s.io/v1/types.json | 2 +- .../v1/types.json | 588 +- .../v1beta1/types.json | 588 +- .../apiextensions.k8s.io/v1/types.json | 966 +- .../apiextensions.k8s.io/v1beta1/types.json | 987 +- .../apiregistration.k8s.io/v1/types.json | 258 +- .../apiregistration.k8s.io/v1beta1/types.json | 258 +- .../generated/kubernetes/apps/v1/types.json | 5511 +++++++++- .../kubernetes/autoscaling/v1/types.json | 360 +- .../kubernetes/autoscaling/v2beta1/types.json | 692 +- .../kubernetes/autoscaling/v2beta2/types.json | 776 +- .../generated/kubernetes/batch/v1/types.json | 4341 +++++++- .../kubernetes/batch/v1beta1/types.json | 4395 +++++++- .../certificates.k8s.io/v1/types.json | 265 +- .../certificates.k8s.io/v1beta1/types.json | 264 +- .../coordination.k8s.io/v1/types.json | 151 +- .../coordination.k8s.io/v1beta1/types.json | 151 +- .../generated/kubernetes/core/v1/types.json | 8621 +++++++++++++++- .../kubernetes/dapr.io/v1alpha1/types.json | 836 +- .../discovery.k8s.io/v1beta1/types.json | 296 +- .../kubernetes/events.k8s.io/v1/types.json | 296 +- .../events.k8s.io/v1beta1/types.json | 296 +- .../kubernetes/extensions/v1beta1/types.json | 358 +- .../metrics.k8s.io/v1beta1/types.json | 2 +- .../networking.k8s.io/v1/types.json | 865 +- .../networking.k8s.io/v1beta1/types.json | 472 +- .../kubernetes/node.k8s.io/v1beta1/types.json | 213 +- .../kubernetes/policy/v1beta1/types.json | 874 +- .../rbac.authorization.k8s.io/v1/types.json | 659 +- .../v1beta1/types.json | 659 +- .../scheduling.k8s.io/v1/types.json | 127 +- .../scheduling.k8s.io/v1beta1/types.json | 127 +- .../kubernetes/storage.k8s.io/v1/types.json | 2079 +++- .../storage.k8s.io/v1beta1/types.json | 2079 +++- src/generator/package-lock.json | 16 +- src/generator/src/cmd/generate.ts | 4 +- 74 files changed, 70902 insertions(+), 167 deletions(-) diff --git a/bicep-types b/bicep-types index 15f5df39..3105d8ed 160000 --- a/bicep-types +++ b/bicep-types @@ -1 +1 @@ -Subproject commit 15f5df3990d29cfd3d2da39d2473998dafa7c176 +Subproject commit 3105d8ed916dd7b6cd5cf1833025dd4b891a442b diff --git a/generated/index.json b/generated/index.json index 0bdac634..ca7ea287 100644 --- a/generated/index.json +++ b/generated/index.json @@ -1 +1,173 @@ -{"Resources":{"admissionregistration.k8s.io/MutatingWebhookConfiguration@v1":{"RelativePath":"kubernetes/admissionregistration.k8s.io/v1/types.json","Index":30},"admissionregistration.k8s.io/ValidatingWebhookConfiguration@v1":{"RelativePath":"kubernetes/admissionregistration.k8s.io/v1/types.json","Index":41},"apiextensions.k8s.io/CustomResourceDefinition@v1":{"RelativePath":"kubernetes/apiextensions.k8s.io/v1/types.json","Index":48},"apiregistration.k8s.io/APIService@v1":{"RelativePath":"kubernetes/apiregistration.k8s.io/v1/types.json","Index":19},"apps/ControllerRevision@v1":{"RelativePath":"kubernetes/apps/v1/types.json","Index":14},"apps/DaemonSet@v1":{"RelativePath":"kubernetes/apps/v1/types.json","Index":193},"apps/Deployment@v1":{"RelativePath":"kubernetes/apps/v1/types.json","Index":206},"apps/ReplicaSet@v1":{"RelativePath":"kubernetes/apps/v1/types.json","Index":217},"apps/StatefulSet@v1":{"RelativePath":"kubernetes/apps/v1/types.json","Index":239},"autoscaling/Scale@v1":{"RelativePath":"kubernetes/autoscaling/v1/types.json","Index":16},"autoscaling/HorizontalPodAutoscaler@v1":{"RelativePath":"kubernetes/autoscaling/v1/types.json","Index":26},"autoscaling/HorizontalPodAutoscaler@v2":{"RelativePath":"kubernetes/autoscaling/v2/types.json","Index":45},"autoscaling/HorizontalPodAutoscaler@v2beta2":{"RelativePath":"kubernetes/autoscaling/v2beta2/types.json","Index":45},"batch/CronJob@v1":{"RelativePath":"kubernetes/batch/v1/types.json","Index":193},"batch/Job@v1":{"RelativePath":"kubernetes/batch/v1/types.json","Index":206},"certificates.k8s.io/CertificateSigningRequest@v1":{"RelativePath":"kubernetes/certificates.k8s.io/v1/types.json","Index":22},"coordination.k8s.io/Lease@v1":{"RelativePath":"kubernetes/coordination.k8s.io/v1/types.json","Index":15},"core/ConfigMap@v1":{"RelativePath":"kubernetes/core/v1/types.json","Index":16},"core/Endpoints@v1":{"RelativePath":"kubernetes/core/v1/types.json","Index":31},"core/Event@v1":{"RelativePath":"kubernetes/core/v1/types.json","Index":40},"core/LimitRange@v1":{"RelativePath":"kubernetes/core/v1/types.json","Index":55},"core/PersistentVolumeClaim@v1":{"RelativePath":"kubernetes/core/v1/types.json","Index":79},"core/Pod@v1":{"RelativePath":"kubernetes/core/v1/types.json","Index":253},"core/PodTemplate@v1":{"RelativePath":"kubernetes/core/v1/types.json","Index":261},"core/ReplicationController@v1":{"RelativePath":"kubernetes/core/v1/types.json","Index":273},"core/ResourceQuota@v1":{"RelativePath":"kubernetes/core/v1/types.json","Index":290},"core/Secret@v1":{"RelativePath":"kubernetes/core/v1/types.json","Index":299},"core/ServiceAccount@v1":{"RelativePath":"kubernetes/core/v1/types.json","Index":308},"core/Service@v1":{"RelativePath":"kubernetes/core/v1/types.json","Index":333},"core/Namespace@v1":{"RelativePath":"kubernetes/core/v1/types.json","Index":345},"core/Node@v1":{"RelativePath":"kubernetes/core/v1/types.json","Index":375},"core/PersistentVolume@v1":{"RelativePath":"kubernetes/core/v1/types.json","Index":405},"discovery.k8s.io/EndpointSlice@v1":{"RelativePath":"kubernetes/discovery.k8s.io/v1/types.json","Index":25},"events.k8s.io/Event@v1":{"RelativePath":"kubernetes/events.k8s.io/v1/types.json","Index":17},"flowcontrol.apiserver.k8s.io/FlowSchema@v1beta1":{"RelativePath":"kubernetes/flowcontrol.apiserver.k8s.io/v1beta1/types.json","Index":37},"flowcontrol.apiserver.k8s.io/PriorityLevelConfiguration@v1beta1":{"RelativePath":"kubernetes/flowcontrol.apiserver.k8s.io/v1beta1/types.json","Index":51},"flowcontrol.apiserver.k8s.io/FlowSchema@v1beta2":{"RelativePath":"kubernetes/flowcontrol.apiserver.k8s.io/v1beta2/types.json","Index":37},"flowcontrol.apiserver.k8s.io/PriorityLevelConfiguration@v1beta2":{"RelativePath":"kubernetes/flowcontrol.apiserver.k8s.io/v1beta2/types.json","Index":51},"internal.apiserver.k8s.io/StorageVersion@v1alpha1":{"RelativePath":"kubernetes/internal.apiserver.k8s.io/v1alpha1/types.json","Index":20},"networking.k8s.io/IngressClass@v1":{"RelativePath":"kubernetes/networking.k8s.io/v1/types.json","Index":16},"networking.k8s.io/Ingress@v1":{"RelativePath":"kubernetes/networking.k8s.io/v1/types.json","Index":42},"networking.k8s.io/NetworkPolicy@v1":{"RelativePath":"kubernetes/networking.k8s.io/v1/types.json","Index":71},"networking.k8s.io/ClusterCIDR@v1alpha1":{"RelativePath":"kubernetes/networking.k8s.io/v1alpha1/types.json","Index":22},"node.k8s.io/RuntimeClass@v1":{"RelativePath":"kubernetes/node.k8s.io/v1/types.json","Index":20},"policy/PodDisruptionBudget@v1":{"RelativePath":"kubernetes/policy/v1/types.json","Index":24},"rbac.authorization.k8s.io/ClusterRoleBinding@v1":{"RelativePath":"kubernetes/rbac.authorization.k8s.io/v1/types.json","Index":17},"rbac.authorization.k8s.io/ClusterRole@v1":{"RelativePath":"kubernetes/rbac.authorization.k8s.io/v1/types.json","Index":38},"rbac.authorization.k8s.io/RoleBinding@v1":{"RelativePath":"kubernetes/rbac.authorization.k8s.io/v1/types.json","Index":46},"rbac.authorization.k8s.io/Role@v1":{"RelativePath":"kubernetes/rbac.authorization.k8s.io/v1/types.json","Index":54},"scheduling.k8s.io/PriorityClass@v1":{"RelativePath":"kubernetes/scheduling.k8s.io/v1/types.json","Index":14},"storage.k8s.io/CSIDriver@v1":{"RelativePath":"kubernetes/storage.k8s.io/v1/types.json","Index":18},"storage.k8s.io/CSINode@v1":{"RelativePath":"kubernetes/storage.k8s.io/v1/types.json","Index":30},"storage.k8s.io/CSIStorageCapacity@v1":{"RelativePath":"kubernetes/storage.k8s.io/v1/types.json","Index":42},"storage.k8s.io/StorageClass@v1":{"RelativePath":"kubernetes/storage.k8s.io/v1/types.json","Index":56},"storage.k8s.io/VolumeAttachment@v1":{"RelativePath":"kubernetes/storage.k8s.io/v1/types.json","Index":111},"storage.k8s.io/CSIStorageCapacity@v1beta1":{"RelativePath":"kubernetes/storage.k8s.io/v1beta1/types.json","Index":19}},"Functions":{}} \ No newline at end of file +{ + "resources": { + "admissionregistration.k8s.io/MutatingWebhookConfiguration@v1": { + "$ref": "kubernetes/admissionregistration.k8s.io/v1/types.json#/25" + }, + "admissionregistration.k8s.io/ValidatingWebhookConfiguration@v1": { + "$ref": "kubernetes/admissionregistration.k8s.io/v1/types.json#/36" + }, + "apiextensions.k8s.io/CustomResourceDefinition@v1": { + "$ref": "kubernetes/apiextensions.k8s.io/v1/types.json#/44" + }, + "apiregistration.k8s.io/APIService@v1": { + "$ref": "kubernetes/apiregistration.k8s.io/v1/types.json#/15" + }, + "apps/ControllerRevision@v1": { + "$ref": "kubernetes/apps/v1/types.json#/9" + }, + "apps/DaemonSet@v1": { + "$ref": "kubernetes/apps/v1/types.json#/189" + }, + "apps/Deployment@v1": { + "$ref": "kubernetes/apps/v1/types.json#/202" + }, + "apps/ReplicaSet@v1": { + "$ref": "kubernetes/apps/v1/types.json#/213" + }, + "apps/StatefulSet@v1": { + "$ref": "kubernetes/apps/v1/types.json#/235" + }, + "autoscaling/Scale@v1": { + "$ref": "kubernetes/autoscaling/v1/types.json#/10" + }, + "autoscaling/HorizontalPodAutoscaler@v1": { + "$ref": "kubernetes/autoscaling/v1/types.json#/20" + }, + "autoscaling/HorizontalPodAutoscaler@v2": { + "$ref": "kubernetes/autoscaling/v2/types.json#/39" + }, + "autoscaling/HorizontalPodAutoscaler@v2beta2": { + "$ref": "kubernetes/autoscaling/v2beta2/types.json#/39" + }, + "batch/CronJob@v1": { + "$ref": "kubernetes/batch/v1/types.json#/189" + }, + "batch/Job@v1": { + "$ref": "kubernetes/batch/v1/types.json#/202" + }, + "certificates.k8s.io/CertificateSigningRequest@v1": { + "$ref": "kubernetes/certificates.k8s.io/v1/types.json#/17" + }, + "coordination.k8s.io/Lease@v1": { + "$ref": "kubernetes/coordination.k8s.io/v1/types.json#/9" + }, + "core/ConfigMap@v1": { + "$ref": "kubernetes/core/v1/types.json#/11" + }, + "core/Endpoints@v1": { + "$ref": "kubernetes/core/v1/types.json#/27" + }, + "core/Event@v1": { + "$ref": "kubernetes/core/v1/types.json#/36" + }, + "core/LimitRange@v1": { + "$ref": "kubernetes/core/v1/types.json#/51" + }, + "core/PersistentVolumeClaim@v1": { + "$ref": "kubernetes/core/v1/types.json#/75" + }, + "core/Pod@v1": { + "$ref": "kubernetes/core/v1/types.json#/249" + }, + "core/PodTemplate@v1": { + "$ref": "kubernetes/core/v1/types.json#/257" + }, + "core/ReplicationController@v1": { + "$ref": "kubernetes/core/v1/types.json#/269" + }, + "core/ResourceQuota@v1": { + "$ref": "kubernetes/core/v1/types.json#/286" + }, + "core/Secret@v1": { + "$ref": "kubernetes/core/v1/types.json#/295" + }, + "core/ServiceAccount@v1": { + "$ref": "kubernetes/core/v1/types.json#/304" + }, + "core/Service@v1": { + "$ref": "kubernetes/core/v1/types.json#/329" + }, + "core/Namespace@v1": { + "$ref": "kubernetes/core/v1/types.json#/341" + }, + "core/Node@v1": { + "$ref": "kubernetes/core/v1/types.json#/371" + }, + "core/PersistentVolume@v1": { + "$ref": "kubernetes/core/v1/types.json#/401" + }, + "discovery.k8s.io/EndpointSlice@v1": { + "$ref": "kubernetes/discovery.k8s.io/v1/types.json#/20" + }, + "events.k8s.io/Event@v1": { + "$ref": "kubernetes/events.k8s.io/v1/types.json#/11" + }, + "flowcontrol.apiserver.k8s.io/FlowSchema@v1beta1": { + "$ref": "kubernetes/flowcontrol.apiserver.k8s.io/v1beta1/types.json#/32" + }, + "flowcontrol.apiserver.k8s.io/PriorityLevelConfiguration@v1beta1": { + "$ref": "kubernetes/flowcontrol.apiserver.k8s.io/v1beta1/types.json#/46" + }, + "flowcontrol.apiserver.k8s.io/FlowSchema@v1beta2": { + "$ref": "kubernetes/flowcontrol.apiserver.k8s.io/v1beta2/types.json#/32" + }, + "flowcontrol.apiserver.k8s.io/PriorityLevelConfiguration@v1beta2": { + "$ref": "kubernetes/flowcontrol.apiserver.k8s.io/v1beta2/types.json#/46" + }, + "internal.apiserver.k8s.io/StorageVersion@v1alpha1": { + "$ref": "kubernetes/internal.apiserver.k8s.io/v1alpha1/types.json#/15" + }, + "networking.k8s.io/IngressClass@v1": { + "$ref": "kubernetes/networking.k8s.io/v1/types.json#/9" + }, + "networking.k8s.io/Ingress@v1": { + "$ref": "kubernetes/networking.k8s.io/v1/types.json#/36" + }, + "networking.k8s.io/NetworkPolicy@v1": { + "$ref": "kubernetes/networking.k8s.io/v1/types.json#/65" + }, + "networking.k8s.io/ClusterCIDR@v1alpha1": { + "$ref": "kubernetes/networking.k8s.io/v1alpha1/types.json#/16" + }, + "node.k8s.io/RuntimeClass@v1": { + "$ref": "kubernetes/node.k8s.io/v1/types.json#/14" + }, + "policy/PodDisruptionBudget@v1": { + "$ref": "kubernetes/policy/v1/types.json#/18" + }, + "rbac.authorization.k8s.io/ClusterRoleBinding@v1": { + "$ref": "kubernetes/rbac.authorization.k8s.io/v1/types.json#/10" + }, + "rbac.authorization.k8s.io/ClusterRole@v1": { + "$ref": "kubernetes/rbac.authorization.k8s.io/v1/types.json#/31" + }, + "rbac.authorization.k8s.io/RoleBinding@v1": { + "$ref": "kubernetes/rbac.authorization.k8s.io/v1/types.json#/39" + }, + "rbac.authorization.k8s.io/Role@v1": { + "$ref": "kubernetes/rbac.authorization.k8s.io/v1/types.json#/47" + }, + "scheduling.k8s.io/PriorityClass@v1": { + "$ref": "kubernetes/scheduling.k8s.io/v1/types.json#/9" + }, + "storage.k8s.io/CSIDriver@v1": { + "$ref": "kubernetes/storage.k8s.io/v1/types.json#/13" + }, + "storage.k8s.io/CSINode@v1": { + "$ref": "kubernetes/storage.k8s.io/v1/types.json#/25" + }, + "storage.k8s.io/CSIStorageCapacity@v1": { + "$ref": "kubernetes/storage.k8s.io/v1/types.json#/37" + }, + "storage.k8s.io/StorageClass@v1": { + "$ref": "kubernetes/storage.k8s.io/v1/types.json#/51" + }, + "storage.k8s.io/VolumeAttachment@v1": { + "$ref": "kubernetes/storage.k8s.io/v1/types.json#/106" + }, + "storage.k8s.io/CSIStorageCapacity@v1beta1": { + "$ref": "kubernetes/storage.k8s.io/v1beta1/types.json#/12" + } + }, + "resourceFunctions": {} +} \ No newline at end of file diff --git a/generated/kubernetes/admissionregistration.k8s.io/v1/types.json b/generated/kubernetes/admissionregistration.k8s.io/v1/types.json index 1b3a721d..08c634bc 100644 --- a/generated/kubernetes/admissionregistration.k8s.io/v1/types.json +++ b/generated/kubernetes/admissionregistration.k8s.io/v1/types.json @@ -1 +1,587 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"MutatingWebhookConfiguration"}},{"6":{"Value":"admissionregistration.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiAdmissionregistrationV1MutatingWebhook","Properties":{"admissionReviewVersions":{"Type":14,"Flags":1,"Description":"AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy."},"clientConfig":{"Type":15,"Flags":1,"Description":"WebhookClientConfig contains the information to make a TLS connection with the webhook"},"failurePolicy":{"Type":4,"Flags":0,"Description":"FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail."},"matchPolicy":{"Type":4,"Flags":0,"Description":"matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\".\n\n- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.\n\n- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.\n\nDefaults to \"Equivalent\""},"name":{"Type":4,"Flags":1,"Description":"The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required."},"namespaceSelector":{"Type":17,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"objectSelector":{"Type":17,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"reinvocationPolicy":{"Type":4,"Flags":0,"Description":"reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\".\n\nNever: the webhook will not be called more than once in a single admission evaluation.\n\nIfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead.\n\nDefaults to \"Never\"."},"rules":{"Type":27,"Flags":0,"Description":"Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."},"sideEffects":{"Type":4,"Flags":1,"Description":"SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some."},"timeoutSeconds":{"Type":3,"Flags":0,"Description":"TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiAdmissionregistrationV1WebhookClientConfig","Properties":{"caBundle":{"Type":0,"Flags":0,"Description":"`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."},"service":{"Type":16,"Flags":0,"Description":"ServiceReference holds a reference to Service.legacy.k8s.io"},"url":{"Type":4,"Flags":0,"Description":"`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either."}}}},{"2":{"Name":"IoK8SApiAdmissionregistrationV1ServiceReference","Properties":{"name":{"Type":4,"Flags":1,"Description":"`name` is the name of the service. Required"},"namespace":{"Type":4,"Flags":1,"Description":"`namespace` is the namespace of the service. Required"},"path":{"Type":4,"Flags":0,"Description":"`path` is an optional URL path which will be sent in any request to this service."},"port":{"Type":3,"Flags":0,"Description":"If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelector","Properties":{"matchExpressions":{"Type":20,"Flags":0,"Description":"matchExpressions is a list of label selector requirements. The requirements are ANDed."},"matchLabels":{"Type":21,"Flags":0,"Description":"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."},"values":{"Type":19,"Flags":0,"Description":"values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":18}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiAdmissionregistrationV1RuleWithOperations","Properties":{"apiGroups":{"Type":23,"Flags":0,"Description":"APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required."},"apiVersions":{"Type":24,"Flags":0,"Description":"APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required."},"operations":{"Type":25,"Flags":0,"Description":"Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required."},"resources":{"Type":26,"Flags":0,"Description":"Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required."},"scope":{"Type":4,"Flags":0,"Description":"scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\"."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":22}},{"3":{"ItemType":13}},{"2":{"Name":"admissionregistration.k8s.io/MutatingWebhookConfiguration","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"webhooks":{"Type":28,"Flags":0,"Description":"Webhooks is a list of webhooks and the affected resources and operations."}}}},{"4":{"Name":"admissionregistration.k8s.io/MutatingWebhookConfiguration@v1","ScopeType":0,"Body":29,"Flags":0}},{"6":{"Value":"ValidatingWebhookConfiguration"}},{"6":{"Value":"admissionregistration.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":33,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":34,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiAdmissionregistrationV1ValidatingWebhook","Properties":{"admissionReviewVersions":{"Type":37,"Flags":1,"Description":"AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy."},"clientConfig":{"Type":15,"Flags":1,"Description":"WebhookClientConfig contains the information to make a TLS connection with the webhook"},"failurePolicy":{"Type":4,"Flags":0,"Description":"FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail."},"matchPolicy":{"Type":4,"Flags":0,"Description":"matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\".\n\n- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.\n\n- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.\n\nDefaults to \"Equivalent\""},"name":{"Type":4,"Flags":1,"Description":"The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required."},"namespaceSelector":{"Type":17,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"objectSelector":{"Type":17,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"rules":{"Type":38,"Flags":0,"Description":"Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."},"sideEffects":{"Type":4,"Flags":1,"Description":"SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some."},"timeoutSeconds":{"Type":3,"Flags":0,"Description":"TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":22}},{"3":{"ItemType":36}},{"2":{"Name":"admissionregistration.k8s.io/ValidatingWebhookConfiguration","Properties":{"kind":{"Type":31,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":32,"Flags":10,"Description":"The api version."},"metadata":{"Type":35,"Flags":1,"Description":"The resource metadata."},"webhooks":{"Type":39,"Flags":0,"Description":"Webhooks is a list of webhooks and the affected resources and operations."}}}},{"4":{"Name":"admissionregistration.k8s.io/ValidatingWebhookConfiguration@v1","ScopeType":0,"Body":40,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "MutatingWebhookConfiguration" + }, + { + "$type": "StringLiteralType", + "value": "admissionregistration.k8s.io/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAdmissionregistrationV1MutatingWebhook", + "properties": { + "admissionReviewVersions": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy." + }, + "clientConfig": { + "type": { + "$ref": "#/8" + }, + "flags": 1, + "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook" + }, + "failurePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail." + }, + "matchPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\".\n\n- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.\n\n- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.\n\nDefaults to \"Equivalent\"" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required." + }, + "namespaceSelector": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "objectSelector": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "reinvocationPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\".\n\nNever: the webhook will not be called more than once in a single admission evaluation.\n\nIfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead.\n\nDefaults to \"Never\"." + }, + "rules": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects." + }, + "sideEffects": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some." + }, + "timeoutSeconds": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAdmissionregistrationV1WebhookClientConfig", + "properties": { + "caBundle": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used." + }, + "service": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "ServiceReference holds a reference to Service.legacy.k8s.io" + }, + "url": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either." + } + } + }, + { + "$type": "AnyType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAdmissionregistrationV1ServiceReference", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "`name` is the name of the service. Required" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "`namespace` is the namespace of the service. Required" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "`path` is an optional URL path which will be sent in any request to this service." + }, + "port": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelector", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/15" + }, + "flags": 0, + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." + }, + "matchLabels": { + "type": { + "$ref": "#/16" + }, + "flags": 0, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/13" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAdmissionregistrationV1RuleWithOperations", + "properties": { + "apiGroups": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required." + }, + "apiVersions": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required." + }, + "operations": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required." + }, + "resources": { + "type": { + "$ref": "#/21" + }, + "flags": 0, + "description": "Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required." + }, + "scope": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\"." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/17" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/6" + } + }, + { + "$type": "ObjectType", + "name": "admissionregistration.k8s.io/MutatingWebhookConfiguration", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "webhooks": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Webhooks is a list of webhooks and the affected resources and operations." + } + } + }, + { + "$type": "ResourceType", + "name": "admissionregistration.k8s.io/MutatingWebhookConfiguration@v1", + "scopeType": 0, + "body": { + "$ref": "#/24" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "ValidatingWebhookConfiguration" + }, + { + "$type": "StringLiteralType", + "value": "admissionregistration.k8s.io/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/28" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAdmissionregistrationV1ValidatingWebhook", + "properties": { + "admissionReviewVersions": { + "type": { + "$ref": "#/32" + }, + "flags": 1, + "description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy." + }, + "clientConfig": { + "type": { + "$ref": "#/8" + }, + "flags": 1, + "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook" + }, + "failurePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail." + }, + "matchPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\".\n\n- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.\n\n- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.\n\nDefaults to \"Equivalent\"" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required." + }, + "namespaceSelector": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "objectSelector": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "rules": { + "type": { + "$ref": "#/33" + }, + "flags": 0, + "description": "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects." + }, + "sideEffects": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some." + }, + "timeoutSeconds": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/17" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/31" + } + }, + { + "$type": "ObjectType", + "name": "admissionregistration.k8s.io/ValidatingWebhookConfiguration", + "properties": { + "kind": { + "type": { + "$ref": "#/26" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/27" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/30" + }, + "flags": 1, + "description": "The resource metadata." + }, + "webhooks": { + "type": { + "$ref": "#/34" + }, + "flags": 0, + "description": "Webhooks is a list of webhooks and the affected resources and operations." + } + } + }, + { + "$type": "ResourceType", + "name": "admissionregistration.k8s.io/ValidatingWebhookConfiguration@v1", + "scopeType": 0, + "body": { + "$ref": "#/35" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/generated/kubernetes/apiextensions.k8s.io/v1/types.json b/generated/kubernetes/apiextensions.k8s.io/v1/types.json index 95b52feb..a8dbb13f 100644 --- a/generated/kubernetes/apiextensions.k8s.io/v1/types.json +++ b/generated/kubernetes/apiextensions.k8s.io/v1/types.json @@ -1 +1,998 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"CustomResourceDefinition"}},{"6":{"Value":"apiextensions.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec","Properties":{"conversion":{"Type":14,"Flags":0,"Description":"CustomResourceConversion describes how to convert different versions of a CR."},"group":{"Type":4,"Flags":1,"Description":"group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`)."},"names":{"Type":19,"Flags":1,"Description":"CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition"},"preserveUnknownFields":{"Type":2,"Flags":0,"Description":"preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details."},"scope":{"Type":4,"Flags":1,"Description":"scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`."},"versions":{"Type":42,"Flags":1,"Description":"versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. 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."}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion","Properties":{"strategy":{"Type":4,"Flags":1,"Description":"strategy specifies how custom resources are converted between versions. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information\n is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set."},"webhook":{"Type":15,"Flags":0,"Description":"WebhookConversion describes how to call a conversion webhook"}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion","Properties":{"clientConfig":{"Type":16,"Flags":0,"Description":"WebhookClientConfig contains the information to make a TLS connection with the webhook."},"conversionReviewVersions":{"Type":18,"Flags":1,"Description":"conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail."}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig","Properties":{"caBundle":{"Type":0,"Flags":0,"Description":"caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."},"service":{"Type":17,"Flags":0,"Description":"ServiceReference holds a reference to Service.legacy.k8s.io"},"url":{"Type":4,"Flags":0,"Description":"url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either."}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1ServiceReference","Properties":{"name":{"Type":4,"Flags":1,"Description":"name is the name of the service. Required"},"namespace":{"Type":4,"Flags":1,"Description":"namespace is the namespace of the service. Required"},"path":{"Type":4,"Flags":0,"Description":"path is an optional URL path at which the webhook will be contacted."},"port":{"Type":3,"Flags":0,"Description":"port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames","Properties":{"categories":{"Type":20,"Flags":0,"Description":"categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`."},"kind":{"Type":4,"Flags":1,"Description":"kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls."},"listKind":{"Type":4,"Flags":0,"Description":"listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\"."},"plural":{"Type":4,"Flags":1,"Description":"plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase."},"shortNames":{"Type":21,"Flags":0,"Description":"shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase."},"singular":{"Type":4,"Flags":0,"Description":"singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion","Properties":{"additionalPrinterColumns":{"Type":24,"Flags":0,"Description":"additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used."},"deprecated":{"Type":2,"Flags":0,"Description":"deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false."},"deprecationWarning":{"Type":4,"Flags":0,"Description":"deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists."},"name":{"Type":4,"Flags":1,"Description":"name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis///...` if `served` is true."},"schema":{"Type":25,"Flags":0,"Description":"CustomResourceValidation is a list of validation methods for CustomResources."},"served":{"Type":2,"Flags":1,"Description":"served is a flag enabling/disabling this version from being served via REST APIs"},"storage":{"Type":2,"Flags":1,"Description":"storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true."},"subresources":{"Type":40,"Flags":0,"Description":"CustomResourceSubresources defines the status and scale subresources for CustomResources."}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition","Properties":{"description":{"Type":4,"Flags":0,"Description":"description is a human readable description of this column."},"format":{"Type":4,"Flags":0,"Description":"format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."},"jsonPath":{"Type":4,"Flags":1,"Description":"jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column."},"name":{"Type":4,"Flags":1,"Description":"name is a human readable name for the column."},"priority":{"Type":3,"Flags":0,"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 priority greater than 0."},"type":{"Type":4,"Flags":1,"Description":"type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."}}}},{"3":{"ItemType":23}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation","Properties":{"openAPIV3Schema":{"Type":26,"Flags":0,"Description":"JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/)."}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1JsonSchemaProps","Properties":{"$ref":{"Type":4,"Flags":0},"$schema":{"Type":4,"Flags":0},"additionalItems":{"Type":0,"Flags":0,"Description":"Anything"},"additionalProperties":{"Type":0,"Flags":0,"Description":"Anything"},"allOf":{"Type":27,"Flags":0,"Description":"Array of io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps"},"anyOf":{"Type":28,"Flags":0,"Description":"Array of io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps"},"default":{"Type":0,"Flags":0,"Description":"Anything"},"definitions":{"Type":29,"Flags":0,"Description":"Dictionary of "},"dependencies":{"Type":30,"Flags":0,"Description":"Dictionary of "},"description":{"Type":4,"Flags":0},"enum":{"Type":31,"Flags":0,"Description":"Array of any"},"example":{"Type":0,"Flags":0,"Description":"Anything"},"exclusiveMaximum":{"Type":2,"Flags":0},"exclusiveMinimum":{"Type":2,"Flags":0},"externalDocs":{"Type":32,"Flags":0,"Description":"ExternalDocumentation allows referencing an external resource for extended documentation."},"format":{"Type":4,"Flags":0,"Description":"format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339."},"id":{"Type":4,"Flags":0},"items":{"Type":0,"Flags":0,"Description":"Anything"},"maxItems":{"Type":3,"Flags":0},"maxLength":{"Type":3,"Flags":0},"maxProperties":{"Type":3,"Flags":0},"maximum":{"Type":3,"Flags":0},"minItems":{"Type":3,"Flags":0},"minLength":{"Type":3,"Flags":0},"minProperties":{"Type":3,"Flags":0},"minimum":{"Type":3,"Flags":0},"multipleOf":{"Type":3,"Flags":0},"not":{"Type":26,"Flags":0,"Description":"JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/)."},"nullable":{"Type":2,"Flags":0},"oneOf":{"Type":33,"Flags":0,"Description":"Array of io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps"},"pattern":{"Type":4,"Flags":0},"patternProperties":{"Type":34,"Flags":0,"Description":"Dictionary of "},"properties":{"Type":35,"Flags":0,"Description":"Dictionary of "},"required":{"Type":36,"Flags":0,"Description":"Array of IoK8SApiextensionsApiserverPkgApisApiextensionsV1JsonSchemaPropsRequiredItem"},"title":{"Type":4,"Flags":0},"type":{"Type":4,"Flags":0},"uniqueItems":{"Type":2,"Flags":0},"x-kubernetes-embedded-resource":{"Type":2,"Flags":0,"Description":"x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata)."},"x-kubernetes-int-or-string":{"Type":2,"Flags":0,"Description":"x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:\n\n1) anyOf:\n - type: integer\n - type: string\n2) allOf:\n - anyOf:\n - type: integer\n - type: string\n - ... zero or more"},"x-kubernetes-list-map-keys":{"Type":37,"Flags":0,"Description":"x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.\n\nThis tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).\n\nThe properties specified must either be required or have a default value, to ensure those properties are present for all list items."},"x-kubernetes-list-type":{"Type":4,"Flags":0,"Description":"x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar, an object with x-kubernetes-map-type `atomic` or an\n array with x-kubernetes-list-type `atomic`.\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays."},"x-kubernetes-map-type":{"Type":4,"Flags":0,"Description":"x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:\n\n1) `granular`:\n These maps are actual maps (key-value pairs) and each fields are independent\n from each other (they can each be manipulated by separate actors). This is\n the default behaviour for all maps.\n2) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic maps will be entirely replaced when updated."},"x-kubernetes-preserve-unknown-fields":{"Type":2,"Flags":0,"Description":"x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden."},"x-kubernetes-validations":{"Type":39,"Flags":0,"Description":"x-kubernetes-validations describes a list of validation rules written in the CEL expression language. This field is an alpha-level. Using this field requires the feature gate `CustomResourceValidationExpressions` to be enabled."}}}},{"3":{"ItemType":26}},{"3":{"ItemType":26}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1JsonSchemaPropsDefinitions","Properties":{},"AdditionalProperties":26}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1JsonSchemaPropsDependencies","Properties":{},"AdditionalProperties":0}},{"3":{"ItemType":0}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation","Properties":{"description":{"Type":4,"Flags":0},"url":{"Type":4,"Flags":0}}}},{"3":{"ItemType":26}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1JsonSchemaPropsPatternProperties","Properties":{},"AdditionalProperties":26}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1JsonSchemaPropsProperties","Properties":{},"AdditionalProperties":26}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1ValidationRule","Properties":{"message":{"Type":4,"Flags":0,"Description":"Message represents the message displayed when validation fails. The message is required if the Rule contains line breaks. The message must not contain line breaks. If unset, the message is \"failed rule: {Rule}\". e.g. \"must be a URL with the host matching spec.host\""},"rule":{"Type":4,"Flags":1,"Description":"Rule represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec The Rule is scoped to the location of the x-kubernetes-validations extension in the schema. The `self` variable in the CEL expression is bound to the scoped value. Example: - Rule scoped to the root of a resource with a status subresource: {\"rule\": \"self.status.actual <= self.spec.maxDesired\"}\n\nIf the Rule is scoped to an object with properties, the accessible properties of the object are field selectable via `self.field` and field presence can be checked via `has(self.field)`. Null valued fields are treated as absent fields in CEL expressions. If the Rule is scoped to an object with additionalProperties (i.e. a map) the value of the map are accessible via `self[mapKey]`, map containment can be checked via `mapKey in self` and all entries of the map are accessible via CEL macros and functions such as `self.all(...)`. If the Rule is scoped to an array, the elements of the array are accessible via `self[i]` and also by macros and functions. If the Rule is scoped to a scalar, `self` is bound to the scalar value. Examples: - Rule scoped to a map of objects: {\"rule\": \"self.components['Widget'].priority < 10\"} - Rule scoped to a list of integers: {\"rule\": \"self.values.all(value, value >= 0 && value < 100)\"} - Rule scoped to a string value: {\"rule\": \"self.startsWith('kube')\"}\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object and from any x-kubernetes-embedded-resource annotated objects. No other metadata properties are accessible.\n\nUnknown data preserved in custom resources via x-kubernetes-preserve-unknown-fields is not accessible in CEL expressions. This includes: - Unknown field values that are preserved by object schemas with x-kubernetes-preserve-unknown-fields. - Object properties where the property schema is of an \"unknown type\". An \"unknown type\" is recursively defined as:\n - A schema with no type and x-kubernetes-preserve-unknown-fields set to true\n - An array where the items schema is of an \"unknown type\"\n - An object where the additionalProperties schema is of an \"unknown type\"\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:\n\t \"true\", \"false\", \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\", \"for\", \"function\", \"if\",\n\t \"import\", \"let\", \"loop\", \"package\", \"namespace\", \"return\".\nExamples:\n - Rule accessing a property named \"namespace\": {\"rule\": \"self.__namespace__ > 0\"}\n - Rule accessing a property named \"x-prop\": {\"rule\": \"self.x__dash__prop > 0\"}\n - Rule accessing a property named \"redact__d\": {\"rule\": \"self.redact__underscores__d > 0\"}\n\nEquality on arrays with x-kubernetes-list-type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:\n - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and\n non-intersecting elements in `Y` are appended, retaining their partial order.\n - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values\n are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with\n non-intersecting keys are appended, retaining their partial order."}}}},{"3":{"ItemType":38}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources","Properties":{"scale":{"Type":41,"Flags":0,"Description":"CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources."},"status":{"Type":0,"Flags":0,"Description":"Any object"}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale","Properties":{"labelSelectorPath":{"Type":4,"Flags":0,"Description":"labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string."},"specReplicasPath":{"Type":4,"Flags":1,"Description":"specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET."},"statusReplicasPath":{"Type":4,"Flags":1,"Description":"statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0."}}}},{"3":{"ItemType":22}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus","Properties":{"acceptedNames":{"Type":19,"Flags":0,"Description":"CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition"},"conditions":{"Type":45,"Flags":0,"Description":"conditions indicate state for particular aspects of a CustomResourceDefinition"},"storedVersions":{"Type":46,"Flags":0,"Description":"storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list."}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"message is a human-readable message indicating details about last transition."},"reason":{"Type":4,"Flags":0,"Description":"reason is a unique, one-word, CamelCase reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"status is the status of the condition. Can be True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"type is the type of the condition. Types include Established, NamesAccepted and Terminating."}}}},{"3":{"ItemType":44}},{"3":{"ItemType":4}},{"2":{"Name":"apiextensions.k8s.io/CustomResourceDefinition","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":1,"Description":"CustomResourceDefinitionSpec describes how a user wants their resource to appear"},"status":{"Type":43,"Flags":0,"Description":"CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition"}}}},{"4":{"Name":"apiextensions.k8s.io/CustomResourceDefinition@v1","ScopeType":0,"Body":47,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "CustomResourceDefinition" + }, + { + "$type": "StringLiteralType", + "value": "apiextensions.k8s.io/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec", + "properties": { + "conversion": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "CustomResourceConversion describes how to convert different versions of a CR." + }, + "group": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`)." + }, + "names": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition" + }, + "preserveUnknownFields": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details." + }, + "scope": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`." + }, + "versions": { + "type": { + "$ref": "#/38" + }, + "flags": 1, + "description": "versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. 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": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion", + "properties": { + "strategy": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "strategy specifies how custom resources are converted between versions. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information\n is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set." + }, + "webhook": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "WebhookConversion describes how to call a conversion webhook" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion", + "properties": { + "clientConfig": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook." + }, + "conversionReviewVersions": { + "type": { + "$ref": "#/13" + }, + "flags": 1, + "description": "conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig", + "properties": { + "caBundle": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used." + }, + "service": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "ServiceReference holds a reference to Service.legacy.k8s.io" + }, + "url": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either." + } + } + }, + { + "$type": "AnyType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1ServiceReference", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name is the name of the service. Required" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "namespace is the namespace of the service. Required" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "path is an optional URL path at which the webhook will be contacted." + }, + "port": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames", + "properties": { + "categories": { + "type": { + "$ref": "#/15" + }, + "flags": 0, + "description": "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls." + }, + "listKind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\"." + }, + "plural": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase." + }, + "shortNames": { + "type": { + "$ref": "#/16" + }, + "flags": 0, + "description": "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase." + }, + "singular": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "BooleanType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion", + "properties": { + "additionalPrinterColumns": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used." + }, + "deprecated": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false." + }, + "deprecationWarning": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis///...` if `served` is true." + }, + "schema": { + "type": { + "$ref": "#/21" + }, + "flags": 0, + "description": "CustomResourceValidation is a list of validation methods for CustomResources." + }, + "served": { + "type": { + "$ref": "#/17" + }, + "flags": 1, + "description": "served is a flag enabling/disabling this version from being served via REST APIs" + }, + "storage": { + "type": { + "$ref": "#/17" + }, + "flags": 1, + "description": "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true." + }, + "subresources": { + "type": { + "$ref": "#/36" + }, + "flags": 0, + "description": "CustomResourceSubresources defines the status and scale subresources for CustomResources." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition", + "properties": { + "description": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "description is a human readable description of this column." + }, + "format": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details." + }, + "jsonPath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name is a human readable name for the column." + }, + "priority": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "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 priority greater than 0." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/19" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation", + "properties": { + "openAPIV3Schema": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/)." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1JsonSchemaProps", + "properties": { + "$ref": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "$schema": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "additionalItems": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "Anything" + }, + "additionalProperties": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "Anything" + }, + "allOf": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Array of io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" + }, + "anyOf": { + "type": { + "$ref": "#/24" + }, + "flags": 0, + "description": "Array of io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" + }, + "default": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "Anything" + }, + "definitions": { + "type": { + "$ref": "#/25" + }, + "flags": 0, + "description": "Dictionary of " + }, + "dependencies": { + "type": { + "$ref": "#/26" + }, + "flags": 0, + "description": "Dictionary of " + }, + "description": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "enum": { + "type": { + "$ref": "#/27" + }, + "flags": 0, + "description": "Array of any" + }, + "example": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "Anything" + }, + "exclusiveMaximum": { + "type": { + "$ref": "#/17" + }, + "flags": 0 + }, + "exclusiveMinimum": { + "type": { + "$ref": "#/17" + }, + "flags": 0 + }, + "externalDocs": { + "type": { + "$ref": "#/28" + }, + "flags": 0, + "description": "ExternalDocumentation allows referencing an external resource for extended documentation." + }, + "format": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339." + }, + "id": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "items": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "Anything" + }, + "maxItems": { + "type": { + "$ref": "#/12" + }, + "flags": 0 + }, + "maxLength": { + "type": { + "$ref": "#/12" + }, + "flags": 0 + }, + "maxProperties": { + "type": { + "$ref": "#/12" + }, + "flags": 0 + }, + "maximum": { + "type": { + "$ref": "#/12" + }, + "flags": 0 + }, + "minItems": { + "type": { + "$ref": "#/12" + }, + "flags": 0 + }, + "minLength": { + "type": { + "$ref": "#/12" + }, + "flags": 0 + }, + "minProperties": { + "type": { + "$ref": "#/12" + }, + "flags": 0 + }, + "minimum": { + "type": { + "$ref": "#/12" + }, + "flags": 0 + }, + "multipleOf": { + "type": { + "$ref": "#/12" + }, + "flags": 0 + }, + "not": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/)." + }, + "nullable": { + "type": { + "$ref": "#/17" + }, + "flags": 0 + }, + "oneOf": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Array of io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" + }, + "pattern": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "patternProperties": { + "type": { + "$ref": "#/30" + }, + "flags": 0, + "description": "Dictionary of " + }, + "properties": { + "type": { + "$ref": "#/31" + }, + "flags": 0, + "description": "Dictionary of " + }, + "required": { + "type": { + "$ref": "#/32" + }, + "flags": 0, + "description": "Array of IoK8SApiextensionsApiserverPkgApisApiextensionsV1JsonSchemaPropsRequiredItem" + }, + "title": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "uniqueItems": { + "type": { + "$ref": "#/17" + }, + "flags": 0 + }, + "x-kubernetes-embedded-resource": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata)." + }, + "x-kubernetes-int-or-string": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:\n\n1) anyOf:\n - type: integer\n - type: string\n2) allOf:\n - anyOf:\n - type: integer\n - type: string\n - ... zero or more" + }, + "x-kubernetes-list-map-keys": { + "type": { + "$ref": "#/33" + }, + "flags": 0, + "description": "x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.\n\nThis tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).\n\nThe properties specified must either be required or have a default value, to ensure those properties are present for all list items." + }, + "x-kubernetes-list-type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar, an object with x-kubernetes-map-type `atomic` or an\n array with x-kubernetes-list-type `atomic`.\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays." + }, + "x-kubernetes-map-type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:\n\n1) `granular`:\n These maps are actual maps (key-value pairs) and each fields are independent\n from each other (they can each be manipulated by separate actors). This is\n the default behaviour for all maps.\n2) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic maps will be entirely replaced when updated." + }, + "x-kubernetes-preserve-unknown-fields": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden." + }, + "x-kubernetes-validations": { + "type": { + "$ref": "#/35" + }, + "flags": 0, + "description": "x-kubernetes-validations describes a list of validation rules written in the CEL expression language. This field is an alpha-level. Using this field requires the feature gate `CustomResourceValidationExpressions` to be enabled." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/22" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/22" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1JsonSchemaPropsDefinitions", + "properties": {}, + "additionalProperties": { + "$ref": "#/22" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1JsonSchemaPropsDependencies", + "properties": {}, + "additionalProperties": { + "$ref": "#/10" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/10" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation", + "properties": { + "description": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "url": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/22" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1JsonSchemaPropsPatternProperties", + "properties": {}, + "additionalProperties": { + "$ref": "#/22" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1JsonSchemaPropsProperties", + "properties": {}, + "additionalProperties": { + "$ref": "#/22" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1ValidationRule", + "properties": { + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Message represents the message displayed when validation fails. The message is required if the Rule contains line breaks. The message must not contain line breaks. If unset, the message is \"failed rule: {Rule}\". e.g. \"must be a URL with the host matching spec.host\"" + }, + "rule": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Rule represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec The Rule is scoped to the location of the x-kubernetes-validations extension in the schema. The `self` variable in the CEL expression is bound to the scoped value. Example: - Rule scoped to the root of a resource with a status subresource: {\"rule\": \"self.status.actual <= self.spec.maxDesired\"}\n\nIf the Rule is scoped to an object with properties, the accessible properties of the object are field selectable via `self.field` and field presence can be checked via `has(self.field)`. Null valued fields are treated as absent fields in CEL expressions. If the Rule is scoped to an object with additionalProperties (i.e. a map) the value of the map are accessible via `self[mapKey]`, map containment can be checked via `mapKey in self` and all entries of the map are accessible via CEL macros and functions such as `self.all(...)`. If the Rule is scoped to an array, the elements of the array are accessible via `self[i]` and also by macros and functions. If the Rule is scoped to a scalar, `self` is bound to the scalar value. Examples: - Rule scoped to a map of objects: {\"rule\": \"self.components['Widget'].priority < 10\"} - Rule scoped to a list of integers: {\"rule\": \"self.values.all(value, value >= 0 && value < 100)\"} - Rule scoped to a string value: {\"rule\": \"self.startsWith('kube')\"}\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object and from any x-kubernetes-embedded-resource annotated objects. No other metadata properties are accessible.\n\nUnknown data preserved in custom resources via x-kubernetes-preserve-unknown-fields is not accessible in CEL expressions. This includes: - Unknown field values that are preserved by object schemas with x-kubernetes-preserve-unknown-fields. - Object properties where the property schema is of an \"unknown type\". An \"unknown type\" is recursively defined as:\n - A schema with no type and x-kubernetes-preserve-unknown-fields set to true\n - An array where the items schema is of an \"unknown type\"\n - An object where the additionalProperties schema is of an \"unknown type\"\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:\n\t \"true\", \"false\", \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\", \"for\", \"function\", \"if\",\n\t \"import\", \"let\", \"loop\", \"package\", \"namespace\", \"return\".\nExamples:\n - Rule accessing a property named \"namespace\": {\"rule\": \"self.__namespace__ > 0\"}\n - Rule accessing a property named \"x-prop\": {\"rule\": \"self.x__dash__prop > 0\"}\n - Rule accessing a property named \"redact__d\": {\"rule\": \"self.redact__underscores__d > 0\"}\n\nEquality on arrays with x-kubernetes-list-type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:\n - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and\n non-intersecting elements in `Y` are appended, retaining their partial order.\n - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values\n are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with\n non-intersecting keys are appended, retaining their partial order." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/34" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources", + "properties": { + "scale": { + "type": { + "$ref": "#/37" + }, + "flags": 0, + "description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources." + }, + "status": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "Any object" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale", + "properties": { + "labelSelectorPath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string." + }, + "specReplicasPath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET." + }, + "statusReplicasPath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/18" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus", + "properties": { + "acceptedNames": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition" + }, + "conditions": { + "type": { + "$ref": "#/41" + }, + "flags": 0, + "description": "conditions indicate state for particular aspects of a CustomResourceDefinition" + }, + "storedVersions": { + "type": { + "$ref": "#/42" + }, + "flags": 0, + "description": "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "message is a human-readable message indicating details about last transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "reason is a unique, one-word, CamelCase reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "status is the status of the condition. Can be True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type is the type of the condition. Types include Established, NamesAccepted and Terminating." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/40" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "apiextensions.k8s.io/CustomResourceDefinition", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 1, + "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear" + }, + "status": { + "type": { + "$ref": "#/39" + }, + "flags": 0, + "description": "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition" + } + } + }, + { + "$type": "ResourceType", + "name": "apiextensions.k8s.io/CustomResourceDefinition@v1", + "scopeType": 0, + "body": { + "$ref": "#/43" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/generated/kubernetes/apiregistration.k8s.io/v1/types.json b/generated/kubernetes/apiregistration.k8s.io/v1/types.json index af277785..b6eb0193 100644 --- a/generated/kubernetes/apiregistration.k8s.io/v1/types.json +++ b/generated/kubernetes/apiregistration.k8s.io/v1/types.json @@ -1 +1,257 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"APIService"}},{"6":{"Value":"apiregistration.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SKubeAggregatorPkgApisApiregistrationV1APIServiceSpec","Properties":{"caBundle":{"Type":0,"Flags":0,"Description":"CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used."},"group":{"Type":4,"Flags":0,"Description":"Group is the API group name this server hosts"},"groupPriorityMinimum":{"Type":3,"Flags":1,"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"},"insecureSkipTLSVerify":{"Type":2,"Flags":0,"Description":"InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead."},"service":{"Type":14,"Flags":0,"Description":"ServiceReference holds a reference to Service.legacy.k8s.io"},"version":{"Type":4,"Flags":0,"Description":"Version is the API version this server hosts. For example, \"v1\""},"versionPriority":{"Type":3,"Flags":1,"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."}}}},{"2":{"Name":"IoK8SKubeAggregatorPkgApisApiregistrationV1ServiceReference","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name is the name of the service"},"namespace":{"Type":4,"Flags":0,"Description":"Namespace is the namespace of the service"},"port":{"Type":3,"Flags":0,"Description":"If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."}}}},{"2":{"Name":"IoK8SKubeAggregatorPkgApisApiregistrationV1APIServiceStatus","Properties":{"conditions":{"Type":17,"Flags":0,"Description":"Current service state of apiService."}}}},{"2":{"Name":"IoK8SKubeAggregatorPkgApisApiregistrationV1APIServiceCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"Human-readable message indicating details about last transition."},"reason":{"Type":4,"Flags":0,"Description":"Unique, one-word, CamelCase reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"Status is the status of the condition. Can be True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"Type is the type of the condition."}}}},{"3":{"ItemType":16}},{"2":{"Name":"apiregistration.k8s.io/APIService","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":0,"Description":"APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification."},"status":{"Type":15,"Flags":0,"Description":"APIServiceStatus contains derived information about an API server"}}}},{"4":{"Name":"apiregistration.k8s.io/APIService@v1","ScopeType":0,"Body":18,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "APIService" + }, + { + "$type": "StringLiteralType", + "value": "apiregistration.k8s.io/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SKubeAggregatorPkgApisApiregistrationV1APIServiceSpec", + "properties": { + "caBundle": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used." + }, + "group": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Group is the API group name this server hosts" + }, + "groupPriorityMinimum": { + "type": { + "$ref": "#/8" + }, + "flags": 1, + "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" + }, + "insecureSkipTLSVerify": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead." + }, + "service": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "ServiceReference holds a reference to Service.legacy.k8s.io" + }, + "version": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Version is the API version this server hosts. For example, \"v1\"" + }, + "versionPriority": { + "type": { + "$ref": "#/8" + }, + "flags": 1, + "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": "AnyType" + }, + { + "$type": "IntegerType" + }, + { + "$type": "BooleanType" + }, + { + "$type": "ObjectType", + "name": "IoK8SKubeAggregatorPkgApisApiregistrationV1ServiceReference", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name is the name of the service" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace is the namespace of the service" + }, + "port": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SKubeAggregatorPkgApisApiregistrationV1APIServiceStatus", + "properties": { + "conditions": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "Current service state of apiService." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SKubeAggregatorPkgApisApiregistrationV1APIServiceCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Human-readable message indicating details about last transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Unique, one-word, CamelCase reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Status is the status of the condition. Can be True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type is the type of the condition." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/12" + } + }, + { + "$type": "ObjectType", + "name": "apiregistration.k8s.io/APIService", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification." + }, + "status": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "APIServiceStatus contains derived information about an API server" + } + } + }, + { + "$type": "ResourceType", + "name": "apiregistration.k8s.io/APIService@v1", + "scopeType": 0, + "body": { + "$ref": "#/14" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/generated/kubernetes/apps/v1/types.json b/generated/kubernetes/apps/v1/types.json index f7e0ab4a..6da2fce3 100644 --- a/generated/kubernetes/apps/v1/types.json +++ b/generated/kubernetes/apps/v1/types.json @@ -1 +1,5695 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"ControllerRevision"}},{"6":{"Value":"apps/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"apps/ControllerRevision","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"data":{"Type":0,"Flags":0,"Description":"Any object"},"revision":{"Type":3,"Flags":1,"Description":"Revision indicates the revision of the state represented by Data."}}}},{"4":{"Name":"apps/ControllerRevision@v1","ScopeType":0,"Body":13,"Flags":0}},{"6":{"Value":"DaemonSet"}},{"6":{"Value":"apps/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":17,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":18,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiAppsV1DaemonSetSpec","Properties":{"minReadySeconds":{"Type":3,"Flags":0,"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)."},"revisionHistoryLimit":{"Type":3,"Flags":0,"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."},"selector":{"Type":21,"Flags":1,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"template":{"Type":26,"Flags":1,"Description":"PodTemplateSpec describes the data a pod should have when created from a template"},"updateStrategy":{"Type":187,"Flags":0,"Description":"DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelector","Properties":{"matchExpressions":{"Type":24,"Flags":0,"Description":"matchExpressions is a list of label selector requirements. The requirements are ANDed."},"matchLabels":{"Type":25,"Flags":0,"Description":"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."},"values":{"Type":23,"Flags":0,"Description":"values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":22}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PodTemplateSpec","Properties":{"metadata":{"Type":27,"Flags":0,"Description":"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."},"spec":{"Type":35,"Flags":0,"Description":"PodSpec is a description of a pod."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ObjectMeta","Properties":{"annotations":{"Type":28,"Flags":0,"Description":"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"},"creationTimestamp":{"Type":4,"Flags":0,"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."},"deletionGracePeriodSeconds":{"Type":3,"Flags":0,"Description":"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."},"deletionTimestamp":{"Type":4,"Flags":0,"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."},"finalizers":{"Type":29,"Flags":0,"Description":"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."},"generateName":{"Type":4,"Flags":0,"Description":"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will return a 409.\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency"},"generation":{"Type":3,"Flags":0,"Description":"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."},"labels":{"Type":30,"Flags":0,"Description":"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"},"managedFields":{"Type":32,"Flags":0,"Description":"ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object."},"name":{"Type":4,"Flags":0,"Description":"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"},"namespace":{"Type":4,"Flags":0,"Description":"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces"},"ownerReferences":{"Type":34,"Flags":0,"Description":"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."},"resourceVersion":{"Type":4,"Flags":0,"Description":"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"},"selfLink":{"Type":4,"Flags":0,"Description":"Deprecated: selfLink is a legacy read-only field that is no longer populated by the system."},"uid":{"Type":4,"Flags":0,"Description":"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ObjectMetaAnnotations","Properties":{},"AdditionalProperties":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ObjectMetaLabels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ManagedFieldsEntry","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted."},"fieldsType":{"Type":4,"Flags":0,"Description":"FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\""},"fieldsV1":{"Type":0,"Flags":0,"Description":"Any object"},"manager":{"Type":4,"Flags":0,"Description":"Manager is an identifier of the workflow managing these fields."},"operation":{"Type":4,"Flags":0,"Description":"Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'."},"subresource":{"Type":4,"Flags":0,"Description":"Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource."},"time":{"Type":4,"Flags":0,"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."}}}},{"3":{"ItemType":31}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1OwnerReference","Properties":{"apiVersion":{"Type":4,"Flags":1,"Description":"API version of the referent."},"blockOwnerDeletion":{"Type":2,"Flags":0,"Description":"If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned."},"controller":{"Type":2,"Flags":0,"Description":"If true, this reference points to the managing controller."},"kind":{"Type":4,"Flags":1,"Description":"Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"},"name":{"Type":4,"Flags":1,"Description":"Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names"},"uid":{"Type":4,"Flags":1,"Description":"UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"}}}},{"3":{"ItemType":33}},{"2":{"Name":"IoK8SApiCoreV1PodSpec","Properties":{"activeDeadlineSeconds":{"Type":3,"Flags":0,"Description":"Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer."},"affinity":{"Type":36,"Flags":0,"Description":"Affinity is a group of affinity scheduling rules."},"automountServiceAccountToken":{"Type":2,"Flags":0,"Description":"AutomountServiceAccountToken indicates whether a service account token should be automatically mounted."},"containers":{"Type":96,"Flags":1,"Description":"List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated."},"dnsConfig":{"Type":97,"Flags":0,"Description":"PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy."},"dnsPolicy":{"Type":4,"Flags":0,"Description":"Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'."},"enableServiceLinks":{"Type":2,"Flags":0,"Description":"EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true."},"ephemeralContainers":{"Type":110,"Flags":0,"Description":"List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource."},"hostAliases":{"Type":113,"Flags":0,"Description":"HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods."},"hostIPC":{"Type":2,"Flags":0,"Description":"Use the host's ipc namespace. Optional: Default to false."},"hostNetwork":{"Type":2,"Flags":0,"Description":"Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false."},"hostPID":{"Type":2,"Flags":0,"Description":"Use the host's pid namespace. Optional: Default to false."},"hostUsers":{"Type":2,"Flags":0,"Description":"Use the host's user namespace. Optional: Default to true. If set to true or not present, the pod will be run in the host user namespace, useful for when the pod needs a feature only available to the host user namespace, such as loading a kernel module with CAP_SYS_MODULE. When set to false, a new userns is created for the pod. Setting false is useful for mitigating container breakout vulnerabilities even allowing users to run their containers as root without actually having root privileges on the host. This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature."},"hostname":{"Type":4,"Flags":0,"Description":"Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value."},"imagePullSecrets":{"Type":115,"Flags":0,"Description":"ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod"},"initContainers":{"Type":116,"Flags":0,"Description":"List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/"},"nodeName":{"Type":4,"Flags":0,"Description":"NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements."},"nodeSelector":{"Type":117,"Flags":0,"Description":"NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/"},"os":{"Type":118,"Flags":0,"Description":"PodOS defines the OS parameters of a pod."},"overhead":{"Type":119,"Flags":0,"Description":"Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md"},"preemptionPolicy":{"Type":4,"Flags":0,"Description":"PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset."},"priority":{"Type":3,"Flags":0,"Description":"The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority."},"priorityClassName":{"Type":4,"Flags":0,"Description":"If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default."},"readinessGates":{"Type":121,"Flags":0,"Description":"If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/580-pod-readiness-gates"},"restartPolicy":{"Type":4,"Flags":0,"Description":"Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy"},"runtimeClassName":{"Type":4,"Flags":0,"Description":"RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class"},"schedulerName":{"Type":4,"Flags":0,"Description":"If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler."},"securityContext":{"Type":122,"Flags":0,"Description":"PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext."},"serviceAccount":{"Type":4,"Flags":0,"Description":"DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead."},"serviceAccountName":{"Type":4,"Flags":0,"Description":"ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/"},"setHostnameAsFQDN":{"Type":2,"Flags":0,"Description":"If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false."},"shareProcessNamespace":{"Type":2,"Flags":0,"Description":"Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false."},"subdomain":{"Type":4,"Flags":0,"Description":"If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all."},"terminationGracePeriodSeconds":{"Type":3,"Flags":0,"Description":"Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds."},"tolerations":{"Type":127,"Flags":0,"Description":"If specified, the pod's tolerations."},"topologySpreadConstraints":{"Type":130,"Flags":0,"Description":"TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed."},"volumes":{"Type":186,"Flags":0,"Description":"List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes"}}}},{"2":{"Name":"IoK8SApiCoreV1Affinity","Properties":{"nodeAffinity":{"Type":37,"Flags":0,"Description":"Node affinity is a group of node affinity scheduling rules."},"podAffinity":{"Type":47,"Flags":0,"Description":"Pod affinity is a group of inter pod affinity scheduling rules."},"podAntiAffinity":{"Type":53,"Flags":0,"Description":"Pod anti affinity is a group of inter pod anti affinity scheduling rules."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeAffinity","Properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"Type":44,"Flags":0,"Description":"The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred."},"requiredDuringSchedulingIgnoredDuringExecution":{"Type":45,"Flags":0,"Description":"A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms."}}}},{"2":{"Name":"IoK8SApiCoreV1PreferredSchedulingTerm","Properties":{"preference":{"Type":39,"Flags":1,"Description":"A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm."},"weight":{"Type":3,"Flags":1,"Description":"Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelectorTerm","Properties":{"matchExpressions":{"Type":42,"Flags":0,"Description":"A list of node selector requirements by node's labels."},"matchFields":{"Type":43,"Flags":0,"Description":"A list of node selector requirements by node's fields."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"The label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."},"values":{"Type":41,"Flags":0,"Description":"An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":40}},{"3":{"ItemType":40}},{"3":{"ItemType":38}},{"2":{"Name":"IoK8SApiCoreV1NodeSelector","Properties":{"nodeSelectorTerms":{"Type":46,"Flags":1,"Description":"Required. A list of node selector terms. The terms are ORed."}}}},{"3":{"ItemType":39}},{"2":{"Name":"IoK8SApiCoreV1PodAffinity","Properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"Type":51,"Flags":0,"Description":"The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred."},"requiredDuringSchedulingIgnoredDuringExecution":{"Type":52,"Flags":0,"Description":"If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."}}}},{"2":{"Name":"IoK8SApiCoreV1WeightedPodAffinityTerm","Properties":{"podAffinityTerm":{"Type":49,"Flags":1,"Description":"Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running"},"weight":{"Type":3,"Flags":1,"Description":"weight associated with matching the corresponding podAffinityTerm, in the range 1-100."}}}},{"2":{"Name":"IoK8SApiCoreV1PodAffinityTerm","Properties":{"labelSelector":{"Type":21,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"namespaceSelector":{"Type":21,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"namespaces":{"Type":50,"Flags":0,"Description":"namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\"."},"topologyKey":{"Type":4,"Flags":1,"Description":"This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":48}},{"3":{"ItemType":49}},{"2":{"Name":"IoK8SApiCoreV1PodAntiAffinity","Properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"Type":54,"Flags":0,"Description":"The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred."},"requiredDuringSchedulingIgnoredDuringExecution":{"Type":55,"Flags":0,"Description":"If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."}}}},{"3":{"ItemType":48}},{"3":{"ItemType":49}},{"2":{"Name":"IoK8SApiCoreV1Container","Properties":{"args":{"Type":57,"Flags":0,"Description":"Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"command":{"Type":58,"Flags":0,"Description":"Entrypoint array. Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"env":{"Type":65,"Flags":0,"Description":"List of environment variables to set in the container. Cannot be updated."},"envFrom":{"Type":69,"Flags":0,"Description":"List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."},"image":{"Type":4,"Flags":0,"Description":"Container image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets."},"imagePullPolicy":{"Type":4,"Flags":0,"Description":"Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"},"lifecycle":{"Type":70,"Flags":0,"Description":"Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted."},"livenessProbe":{"Type":78,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"name":{"Type":4,"Flags":1,"Description":"Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated."},"ports":{"Type":81,"Flags":0,"Description":"List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated."},"readinessProbe":{"Type":78,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"resources":{"Type":82,"Flags":0,"Description":"ResourceRequirements describes the compute resource requirements."},"securityContext":{"Type":85,"Flags":0,"Description":"SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence."},"startupProbe":{"Type":78,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"stdin":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."},"stdinOnce":{"Type":2,"Flags":0,"Description":"Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"},"terminationMessagePath":{"Type":4,"Flags":0,"Description":"Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."},"terminationMessagePolicy":{"Type":4,"Flags":0,"Description":"Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."},"tty":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."},"volumeDevices":{"Type":93,"Flags":0,"Description":"volumeDevices is the list of block devices to be used by the container."},"volumeMounts":{"Type":95,"Flags":0,"Description":"Pod volumes to mount into the container's filesystem. Cannot be updated."},"workingDir":{"Type":4,"Flags":0,"Description":"Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1EnvVar","Properties":{"name":{"Type":4,"Flags":1,"Description":"Name of the environment variable. Must be a C_IDENTIFIER."},"value":{"Type":4,"Flags":0,"Description":"Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\"."},"valueFrom":{"Type":60,"Flags":0,"Description":"EnvVarSource represents a source for the value of an EnvVar."}}}},{"2":{"Name":"IoK8SApiCoreV1EnvVarSource","Properties":{"configMapKeyRef":{"Type":61,"Flags":0,"Description":"Selects a key from a ConfigMap."},"fieldRef":{"Type":62,"Flags":0,"Description":"ObjectFieldSelector selects an APIVersioned field of an object."},"resourceFieldRef":{"Type":63,"Flags":0,"Description":"ResourceFieldSelector represents container resources (cpu, memory) and their output format"},"secretKeyRef":{"Type":64,"Flags":0,"Description":"SecretKeySelector selects a key of a Secret."}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapKeySelector","Properties":{"key":{"Type":4,"Flags":1,"Description":"The key to select."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the ConfigMap or its key must be defined"}}}},{"2":{"Name":"IoK8SApiCoreV1ObjectFieldSelector","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"Version of the schema the FieldPath is written in terms of, defaults to \"v1\"."},"fieldPath":{"Type":4,"Flags":1,"Description":"Path of the field to select in the specified API version."}}}},{"2":{"Name":"IoK8SApiCoreV1ResourceFieldSelector","Properties":{"containerName":{"Type":4,"Flags":0,"Description":"Container name: required for volumes, optional for env vars"},"divisor":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."},"resource":{"Type":4,"Flags":1,"Description":"Required: resource to select"}}}},{"2":{"Name":"IoK8SApiCoreV1SecretKeySelector","Properties":{"key":{"Type":4,"Flags":1,"Description":"The key of the secret to select from. Must be a valid secret key."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the Secret or its key must be defined"}}}},{"3":{"ItemType":59}},{"2":{"Name":"IoK8SApiCoreV1EnvFromSource","Properties":{"configMapRef":{"Type":67,"Flags":0,"Description":"ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables."},"prefix":{"Type":4,"Flags":0,"Description":"An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER."},"secretRef":{"Type":68,"Flags":0,"Description":"SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables."}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapEnvSource","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the ConfigMap must be defined"}}}},{"2":{"Name":"IoK8SApiCoreV1SecretEnvSource","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the Secret must be defined"}}}},{"3":{"ItemType":66}},{"2":{"Name":"IoK8SApiCoreV1Lifecycle","Properties":{"postStart":{"Type":71,"Flags":0,"Description":"LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified."},"preStop":{"Type":71,"Flags":0,"Description":"LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified."}}}},{"2":{"Name":"IoK8SApiCoreV1LifecycleHandler","Properties":{"exec":{"Type":72,"Flags":0,"Description":"ExecAction describes a \"run in container\" action."},"httpGet":{"Type":74,"Flags":0,"Description":"HTTPGetAction describes an action based on HTTP Get requests."},"tcpSocket":{"Type":77,"Flags":0,"Description":"TCPSocketAction describes an action based on opening a socket"}}}},{"2":{"Name":"IoK8SApiCoreV1ExecAction","Properties":{"command":{"Type":73,"Flags":0,"Description":"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1HttpGetAction","Properties":{"host":{"Type":4,"Flags":0,"Description":"Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead."},"httpHeaders":{"Type":76,"Flags":0,"Description":"Custom headers to set in the request. HTTP allows repeated headers."},"path":{"Type":4,"Flags":0,"Description":"Path to access on the HTTP server."},"port":{"Type":4,"Flags":1,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."},"scheme":{"Type":4,"Flags":0,"Description":"Scheme to use for connecting to the host. Defaults to HTTP."}}}},{"2":{"Name":"IoK8SApiCoreV1HttpHeader","Properties":{"name":{"Type":4,"Flags":1,"Description":"The header field name"},"value":{"Type":4,"Flags":1,"Description":"The header field value"}}}},{"3":{"ItemType":75}},{"2":{"Name":"IoK8SApiCoreV1TCPSocketAction","Properties":{"host":{"Type":4,"Flags":0,"Description":"Optional: Host name to connect to, defaults to the pod IP."},"port":{"Type":4,"Flags":1,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."}}}},{"2":{"Name":"IoK8SApiCoreV1Probe","Properties":{"exec":{"Type":72,"Flags":0,"Description":"ExecAction describes a \"run in container\" action."},"failureThreshold":{"Type":3,"Flags":0,"Description":"Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1."},"grpc":{"Type":79,"Flags":0},"httpGet":{"Type":74,"Flags":0,"Description":"HTTPGetAction describes an action based on HTTP Get requests."},"initialDelaySeconds":{"Type":3,"Flags":0,"Description":"Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"},"periodSeconds":{"Type":3,"Flags":0,"Description":"How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."},"successThreshold":{"Type":3,"Flags":0,"Description":"Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1."},"tcpSocket":{"Type":77,"Flags":0,"Description":"TCPSocketAction describes an action based on opening a socket"},"terminationGracePeriodSeconds":{"Type":3,"Flags":0,"Description":"Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset."},"timeoutSeconds":{"Type":3,"Flags":0,"Description":"Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}}}},{"2":{"Name":"IoK8SApiCoreV1GrpcAction","Properties":{"port":{"Type":3,"Flags":1,"Description":"Port number of the gRPC service. Number must be in the range 1 to 65535."},"service":{"Type":4,"Flags":0,"Description":"Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC."}}}},{"2":{"Name":"IoK8SApiCoreV1ContainerPort","Properties":{"containerPort":{"Type":3,"Flags":1,"Description":"Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536."},"hostIP":{"Type":4,"Flags":0,"Description":"What host IP to bind the external port to."},"hostPort":{"Type":3,"Flags":0,"Description":"Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this."},"name":{"Type":4,"Flags":0,"Description":"If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services."},"protocol":{"Type":4,"Flags":0,"Description":"Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\"."}}}},{"3":{"ItemType":80}},{"2":{"Name":"IoK8SApiCoreV1ResourceRequirements","Properties":{"limits":{"Type":83,"Flags":0,"Description":"Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"},"requests":{"Type":84,"Flags":0,"Description":"Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"}}}},{"2":{"Name":"IoK8SApiCoreV1ResourceRequirementsLimits","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1ResourceRequirementsRequests","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1SecurityContext","Properties":{"allowPrivilegeEscalation":{"Type":2,"Flags":0,"Description":"AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows."},"capabilities":{"Type":86,"Flags":0,"Description":"Adds and removes POSIX capabilities from running containers."},"privileged":{"Type":2,"Flags":0,"Description":"Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows."},"procMount":{"Type":4,"Flags":0,"Description":"procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows."},"readOnlyRootFilesystem":{"Type":2,"Flags":0,"Description":"Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows."},"runAsGroup":{"Type":3,"Flags":0,"Description":"The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows."},"runAsNonRoot":{"Type":2,"Flags":0,"Description":"Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."},"runAsUser":{"Type":3,"Flags":0,"Description":"The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows."},"seLinuxOptions":{"Type":89,"Flags":0,"Description":"SELinuxOptions are the labels to be applied to the container"},"seccompProfile":{"Type":90,"Flags":0,"Description":"SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set."},"windowsOptions":{"Type":91,"Flags":0,"Description":"WindowsSecurityContextOptions contain Windows-specific options and credentials."}}}},{"2":{"Name":"IoK8SApiCoreV1Capabilities","Properties":{"add":{"Type":87,"Flags":0,"Description":"Added capabilities"},"drop":{"Type":88,"Flags":0,"Description":"Removed capabilities"}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1SELinuxOptions","Properties":{"level":{"Type":4,"Flags":0,"Description":"Level is SELinux level label that applies to the container."},"role":{"Type":4,"Flags":0,"Description":"Role is a SELinux role label that applies to the container."},"type":{"Type":4,"Flags":0,"Description":"Type is a SELinux type label that applies to the container."},"user":{"Type":4,"Flags":0,"Description":"User is a SELinux user label that applies to the container."}}}},{"2":{"Name":"IoK8SApiCoreV1SeccompProfile","Properties":{"localhostProfile":{"Type":4,"Flags":0,"Description":"localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is \"Localhost\"."},"type":{"Type":4,"Flags":1,"Description":"type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied."}}}},{"2":{"Name":"IoK8SApiCoreV1WindowsSecurityContextOptions","Properties":{"gmsaCredentialSpec":{"Type":4,"Flags":0,"Description":"GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field."},"gmsaCredentialSpecName":{"Type":4,"Flags":0,"Description":"GMSACredentialSpecName is the name of the GMSA credential spec to use."},"hostProcess":{"Type":2,"Flags":0,"Description":"HostProcess determines if a container should be run as a 'Host Process' container. This field is alpha-level and will only be honored by components that enable the WindowsHostProcessContainers feature flag. Setting this field without the feature flag will result in errors when validating the Pod. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true."},"runAsUserName":{"Type":4,"Flags":0,"Description":"The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."}}}},{"2":{"Name":"IoK8SApiCoreV1VolumeDevice","Properties":{"devicePath":{"Type":4,"Flags":1,"Description":"devicePath is the path inside of the container that the device will be mapped to."},"name":{"Type":4,"Flags":1,"Description":"name must match the name of a persistentVolumeClaim in the pod"}}}},{"3":{"ItemType":92}},{"2":{"Name":"IoK8SApiCoreV1VolumeMount","Properties":{"mountPath":{"Type":4,"Flags":1,"Description":"Path within the container at which the volume should be mounted. Must not contain ':'."},"mountPropagation":{"Type":4,"Flags":0,"Description":"mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10."},"name":{"Type":4,"Flags":1,"Description":"This must match the Name of a Volume."},"readOnly":{"Type":2,"Flags":0,"Description":"Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false."},"subPath":{"Type":4,"Flags":0,"Description":"Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root)."},"subPathExpr":{"Type":4,"Flags":0,"Description":"Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive."}}}},{"3":{"ItemType":94}},{"3":{"ItemType":56}},{"2":{"Name":"IoK8SApiCoreV1PodDNSConfig","Properties":{"nameservers":{"Type":98,"Flags":0,"Description":"A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed."},"options":{"Type":100,"Flags":0,"Description":"A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy."},"searches":{"Type":101,"Flags":0,"Description":"A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1PodDNSConfigOption","Properties":{"name":{"Type":4,"Flags":0,"Description":"Required."},"value":{"Type":4,"Flags":0}}}},{"3":{"ItemType":99}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1EphemeralContainer","Properties":{"args":{"Type":103,"Flags":0,"Description":"Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"command":{"Type":104,"Flags":0,"Description":"Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"env":{"Type":105,"Flags":0,"Description":"List of environment variables to set in the container. Cannot be updated."},"envFrom":{"Type":106,"Flags":0,"Description":"List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."},"image":{"Type":4,"Flags":0,"Description":"Container image name. More info: https://kubernetes.io/docs/concepts/containers/images"},"imagePullPolicy":{"Type":4,"Flags":0,"Description":"Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"},"lifecycle":{"Type":70,"Flags":0,"Description":"Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted."},"livenessProbe":{"Type":78,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"name":{"Type":4,"Flags":1,"Description":"Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers."},"ports":{"Type":107,"Flags":0,"Description":"Ports are not allowed for ephemeral containers."},"readinessProbe":{"Type":78,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"resources":{"Type":82,"Flags":0,"Description":"ResourceRequirements describes the compute resource requirements."},"securityContext":{"Type":85,"Flags":0,"Description":"SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence."},"startupProbe":{"Type":78,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"stdin":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."},"stdinOnce":{"Type":2,"Flags":0,"Description":"Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"},"targetContainerName":{"Type":4,"Flags":0,"Description":"If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container uses the namespaces configured in the Pod spec.\n\nThe container runtime must implement support for this feature. If the runtime does not support namespace targeting then the result of setting this field is undefined."},"terminationMessagePath":{"Type":4,"Flags":0,"Description":"Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."},"terminationMessagePolicy":{"Type":4,"Flags":0,"Description":"Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."},"tty":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."},"volumeDevices":{"Type":108,"Flags":0,"Description":"volumeDevices is the list of block devices to be used by the container."},"volumeMounts":{"Type":109,"Flags":0,"Description":"Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated."},"workingDir":{"Type":4,"Flags":0,"Description":"Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":59}},{"3":{"ItemType":66}},{"3":{"ItemType":80}},{"3":{"ItemType":92}},{"3":{"ItemType":94}},{"3":{"ItemType":102}},{"2":{"Name":"IoK8SApiCoreV1HostAlias","Properties":{"hostnames":{"Type":112,"Flags":0,"Description":"Hostnames for the above IP address."},"ip":{"Type":4,"Flags":0,"Description":"IP address of the host file entry."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":111}},{"2":{"Name":"IoK8SApiCoreV1LocalObjectReference","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}}}},{"3":{"ItemType":114}},{"3":{"ItemType":56}},{"2":{"Name":"IoK8SApiCoreV1PodSpecNodeSelector","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PodOS","Properties":{"name":{"Type":4,"Flags":1,"Description":"Name is the name of the operating system. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null"}}}},{"2":{"Name":"IoK8SApiCoreV1PodSpecOverhead","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PodReadinessGate","Properties":{"conditionType":{"Type":4,"Flags":1,"Description":"ConditionType refers to a condition in the pod's condition list with matching type."}}}},{"3":{"ItemType":120}},{"2":{"Name":"IoK8SApiCoreV1PodSecurityContext","Properties":{"fsGroup":{"Type":3,"Flags":0,"Description":"A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name is windows."},"fsGroupChangePolicy":{"Type":4,"Flags":0,"Description":"fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used. Note that this field cannot be set when spec.os.name is windows."},"runAsGroup":{"Type":3,"Flags":0,"Description":"The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows."},"runAsNonRoot":{"Type":2,"Flags":0,"Description":"Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."},"runAsUser":{"Type":3,"Flags":0,"Description":"The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows."},"seLinuxOptions":{"Type":89,"Flags":0,"Description":"SELinuxOptions are the labels to be applied to the container"},"seccompProfile":{"Type":90,"Flags":0,"Description":"SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set."},"supplementalGroups":{"Type":123,"Flags":0,"Description":"A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container. Note that this field cannot be set when spec.os.name is windows."},"sysctls":{"Type":125,"Flags":0,"Description":"Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows."},"windowsOptions":{"Type":91,"Flags":0,"Description":"WindowsSecurityContextOptions contain Windows-specific options and credentials."}}}},{"3":{"ItemType":3}},{"2":{"Name":"IoK8SApiCoreV1Sysctl","Properties":{"name":{"Type":4,"Flags":1,"Description":"Name of a property to set"},"value":{"Type":4,"Flags":1,"Description":"Value of a property to set"}}}},{"3":{"ItemType":124}},{"2":{"Name":"IoK8SApiCoreV1Toleration","Properties":{"effect":{"Type":4,"Flags":0,"Description":"Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute."},"key":{"Type":4,"Flags":0,"Description":"Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys."},"operator":{"Type":4,"Flags":0,"Description":"Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category."},"tolerationSeconds":{"Type":3,"Flags":0,"Description":"TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system."},"value":{"Type":4,"Flags":0,"Description":"Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string."}}}},{"3":{"ItemType":126}},{"2":{"Name":"IoK8SApiCoreV1TopologySpreadConstraint","Properties":{"labelSelector":{"Type":21,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"matchLabelKeys":{"Type":129,"Flags":0,"Description":"MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector."},"maxSkew":{"Type":3,"Flags":1,"Description":"MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. The global minimum is the minimum number of matching pods in an eligible domain or zero if the number of eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | | P P | P P | P | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed."},"minDomains":{"Type":3,"Flags":0,"Description":"MinDomains indicates a minimum number of eligible domains. When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number of eligible domains is less than minDomains, scheduler won't schedule more than maxSkew Pods to those domains. If value is nil, the constraint behaves as if MinDomains is equal to 1. Valid values are integers greater than 0. When value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same labelSelector spread as 2/2/2: | zone1 | zone2 | zone3 | | P P | P P | P P | The number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0. In this situation, new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will violate MaxSkew.\n\nThis is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default)."},"nodeAffinityPolicy":{"Type":4,"Flags":0,"Description":"NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\nIf this value is nil, the behavior is equivalent to the Honor policy. This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread feature flag."},"nodeTaintsPolicy":{"Type":4,"Flags":0,"Description":"NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included.\n\nIf this value is nil, the behavior is equivalent to the Ignore policy. This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread feature flag."},"topologyKey":{"Type":4,"Flags":1,"Description":"TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. We define a domain as a particular instance of a topology. Also, we define an eligible domain as a domain whose nodes meet the requirements of nodeAffinityPolicy and nodeTaintsPolicy. e.g. If TopologyKey is \"kubernetes.io/hostname\", each Node is a domain of that topology. And, if TopologyKey is \"topology.kubernetes.io/zone\", each zone is a domain of that topology. It's a required field."},"whenUnsatisfiable":{"Type":4,"Flags":1,"Description":"WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assignment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":128}},{"2":{"Name":"IoK8SApiCoreV1Volume","Properties":{"awsElasticBlockStore":{"Type":132,"Flags":0,"Description":"Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling."},"azureDisk":{"Type":133,"Flags":0,"Description":"AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."},"azureFile":{"Type":134,"Flags":0,"Description":"AzureFile represents an Azure File Service mount on the host and bind mount to the pod."},"cephfs":{"Type":135,"Flags":0,"Description":"Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling."},"cinder":{"Type":137,"Flags":0,"Description":"Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling."},"configMap":{"Type":138,"Flags":0,"Description":"Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling."},"csi":{"Type":141,"Flags":0,"Description":"Represents a source location of a volume to mount, managed by an external CSI driver"},"downwardAPI":{"Type":143,"Flags":0,"Description":"DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling."},"emptyDir":{"Type":146,"Flags":0,"Description":"Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling."},"ephemeral":{"Type":147,"Flags":0,"Description":"Represents an ephemeral volume that is handled by a normal storage driver."},"fc":{"Type":152,"Flags":0,"Description":"Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling."},"flexVolume":{"Type":155,"Flags":0,"Description":"FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin."},"flocker":{"Type":157,"Flags":0,"Description":"Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling."},"gcePersistentDisk":{"Type":158,"Flags":0,"Description":"Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling."},"gitRepo":{"Type":159,"Flags":0,"Description":"Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container."},"glusterfs":{"Type":160,"Flags":0,"Description":"Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling."},"hostPath":{"Type":161,"Flags":0,"Description":"Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling."},"iscsi":{"Type":162,"Flags":0,"Description":"Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling."},"name":{"Type":4,"Flags":1,"Description":"name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"nfs":{"Type":164,"Flags":0,"Description":"Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling."},"persistentVolumeClaim":{"Type":165,"Flags":0,"Description":"PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system)."},"photonPersistentDisk":{"Type":166,"Flags":0,"Description":"Represents a Photon Controller persistent disk resource."},"portworxVolume":{"Type":167,"Flags":0,"Description":"PortworxVolumeSource represents a Portworx volume resource."},"projected":{"Type":168,"Flags":0,"Description":"Represents a projected volume source"},"quobyte":{"Type":178,"Flags":0,"Description":"Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling."},"rbd":{"Type":179,"Flags":0,"Description":"Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling."},"scaleIO":{"Type":181,"Flags":0,"Description":"ScaleIOVolumeSource represents a persistent ScaleIO volume"},"secret":{"Type":182,"Flags":0,"Description":"Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling."},"storageos":{"Type":184,"Flags":0,"Description":"Represents a StorageOS persistent volume resource."},"vsphereVolume":{"Type":185,"Flags":0,"Description":"Represents a vSphere volume resource."}}}},{"2":{"Name":"IoK8SApiCoreV1AWSElasticBlockStoreVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"},"partition":{"Type":3,"Flags":0,"Description":"partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty)."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"},"volumeID":{"Type":4,"Flags":1,"Description":"volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"}}}},{"2":{"Name":"IoK8SApiCoreV1AzureDiskVolumeSource","Properties":{"cachingMode":{"Type":4,"Flags":0,"Description":"cachingMode is the Host Caching mode: None, Read Only, Read Write."},"diskName":{"Type":4,"Flags":1,"Description":"diskName is the Name of the data disk in the blob storage"},"diskURI":{"Type":4,"Flags":1,"Description":"diskURI is the URI of data disk in the blob storage"},"fsType":{"Type":4,"Flags":0,"Description":"fsType is Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"kind":{"Type":4,"Flags":0,"Description":"kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."}}}},{"2":{"Name":"IoK8SApiCoreV1AzureFileVolumeSource","Properties":{"readOnly":{"Type":2,"Flags":0,"Description":"readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretName":{"Type":4,"Flags":1,"Description":"secretName is the name of secret that contains Azure Storage Account Name and Key"},"shareName":{"Type":4,"Flags":1,"Description":"shareName is the azure share Name"}}}},{"2":{"Name":"IoK8SApiCoreV1CephFSVolumeSource","Properties":{"monitors":{"Type":136,"Flags":1,"Description":"monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"path":{"Type":4,"Flags":0,"Description":"path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"secretFile":{"Type":4,"Flags":0,"Description":"secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"secretRef":{"Type":114,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"user":{"Type":4,"Flags":0,"Description":"user is optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1CinderVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"},"secretRef":{"Type":114,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"volumeID":{"Type":4,"Flags":1,"Description":"volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"items":{"Type":140,"Flags":0,"Description":"items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"optional specify whether the ConfigMap or its keys must be defined"}}}},{"2":{"Name":"IoK8SApiCoreV1KeyToPath","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the key to project."},"mode":{"Type":3,"Flags":0,"Description":"mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"path":{"Type":4,"Flags":1,"Description":"path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'."}}}},{"3":{"ItemType":139}},{"2":{"Name":"IoK8SApiCoreV1CSIVolumeSource","Properties":{"driver":{"Type":4,"Flags":1,"Description":"driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster."},"fsType":{"Type":4,"Flags":0,"Description":"fsType to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply."},"nodePublishSecretRef":{"Type":114,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly specifies a read-only configuration for the volume. Defaults to false (read/write)."},"volumeAttributes":{"Type":142,"Flags":0,"Description":"volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values."}}}},{"2":{"Name":"IoK8SApiCoreV1CSIVolumeSourceVolumeAttributes","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1DownwardAPIVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"items":{"Type":145,"Flags":0,"Description":"Items is a list of downward API volume file"}}}},{"2":{"Name":"IoK8SApiCoreV1DownwardAPIVolumeFile","Properties":{"fieldRef":{"Type":62,"Flags":0,"Description":"ObjectFieldSelector selects an APIVersioned field of an object."},"mode":{"Type":3,"Flags":0,"Description":"Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"path":{"Type":4,"Flags":1,"Description":"Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'"},"resourceFieldRef":{"Type":63,"Flags":0,"Description":"ResourceFieldSelector represents container resources (cpu, memory) and their output format"}}}},{"3":{"ItemType":144}},{"2":{"Name":"IoK8SApiCoreV1EmptyDirVolumeSource","Properties":{"medium":{"Type":4,"Flags":0,"Description":"medium represents what type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir"},"sizeLimit":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."}}}},{"2":{"Name":"IoK8SApiCoreV1EphemeralVolumeSource","Properties":{"volumeClaimTemplate":{"Type":148,"Flags":0,"Description":"PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource."}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimTemplate","Properties":{"metadata":{"Type":27,"Flags":0,"Description":"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."},"spec":{"Type":149,"Flags":1,"Description":"PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes"}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimSpec","Properties":{"accessModes":{"Type":150,"Flags":0,"Description":"accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"},"dataSource":{"Type":151,"Flags":0,"Description":"TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace."},"dataSourceRef":{"Type":151,"Flags":0,"Description":"TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace."},"resources":{"Type":82,"Flags":0,"Description":"ResourceRequirements describes the compute resource requirements."},"selector":{"Type":21,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"storageClassName":{"Type":4,"Flags":0,"Description":"storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1"},"volumeMode":{"Type":4,"Flags":0,"Description":"volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec."},"volumeName":{"Type":4,"Flags":0,"Description":"volumeName is the binding reference to the PersistentVolume backing this claim."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1TypedLocalObjectReference","Properties":{"apiGroup":{"Type":4,"Flags":0,"Description":"APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required."},"kind":{"Type":4,"Flags":1,"Description":"Kind is the type of resource being referenced"},"name":{"Type":4,"Flags":1,"Description":"Name is the name of resource being referenced"}}}},{"2":{"Name":"IoK8SApiCoreV1FCVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"lun":{"Type":3,"Flags":0,"Description":"lun is Optional: FC target lun number"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"targetWWNs":{"Type":153,"Flags":0,"Description":"targetWWNs is Optional: FC target worldwide names (WWNs)"},"wwids":{"Type":154,"Flags":0,"Description":"wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1FlexVolumeSource","Properties":{"driver":{"Type":4,"Flags":1,"Description":"driver is the name of the driver to use for this volume."},"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script."},"options":{"Type":156,"Flags":0,"Description":"options is Optional: this field holds extra command options if any."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":114,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."}}}},{"2":{"Name":"IoK8SApiCoreV1FlexVolumeSourceOptions","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1FlockerVolumeSource","Properties":{"datasetName":{"Type":4,"Flags":0,"Description":"datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated"},"datasetUUID":{"Type":4,"Flags":0,"Description":"datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset"}}}},{"2":{"Name":"IoK8SApiCoreV1GCEPersistentDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"partition":{"Type":3,"Flags":0,"Description":"partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"pdName":{"Type":4,"Flags":1,"Description":"pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"}}}},{"2":{"Name":"IoK8SApiCoreV1GitRepoVolumeSource","Properties":{"directory":{"Type":4,"Flags":0,"Description":"directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name."},"repository":{"Type":4,"Flags":1,"Description":"repository is the URL"},"revision":{"Type":4,"Flags":0,"Description":"revision is the commit hash for the specified revision."}}}},{"2":{"Name":"IoK8SApiCoreV1GlusterfsVolumeSource","Properties":{"endpoints":{"Type":4,"Flags":1,"Description":"endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"path":{"Type":4,"Flags":1,"Description":"path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"}}}},{"2":{"Name":"IoK8SApiCoreV1HostPathVolumeSource","Properties":{"path":{"Type":4,"Flags":1,"Description":"path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"},"type":{"Type":4,"Flags":0,"Description":"type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"}}}},{"2":{"Name":"IoK8SApiCoreV1IscsiVolumeSource","Properties":{"chapAuthDiscovery":{"Type":2,"Flags":0,"Description":"chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication"},"chapAuthSession":{"Type":2,"Flags":0,"Description":"chapAuthSession defines whether support iSCSI Session CHAP authentication"},"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi"},"initiatorName":{"Type":4,"Flags":0,"Description":"initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection."},"iqn":{"Type":4,"Flags":1,"Description":"iqn is the target iSCSI Qualified Name."},"iscsiInterface":{"Type":4,"Flags":0,"Description":"iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."},"lun":{"Type":3,"Flags":1,"Description":"lun represents iSCSI Target Lun number."},"portals":{"Type":163,"Flags":0,"Description":"portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."},"secretRef":{"Type":114,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"targetPortal":{"Type":4,"Flags":1,"Description":"targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1NFSVolumeSource","Properties":{"path":{"Type":4,"Flags":1,"Description":"path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"},"server":{"Type":4,"Flags":1,"Description":"server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimVolumeSource","Properties":{"claimName":{"Type":4,"Flags":1,"Description":"claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly Will force the ReadOnly setting in VolumeMounts. Default false."}}}},{"2":{"Name":"IoK8SApiCoreV1PhotonPersistentDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"pdID":{"Type":4,"Flags":1,"Description":"pdID is the ID that identifies Photon Controller persistent disk"}}}},{"2":{"Name":"IoK8SApiCoreV1PortworxVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"volumeID":{"Type":4,"Flags":1,"Description":"volumeID uniquely identifies a Portworx volume"}}}},{"2":{"Name":"IoK8SApiCoreV1ProjectedVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"sources":{"Type":177,"Flags":0,"Description":"sources is the list of volume projections"}}}},{"2":{"Name":"IoK8SApiCoreV1VolumeProjection","Properties":{"configMap":{"Type":170,"Flags":0,"Description":"Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode."},"downwardAPI":{"Type":172,"Flags":0,"Description":"Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode."},"secret":{"Type":174,"Flags":0,"Description":"Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode."},"serviceAccountToken":{"Type":176,"Flags":0,"Description":"ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise)."}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapProjection","Properties":{"items":{"Type":171,"Flags":0,"Description":"items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"optional specify whether the ConfigMap or its keys must be defined"}}}},{"3":{"ItemType":139}},{"2":{"Name":"IoK8SApiCoreV1DownwardAPIProjection","Properties":{"items":{"Type":173,"Flags":0,"Description":"Items is a list of DownwardAPIVolume file"}}}},{"3":{"ItemType":144}},{"2":{"Name":"IoK8SApiCoreV1SecretProjection","Properties":{"items":{"Type":175,"Flags":0,"Description":"items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"optional field specify whether the Secret or its key must be defined"}}}},{"3":{"ItemType":139}},{"2":{"Name":"IoK8SApiCoreV1ServiceAccountTokenProjection","Properties":{"audience":{"Type":4,"Flags":0,"Description":"audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver."},"expirationSeconds":{"Type":3,"Flags":0,"Description":"expirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes."},"path":{"Type":4,"Flags":1,"Description":"path is the path relative to the mount point of the file to project the token into."}}}},{"3":{"ItemType":169}},{"2":{"Name":"IoK8SApiCoreV1QuobyteVolumeSource","Properties":{"group":{"Type":4,"Flags":0,"Description":"group to map volume access to Default is no group"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false."},"registry":{"Type":4,"Flags":1,"Description":"registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes"},"tenant":{"Type":4,"Flags":0,"Description":"tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin"},"user":{"Type":4,"Flags":0,"Description":"user to map volume access to Defaults to serivceaccount user"},"volume":{"Type":4,"Flags":1,"Description":"volume is a string that references an already created Quobyte volume by name."}}}},{"2":{"Name":"IoK8SApiCoreV1RBDVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd"},"image":{"Type":4,"Flags":1,"Description":"image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"keyring":{"Type":4,"Flags":0,"Description":"keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"monitors":{"Type":180,"Flags":1,"Description":"monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"pool":{"Type":4,"Flags":0,"Description":"pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"secretRef":{"Type":114,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"user":{"Type":4,"Flags":0,"Description":"user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1ScaleIOVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"."},"gateway":{"Type":4,"Flags":1,"Description":"gateway is the host address of the ScaleIO API Gateway."},"protectionDomain":{"Type":4,"Flags":0,"Description":"protectionDomain is the name of the ScaleIO Protection Domain for the configured storage."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":114,"Flags":1,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"sslEnabled":{"Type":2,"Flags":0,"Description":"sslEnabled Flag enable/disable SSL communication with Gateway, default false"},"storageMode":{"Type":4,"Flags":0,"Description":"storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned."},"storagePool":{"Type":4,"Flags":0,"Description":"storagePool is the ScaleIO Storage Pool associated with the protection domain."},"system":{"Type":4,"Flags":1,"Description":"system is the name of the storage system as configured in ScaleIO."},"volumeName":{"Type":4,"Flags":0,"Description":"volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source."}}}},{"2":{"Name":"IoK8SApiCoreV1SecretVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"items":{"Type":183,"Flags":0,"Description":"items If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"optional":{"Type":2,"Flags":0,"Description":"optional field specify whether the Secret or its keys must be defined"},"secretName":{"Type":4,"Flags":0,"Description":"secretName is the name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret"}}}},{"3":{"ItemType":139}},{"2":{"Name":"IoK8SApiCoreV1StorageOSVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":114,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"volumeName":{"Type":4,"Flags":0,"Description":"volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace."},"volumeNamespace":{"Type":4,"Flags":0,"Description":"volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created."}}}},{"2":{"Name":"IoK8SApiCoreV1VsphereVirtualDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"storagePolicyID":{"Type":4,"Flags":0,"Description":"storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName."},"storagePolicyName":{"Type":4,"Flags":0,"Description":"storagePolicyName is the storage Policy Based Management (SPBM) profile name."},"volumePath":{"Type":4,"Flags":1,"Description":"volumePath is the path that identifies vSphere volume vmdk"}}}},{"3":{"ItemType":131}},{"2":{"Name":"IoK8SApiAppsV1DaemonSetUpdateStrategy","Properties":{"rollingUpdate":{"Type":188,"Flags":0,"Description":"Spec to control the desired behavior of daemon set rolling update."},"type":{"Type":4,"Flags":0,"Description":"Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate."}}}},{"2":{"Name":"IoK8SApiAppsV1RollingUpdateDaemonSet","Properties":{"maxSurge":{"Type":4,"Flags":0,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."},"maxUnavailable":{"Type":4,"Flags":0,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."}}}},{"2":{"Name":"IoK8SApiAppsV1DaemonSetStatus","Properties":{"collisionCount":{"Type":3,"Flags":0,"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."},"conditions":{"Type":191,"Flags":0,"Description":"Represents the latest available observations of a DaemonSet's current state."},"currentNumberScheduled":{"Type":3,"Flags":1,"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/"},"desiredNumberScheduled":{"Type":3,"Flags":1,"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/"},"numberAvailable":{"Type":3,"Flags":0,"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)"},"numberMisscheduled":{"Type":3,"Flags":1,"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/"},"numberReady":{"Type":3,"Flags":1,"Description":"numberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running with a Ready Condition."},"numberUnavailable":{"Type":3,"Flags":0,"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)"},"observedGeneration":{"Type":3,"Flags":0,"Description":"The most recent generation observed by the daemon set controller."},"updatedNumberScheduled":{"Type":3,"Flags":0,"Description":"The total number of nodes that are running updated daemon pod"}}}},{"2":{"Name":"IoK8SApiAppsV1DaemonSetCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"A human readable message indicating details about the transition."},"reason":{"Type":4,"Flags":0,"Description":"The reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"Status of the condition, one of True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"Type of DaemonSet condition."}}}},{"3":{"ItemType":190}},{"2":{"Name":"apps/DaemonSet","Properties":{"kind":{"Type":15,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":16,"Flags":10,"Description":"The api version."},"metadata":{"Type":19,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":20,"Flags":0,"Description":"DaemonSetSpec is the specification of a daemon set."},"status":{"Type":189,"Flags":0,"Description":"DaemonSetStatus represents the current status of a daemon set."}}}},{"4":{"Name":"apps/DaemonSet@v1","ScopeType":0,"Body":192,"Flags":0}},{"6":{"Value":"Deployment"}},{"6":{"Value":"apps/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":196,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":197,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiAppsV1DeploymentSpec","Properties":{"minReadySeconds":{"Type":3,"Flags":0,"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)"},"paused":{"Type":2,"Flags":0,"Description":"Indicates that the deployment is paused."},"progressDeadlineSeconds":{"Type":3,"Flags":0,"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."},"replicas":{"Type":3,"Flags":0,"Description":"Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1."},"revisionHistoryLimit":{"Type":3,"Flags":0,"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."},"selector":{"Type":21,"Flags":1,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"strategy":{"Type":200,"Flags":0,"Description":"DeploymentStrategy describes how to replace existing pods with new ones."},"template":{"Type":26,"Flags":1,"Description":"PodTemplateSpec describes the data a pod should have when created from a template"}}}},{"2":{"Name":"IoK8SApiAppsV1DeploymentStrategy","Properties":{"rollingUpdate":{"Type":201,"Flags":0,"Description":"Spec to control the desired behavior of rolling update."},"type":{"Type":4,"Flags":0,"Description":"Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate."}}}},{"2":{"Name":"IoK8SApiAppsV1RollingUpdateDeployment","Properties":{"maxSurge":{"Type":4,"Flags":0,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."},"maxUnavailable":{"Type":4,"Flags":0,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."}}}},{"2":{"Name":"IoK8SApiAppsV1DeploymentStatus","Properties":{"availableReplicas":{"Type":3,"Flags":0,"Description":"Total number of available pods (ready for at least minReadySeconds) targeted by this deployment."},"collisionCount":{"Type":3,"Flags":0,"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."},"conditions":{"Type":204,"Flags":0,"Description":"Represents the latest available observations of a deployment's current state."},"observedGeneration":{"Type":3,"Flags":0,"Description":"The generation observed by the deployment controller."},"readyReplicas":{"Type":3,"Flags":0,"Description":"readyReplicas is the number of pods targeted by this Deployment with a Ready Condition."},"replicas":{"Type":3,"Flags":0,"Description":"Total number of non-terminated pods targeted by this deployment (their labels match the selector)."},"unavailableReplicas":{"Type":3,"Flags":0,"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."},"updatedReplicas":{"Type":3,"Flags":0,"Description":"Total number of non-terminated pods targeted by this deployment that have the desired template spec."}}}},{"2":{"Name":"IoK8SApiAppsV1DeploymentCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"lastUpdateTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"A human readable message indicating details about the transition."},"reason":{"Type":4,"Flags":0,"Description":"The reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"Status of the condition, one of True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"Type of deployment condition."}}}},{"3":{"ItemType":203}},{"2":{"Name":"apps/Deployment","Properties":{"kind":{"Type":194,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":195,"Flags":10,"Description":"The api version."},"metadata":{"Type":198,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":199,"Flags":0,"Description":"DeploymentSpec is the specification of the desired behavior of the Deployment."},"status":{"Type":202,"Flags":0,"Description":"DeploymentStatus is the most recently observed status of the Deployment."}}}},{"4":{"Name":"apps/Deployment@v1","ScopeType":0,"Body":205,"Flags":0}},{"6":{"Value":"ReplicaSet"}},{"6":{"Value":"apps/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":209,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":210,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiAppsV1ReplicaSetSpec","Properties":{"minReadySeconds":{"Type":3,"Flags":0,"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)"},"replicas":{"Type":3,"Flags":0,"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"},"selector":{"Type":21,"Flags":1,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"template":{"Type":26,"Flags":0,"Description":"PodTemplateSpec describes the data a pod should have when created from a template"}}}},{"2":{"Name":"IoK8SApiAppsV1ReplicaSetStatus","Properties":{"availableReplicas":{"Type":3,"Flags":0,"Description":"The number of available replicas (ready for at least minReadySeconds) for this replica set."},"conditions":{"Type":215,"Flags":0,"Description":"Represents the latest available observations of a replica set's current state."},"fullyLabeledReplicas":{"Type":3,"Flags":0,"Description":"The number of pods that have labels matching the labels of the pod template of the replicaset."},"observedGeneration":{"Type":3,"Flags":0,"Description":"ObservedGeneration reflects the generation of the most recently observed ReplicaSet."},"readyReplicas":{"Type":3,"Flags":0,"Description":"readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition."},"replicas":{"Type":3,"Flags":1,"Description":"Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller"}}}},{"2":{"Name":"IoK8SApiAppsV1ReplicaSetCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"A human readable message indicating details about the transition."},"reason":{"Type":4,"Flags":0,"Description":"The reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"Status of the condition, one of True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"Type of replica set condition."}}}},{"3":{"ItemType":214}},{"2":{"Name":"apps/ReplicaSet","Properties":{"kind":{"Type":207,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":208,"Flags":10,"Description":"The api version."},"metadata":{"Type":211,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":212,"Flags":0,"Description":"ReplicaSetSpec is the specification of a ReplicaSet."},"status":{"Type":213,"Flags":0,"Description":"ReplicaSetStatus represents the current status of a ReplicaSet."}}}},{"4":{"Name":"apps/ReplicaSet@v1","ScopeType":0,"Body":216,"Flags":0}},{"6":{"Value":"StatefulSet"}},{"6":{"Value":"apps/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":220,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":221,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiAppsV1StatefulSetSpec","Properties":{"minReadySeconds":{"Type":3,"Flags":0,"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)"},"persistentVolumeClaimRetentionPolicy":{"Type":224,"Flags":0,"Description":"StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates."},"podManagementPolicy":{"Type":4,"Flags":0,"Description":"podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once."},"replicas":{"Type":3,"Flags":0,"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."},"revisionHistoryLimit":{"Type":3,"Flags":0,"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."},"selector":{"Type":21,"Flags":1,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"serviceName":{"Type":4,"Flags":1,"Description":"serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller."},"template":{"Type":26,"Flags":1,"Description":"PodTemplateSpec describes the data a pod should have when created from a template"},"updateStrategy":{"Type":225,"Flags":0,"Description":"StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy."},"volumeClaimTemplates":{"Type":234,"Flags":0,"Description":"volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name."}}}},{"2":{"Name":"IoK8SApiAppsV1StatefulSetPersistentVolumeClaimRetentionPolicy","Properties":{"whenDeleted":{"Type":4,"Flags":0,"Description":"WhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted. The default policy of `Retain` causes PVCs to not be affected by StatefulSet deletion. The `Delete` policy causes those PVCs to be deleted."},"whenScaled":{"Type":4,"Flags":0,"Description":"WhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down. The default policy of `Retain` causes PVCs to not be affected by a scaledown. The `Delete` policy causes the associated PVCs for any excess pods above the replica count to be deleted."}}}},{"2":{"Name":"IoK8SApiAppsV1StatefulSetUpdateStrategy","Properties":{"rollingUpdate":{"Type":226,"Flags":0,"Description":"RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType."},"type":{"Type":4,"Flags":0,"Description":"Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate."}}}},{"2":{"Name":"IoK8SApiAppsV1RollingUpdateStatefulSetStrategy","Properties":{"maxUnavailable":{"Type":4,"Flags":0,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."},"partition":{"Type":3,"Flags":0,"Description":"Partition indicates the ordinal at which the StatefulSet should be partitioned for updates. During a rolling update, all pods from ordinal Replicas-1 to Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched. This is helpful in being able to do a canary based deployment. The default value is 0."}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaim","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"},"kind":{"Type":4,"Flags":0,"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/sig-architecture/api-conventions.md#types-kinds"},"metadata":{"Type":27,"Flags":0,"Description":"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."},"spec":{"Type":149,"Flags":0,"Description":"PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes"},"status":{"Type":228,"Flags":0,"Description":"PersistentVolumeClaimStatus is the current status of a persistent volume claim."}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimStatus","Properties":{"accessModes":{"Type":229,"Flags":0,"Description":"accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"},"allocatedResources":{"Type":230,"Flags":0,"Description":"allocatedResources is the storage resource within AllocatedResources tracks the capacity allocated to a PVC. It may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature."},"capacity":{"Type":231,"Flags":0,"Description":"capacity represents the actual resources of the underlying volume."},"conditions":{"Type":233,"Flags":0,"Description":"conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'."},"phase":{"Type":4,"Flags":0,"Description":"phase represents the current phase of PersistentVolumeClaim."},"resizeStatus":{"Type":4,"Flags":0,"Description":"resizeStatus stores status of resize operation. ResizeStatus is not set by default but when expansion is complete resizeStatus is set to empty string by resize controller or kubelet. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimStatusAllocatedResources","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimStatusCapacity","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimCondition","Properties":{"lastProbeTime":{"Type":4,"Flags":0,"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."},"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"message is the human-readable message indicating details about last transition."},"reason":{"Type":4,"Flags":0,"Description":"reason is a unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized."},"status":{"Type":4,"Flags":1},"type":{"Type":4,"Flags":1}}}},{"3":{"ItemType":232}},{"3":{"ItemType":227}},{"2":{"Name":"IoK8SApiAppsV1StatefulSetStatus","Properties":{"availableReplicas":{"Type":3,"Flags":0,"Description":"Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset."},"collisionCount":{"Type":3,"Flags":0,"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."},"conditions":{"Type":237,"Flags":0,"Description":"Represents the latest available observations of a statefulset's current state."},"currentReplicas":{"Type":3,"Flags":0,"Description":"currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision."},"currentRevision":{"Type":4,"Flags":0,"Description":"currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas)."},"observedGeneration":{"Type":3,"Flags":0,"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."},"readyReplicas":{"Type":3,"Flags":0,"Description":"readyReplicas is the number of pods created for this StatefulSet with a Ready Condition."},"replicas":{"Type":3,"Flags":1,"Description":"replicas is the number of Pods created by the StatefulSet controller."},"updateRevision":{"Type":4,"Flags":0,"Description":"updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)"},"updatedReplicas":{"Type":3,"Flags":0,"Description":"updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision."}}}},{"2":{"Name":"IoK8SApiAppsV1StatefulSetCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"A human readable message indicating details about the transition."},"reason":{"Type":4,"Flags":0,"Description":"The reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"Status of the condition, one of True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"Type of statefulset condition."}}}},{"3":{"ItemType":236}},{"2":{"Name":"apps/StatefulSet","Properties":{"kind":{"Type":218,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":219,"Flags":10,"Description":"The api version."},"metadata":{"Type":222,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":223,"Flags":0,"Description":"A StatefulSetSpec is the specification of a StatefulSet."},"status":{"Type":235,"Flags":0,"Description":"StatefulSetStatus represents the current state of a StatefulSet."}}}},{"4":{"Name":"apps/StatefulSet@v1","ScopeType":0,"Body":238,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "ControllerRevision" + }, + { + "$type": "StringLiteralType", + "value": "apps/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "AnyType" + }, + { + "$type": "IntegerType" + }, + { + "$type": "ObjectType", + "name": "apps/ControllerRevision", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "data": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "Any object" + }, + "revision": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "Revision indicates the revision of the state represented by Data." + } + } + }, + { + "$type": "ResourceType", + "name": "apps/ControllerRevision@v1", + "scopeType": 0, + "body": { + "$ref": "#/8" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "DaemonSet" + }, + { + "$type": "StringLiteralType", + "value": "apps/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1DaemonSetSpec", + "properties": { + "minReadySeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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)." + }, + "revisionHistoryLimit": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "selector": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "template": { + "type": { + "$ref": "#/21" + }, + "flags": 1, + "description": "PodTemplateSpec describes the data a pod should have when created from a template" + }, + "updateStrategy": { + "type": { + "$ref": "#/183" + }, + "flags": 0, + "description": "DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelector", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." + }, + "matchLabels": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/17" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodTemplateSpec", + "properties": { + "metadata": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create." + }, + "spec": { + "type": { + "$ref": "#/31" + }, + "flags": 0, + "description": "PodSpec is a description of a pod." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ObjectMeta", + "properties": { + "annotations": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations" + }, + "creationTimestamp": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "deletionGracePeriodSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only." + }, + "deletionTimestamp": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "finalizers": { + "type": { + "$ref": "#/24" + }, + "flags": 0, + "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list." + }, + "generateName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will return a 409.\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency" + }, + "generation": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only." + }, + "labels": { + "type": { + "$ref": "#/25" + }, + "flags": 0, + "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels" + }, + "managedFields": { + "type": { + "$ref": "#/27" + }, + "flags": 0, + "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces" + }, + "ownerReferences": { + "type": { + "$ref": "#/30" + }, + "flags": 0, + "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller." + }, + "resourceVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + }, + "selfLink": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system." + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ObjectMetaAnnotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ObjectMetaLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ManagedFieldsEntry", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted." + }, + "fieldsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"" + }, + "fieldsV1": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "Any object" + }, + "manager": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Manager is an identifier of the workflow managing these fields." + }, + "operation": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'." + }, + "subresource": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource." + }, + "time": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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": "ArrayType", + "itemType": { + "$ref": "#/26" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1OwnerReference", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "API version of the referent." + }, + "blockOwnerDeletion": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned." + }, + "controller": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "If true, this reference points to the managing controller." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names" + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids" + } + } + }, + { + "$type": "BooleanType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/28" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSpec", + "properties": { + "activeDeadlineSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer." + }, + "affinity": { + "type": { + "$ref": "#/32" + }, + "flags": 0, + "description": "Affinity is a group of affinity scheduling rules." + }, + "automountServiceAccountToken": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted." + }, + "containers": { + "type": { + "$ref": "#/92" + }, + "flags": 1, + "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated." + }, + "dnsConfig": { + "type": { + "$ref": "#/93" + }, + "flags": 0, + "description": "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy." + }, + "dnsPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'." + }, + "enableServiceLinks": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true." + }, + "ephemeralContainers": { + "type": { + "$ref": "#/106" + }, + "flags": 0, + "description": "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource." + }, + "hostAliases": { + "type": { + "$ref": "#/109" + }, + "flags": 0, + "description": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods." + }, + "hostIPC": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Use the host's ipc namespace. Optional: Default to false." + }, + "hostNetwork": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false." + }, + "hostPID": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Use the host's pid namespace. Optional: Default to false." + }, + "hostUsers": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Use the host's user namespace. Optional: Default to true. If set to true or not present, the pod will be run in the host user namespace, useful for when the pod needs a feature only available to the host user namespace, such as loading a kernel module with CAP_SYS_MODULE. When set to false, a new userns is created for the pod. Setting false is useful for mitigating container breakout vulnerabilities even allowing users to run their containers as root without actually having root privileges on the host. This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature." + }, + "hostname": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value." + }, + "imagePullSecrets": { + "type": { + "$ref": "#/111" + }, + "flags": 0, + "description": "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod" + }, + "initContainers": { + "type": { + "$ref": "#/112" + }, + "flags": 0, + "description": "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/" + }, + "nodeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements." + }, + "nodeSelector": { + "type": { + "$ref": "#/113" + }, + "flags": 0, + "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/" + }, + "os": { + "type": { + "$ref": "#/114" + }, + "flags": 0, + "description": "PodOS defines the OS parameters of a pod." + }, + "overhead": { + "type": { + "$ref": "#/115" + }, + "flags": 0, + "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md" + }, + "preemptionPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset." + }, + "priority": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority." + }, + "priorityClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default." + }, + "readinessGates": { + "type": { + "$ref": "#/117" + }, + "flags": 0, + "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/580-pod-readiness-gates" + }, + "restartPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy" + }, + "runtimeClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class" + }, + "schedulerName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler." + }, + "securityContext": { + "type": { + "$ref": "#/118" + }, + "flags": 0, + "description": "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext." + }, + "serviceAccount": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead." + }, + "serviceAccountName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/" + }, + "setHostnameAsFQDN": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false." + }, + "shareProcessNamespace": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false." + }, + "subdomain": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all." + }, + "terminationGracePeriodSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds." + }, + "tolerations": { + "type": { + "$ref": "#/123" + }, + "flags": 0, + "description": "If specified, the pod's tolerations." + }, + "topologySpreadConstraints": { + "type": { + "$ref": "#/126" + }, + "flags": 0, + "description": "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed." + }, + "volumes": { + "type": { + "$ref": "#/182" + }, + "flags": 0, + "description": "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Affinity", + "properties": { + "nodeAffinity": { + "type": { + "$ref": "#/33" + }, + "flags": 0, + "description": "Node affinity is a group of node affinity scheduling rules." + }, + "podAffinity": { + "type": { + "$ref": "#/43" + }, + "flags": 0, + "description": "Pod affinity is a group of inter pod affinity scheduling rules." + }, + "podAntiAffinity": { + "type": { + "$ref": "#/49" + }, + "flags": 0, + "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeAffinity", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/40" + }, + "flags": 0, + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred." + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/41" + }, + "flags": 0, + "description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PreferredSchedulingTerm", + "properties": { + "preference": { + "type": { + "$ref": "#/35" + }, + "flags": 1, + "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm." + }, + "weight": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelectorTerm", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/38" + }, + "flags": 0, + "description": "A list of node selector requirements by node's labels." + }, + "matchFields": { + "type": { + "$ref": "#/39" + }, + "flags": 0, + "description": "A list of node selector requirements by node's fields." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + }, + "values": { + "type": { + "$ref": "#/37" + }, + "flags": 0, + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/36" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/36" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/34" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelector", + "properties": { + "nodeSelectorTerms": { + "type": { + "$ref": "#/42" + }, + "flags": 1, + "description": "Required. A list of node selector terms. The terms are ORed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/35" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodAffinity", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/47" + }, + "flags": 0, + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred." + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/48" + }, + "flags": 0, + "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1WeightedPodAffinityTerm", + "properties": { + "podAffinityTerm": { + "type": { + "$ref": "#/45" + }, + "flags": 1, + "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running" + }, + "weight": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodAffinityTerm", + "properties": { + "labelSelector": { + "type": { + "$ref": "#/16" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "namespaceSelector": { + "type": { + "$ref": "#/16" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "namespaces": { + "type": { + "$ref": "#/46" + }, + "flags": 0, + "description": "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." + }, + "topologyKey": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/44" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/45" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodAntiAffinity", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/50" + }, + "flags": 0, + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred." + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/51" + }, + "flags": 0, + "description": "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/44" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/45" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Container", + "properties": { + "args": { + "type": { + "$ref": "#/53" + }, + "flags": 0, + "description": "Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "command": { + "type": { + "$ref": "#/54" + }, + "flags": 0, + "description": "Entrypoint array. Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "env": { + "type": { + "$ref": "#/61" + }, + "flags": 0, + "description": "List of environment variables to set in the container. Cannot be updated." + }, + "envFrom": { + "type": { + "$ref": "#/65" + }, + "flags": 0, + "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated." + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets." + }, + "imagePullPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images" + }, + "lifecycle": { + "type": { + "$ref": "#/66" + }, + "flags": 0, + "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted." + }, + "livenessProbe": { + "type": { + "$ref": "#/74" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated." + }, + "ports": { + "type": { + "$ref": "#/77" + }, + "flags": 0, + "description": "List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated." + }, + "readinessProbe": { + "type": { + "$ref": "#/74" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "resources": { + "type": { + "$ref": "#/78" + }, + "flags": 0, + "description": "ResourceRequirements describes the compute resource requirements." + }, + "securityContext": { + "type": { + "$ref": "#/81" + }, + "flags": 0, + "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence." + }, + "startupProbe": { + "type": { + "$ref": "#/74" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "stdin": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false." + }, + "stdinOnce": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false" + }, + "terminationMessagePath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated." + }, + "terminationMessagePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated." + }, + "tty": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false." + }, + "volumeDevices": { + "type": { + "$ref": "#/89" + }, + "flags": 0, + "description": "volumeDevices is the list of block devices to be used by the container." + }, + "volumeMounts": { + "type": { + "$ref": "#/91" + }, + "flags": 0, + "description": "Pod volumes to mount into the container's filesystem. Cannot be updated." + }, + "workingDir": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EnvVar", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the environment variable. Must be a C_IDENTIFIER." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\"." + }, + "valueFrom": { + "type": { + "$ref": "#/56" + }, + "flags": 0, + "description": "EnvVarSource represents a source for the value of an EnvVar." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EnvVarSource", + "properties": { + "configMapKeyRef": { + "type": { + "$ref": "#/57" + }, + "flags": 0, + "description": "Selects a key from a ConfigMap." + }, + "fieldRef": { + "type": { + "$ref": "#/58" + }, + "flags": 0, + "description": "ObjectFieldSelector selects an APIVersioned field of an object." + }, + "resourceFieldRef": { + "type": { + "$ref": "#/59" + }, + "flags": 0, + "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format" + }, + "secretKeyRef": { + "type": { + "$ref": "#/60" + }, + "flags": 0, + "description": "SecretKeySelector selects a key of a Secret." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapKeySelector", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The key to select." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Specify whether the ConfigMap or its key must be defined" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ObjectFieldSelector", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." + }, + "fieldPath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path of the field to select in the specified API version." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceFieldSelector", + "properties": { + "containerName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container name: required for volumes, optional for env vars" + }, + "divisor": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + }, + "resource": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Required: resource to select" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretKeySelector", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The key of the secret to select from. Must be a valid secret key." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Specify whether the Secret or its key must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/55" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EnvFromSource", + "properties": { + "configMapRef": { + "type": { + "$ref": "#/63" + }, + "flags": 0, + "description": "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables." + }, + "prefix": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER." + }, + "secretRef": { + "type": { + "$ref": "#/64" + }, + "flags": 0, + "description": "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapEnvSource", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Specify whether the ConfigMap must be defined" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretEnvSource", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Specify whether the Secret must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/62" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Lifecycle", + "properties": { + "postStart": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified." + }, + "preStop": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LifecycleHandler", + "properties": { + "exec": { + "type": { + "$ref": "#/68" + }, + "flags": 0, + "description": "ExecAction describes a \"run in container\" action." + }, + "httpGet": { + "type": { + "$ref": "#/70" + }, + "flags": 0, + "description": "HTTPGetAction describes an action based on HTTP Get requests." + }, + "tcpSocket": { + "type": { + "$ref": "#/73" + }, + "flags": 0, + "description": "TCPSocketAction describes an action based on opening a socket" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ExecAction", + "properties": { + "command": { + "type": { + "$ref": "#/69" + }, + "flags": 0, + "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HttpGetAction", + "properties": { + "host": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead." + }, + "httpHeaders": { + "type": { + "$ref": "#/72" + }, + "flags": 0, + "description": "Custom headers to set in the request. HTTP allows repeated headers." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Path to access on the HTTP server." + }, + "port": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + }, + "scheme": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Scheme to use for connecting to the host. Defaults to HTTP." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HttpHeader", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The header field name" + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The header field value" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/71" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TCPSocketAction", + "properties": { + "host": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Host name to connect to, defaults to the pod IP." + }, + "port": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Probe", + "properties": { + "exec": { + "type": { + "$ref": "#/68" + }, + "flags": 0, + "description": "ExecAction describes a \"run in container\" action." + }, + "failureThreshold": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." + }, + "grpc": { + "type": { + "$ref": "#/75" + }, + "flags": 0 + }, + "httpGet": { + "type": { + "$ref": "#/70" + }, + "flags": 0, + "description": "HTTPGetAction describes an action based on HTTP Get requests." + }, + "initialDelaySeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + }, + "periodSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." + }, + "successThreshold": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1." + }, + "tcpSocket": { + "type": { + "$ref": "#/73" + }, + "flags": 0, + "description": "TCPSocketAction describes an action based on opening a socket" + }, + "terminationGracePeriodSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset." + }, + "timeoutSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GrpcAction", + "properties": { + "port": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535." + }, + "service": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ContainerPort", + "properties": { + "containerPort": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536." + }, + "hostIP": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "What host IP to bind the external port to." + }, + "hostPort": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services." + }, + "protocol": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\"." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/76" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceRequirements", + "properties": { + "limits": { + "type": { + "$ref": "#/79" + }, + "flags": 0, + "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" + }, + "requests": { + "type": { + "$ref": "#/80" + }, + "flags": 0, + "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceRequirementsLimits", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceRequirementsRequests", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecurityContext", + "properties": { + "allowPrivilegeEscalation": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows." + }, + "capabilities": { + "type": { + "$ref": "#/82" + }, + "flags": 0, + "description": "Adds and removes POSIX capabilities from running containers." + }, + "privileged": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows." + }, + "procMount": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows." + }, + "readOnlyRootFilesystem": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows." + }, + "runAsGroup": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows." + }, + "runAsNonRoot": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + }, + "runAsUser": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows." + }, + "seLinuxOptions": { + "type": { + "$ref": "#/85" + }, + "flags": 0, + "description": "SELinuxOptions are the labels to be applied to the container" + }, + "seccompProfile": { + "type": { + "$ref": "#/86" + }, + "flags": 0, + "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set." + }, + "windowsOptions": { + "type": { + "$ref": "#/87" + }, + "flags": 0, + "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Capabilities", + "properties": { + "add": { + "type": { + "$ref": "#/83" + }, + "flags": 0, + "description": "Added capabilities" + }, + "drop": { + "type": { + "$ref": "#/84" + }, + "flags": 0, + "description": "Removed capabilities" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SELinuxOptions", + "properties": { + "level": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Level is SELinux level label that applies to the container." + }, + "role": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Role is a SELinux role label that applies to the container." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Type is a SELinux type label that applies to the container." + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "User is a SELinux user label that applies to the container." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SeccompProfile", + "properties": { + "localhostProfile": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is \"Localhost\"." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1WindowsSecurityContextOptions", + "properties": { + "gmsaCredentialSpec": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field." + }, + "gmsaCredentialSpecName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use." + }, + "hostProcess": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "HostProcess determines if a container should be run as a 'Host Process' container. This field is alpha-level and will only be honored by components that enable the WindowsHostProcessContainers feature flag. Setting this field without the feature flag will result in errors when validating the Pod. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true." + }, + "runAsUserName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeDevice", + "properties": { + "devicePath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "devicePath is the path inside of the container that the device will be mapped to." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name must match the name of a persistentVolumeClaim in the pod" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/88" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeMount", + "properties": { + "mountPath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path within the container at which the volume should be mounted. Must not contain ':'." + }, + "mountPropagation": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "This must match the Name of a Volume." + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false." + }, + "subPath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root)." + }, + "subPathExpr": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/90" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/52" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodDNSConfig", + "properties": { + "nameservers": { + "type": { + "$ref": "#/94" + }, + "flags": 0, + "description": "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed." + }, + "options": { + "type": { + "$ref": "#/96" + }, + "flags": 0, + "description": "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy." + }, + "searches": { + "type": { + "$ref": "#/97" + }, + "flags": 0, + "description": "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodDNSConfigOption", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Required." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/95" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EphemeralContainer", + "properties": { + "args": { + "type": { + "$ref": "#/99" + }, + "flags": 0, + "description": "Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "command": { + "type": { + "$ref": "#/100" + }, + "flags": 0, + "description": "Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "env": { + "type": { + "$ref": "#/101" + }, + "flags": 0, + "description": "List of environment variables to set in the container. Cannot be updated." + }, + "envFrom": { + "type": { + "$ref": "#/102" + }, + "flags": 0, + "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated." + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container image name. More info: https://kubernetes.io/docs/concepts/containers/images" + }, + "imagePullPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images" + }, + "lifecycle": { + "type": { + "$ref": "#/66" + }, + "flags": 0, + "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted." + }, + "livenessProbe": { + "type": { + "$ref": "#/74" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers." + }, + "ports": { + "type": { + "$ref": "#/103" + }, + "flags": 0, + "description": "Ports are not allowed for ephemeral containers." + }, + "readinessProbe": { + "type": { + "$ref": "#/74" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "resources": { + "type": { + "$ref": "#/78" + }, + "flags": 0, + "description": "ResourceRequirements describes the compute resource requirements." + }, + "securityContext": { + "type": { + "$ref": "#/81" + }, + "flags": 0, + "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence." + }, + "startupProbe": { + "type": { + "$ref": "#/74" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "stdin": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false." + }, + "stdinOnce": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false" + }, + "targetContainerName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container uses the namespaces configured in the Pod spec.\n\nThe container runtime must implement support for this feature. If the runtime does not support namespace targeting then the result of setting this field is undefined." + }, + "terminationMessagePath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated." + }, + "terminationMessagePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated." + }, + "tty": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false." + }, + "volumeDevices": { + "type": { + "$ref": "#/104" + }, + "flags": 0, + "description": "volumeDevices is the list of block devices to be used by the container." + }, + "volumeMounts": { + "type": { + "$ref": "#/105" + }, + "flags": 0, + "description": "Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated." + }, + "workingDir": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/55" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/62" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/76" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/88" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/90" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/98" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HostAlias", + "properties": { + "hostnames": { + "type": { + "$ref": "#/108" + }, + "flags": 0, + "description": "Hostnames for the above IP address." + }, + "ip": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IP address of the host file entry." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/107" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LocalObjectReference", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/110" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/52" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSpecNodeSelector", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodOS", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the name of the operating system. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSpecOverhead", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodReadinessGate", + "properties": { + "conditionType": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "ConditionType refers to a condition in the pod's condition list with matching type." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/116" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSecurityContext", + "properties": { + "fsGroup": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name is windows." + }, + "fsGroupChangePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used. Note that this field cannot be set when spec.os.name is windows." + }, + "runAsGroup": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows." + }, + "runAsNonRoot": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + }, + "runAsUser": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows." + }, + "seLinuxOptions": { + "type": { + "$ref": "#/85" + }, + "flags": 0, + "description": "SELinuxOptions are the labels to be applied to the container" + }, + "seccompProfile": { + "type": { + "$ref": "#/86" + }, + "flags": 0, + "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set." + }, + "supplementalGroups": { + "type": { + "$ref": "#/119" + }, + "flags": 0, + "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container. Note that this field cannot be set when spec.os.name is windows." + }, + "sysctls": { + "type": { + "$ref": "#/121" + }, + "flags": 0, + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows." + }, + "windowsOptions": { + "type": { + "$ref": "#/87" + }, + "flags": 0, + "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/7" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Sysctl", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of a property to set" + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Value of a property to set" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/120" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Toleration", + "properties": { + "effect": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute." + }, + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category." + }, + "tolerationSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/122" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TopologySpreadConstraint", + "properties": { + "labelSelector": { + "type": { + "$ref": "#/16" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "matchLabelKeys": { + "type": { + "$ref": "#/125" + }, + "flags": 0, + "description": "MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector." + }, + "maxSkew": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. The global minimum is the minimum number of matching pods in an eligible domain or zero if the number of eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | | P P | P P | P | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed." + }, + "minDomains": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "MinDomains indicates a minimum number of eligible domains. When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number of eligible domains is less than minDomains, scheduler won't schedule more than maxSkew Pods to those domains. If value is nil, the constraint behaves as if MinDomains is equal to 1. Valid values are integers greater than 0. When value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same labelSelector spread as 2/2/2: | zone1 | zone2 | zone3 | | P P | P P | P P | The number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0. In this situation, new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will violate MaxSkew.\n\nThis is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default)." + }, + "nodeAffinityPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\nIf this value is nil, the behavior is equivalent to the Honor policy. This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread feature flag." + }, + "nodeTaintsPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included.\n\nIf this value is nil, the behavior is equivalent to the Ignore policy. This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread feature flag." + }, + "topologyKey": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. We define a domain as a particular instance of a topology. Also, we define an eligible domain as a domain whose nodes meet the requirements of nodeAffinityPolicy and nodeTaintsPolicy. e.g. If TopologyKey is \"kubernetes.io/hostname\", each Node is a domain of that topology. And, if TopologyKey is \"topology.kubernetes.io/zone\", each zone is a domain of that topology. It's a required field." + }, + "whenUnsatisfiable": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assignment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/124" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Volume", + "properties": { + "awsElasticBlockStore": { + "type": { + "$ref": "#/128" + }, + "flags": 0, + "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling." + }, + "azureDisk": { + "type": { + "$ref": "#/129" + }, + "flags": 0, + "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." + }, + "azureFile": { + "type": { + "$ref": "#/130" + }, + "flags": 0, + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod." + }, + "cephfs": { + "type": { + "$ref": "#/131" + }, + "flags": 0, + "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling." + }, + "cinder": { + "type": { + "$ref": "#/133" + }, + "flags": 0, + "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling." + }, + "configMap": { + "type": { + "$ref": "#/134" + }, + "flags": 0, + "description": "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling." + }, + "csi": { + "type": { + "$ref": "#/137" + }, + "flags": 0, + "description": "Represents a source location of a volume to mount, managed by an external CSI driver" + }, + "downwardAPI": { + "type": { + "$ref": "#/139" + }, + "flags": 0, + "description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling." + }, + "emptyDir": { + "type": { + "$ref": "#/142" + }, + "flags": 0, + "description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling." + }, + "ephemeral": { + "type": { + "$ref": "#/143" + }, + "flags": 0, + "description": "Represents an ephemeral volume that is handled by a normal storage driver." + }, + "fc": { + "type": { + "$ref": "#/148" + }, + "flags": 0, + "description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling." + }, + "flexVolume": { + "type": { + "$ref": "#/151" + }, + "flags": 0, + "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin." + }, + "flocker": { + "type": { + "$ref": "#/153" + }, + "flags": 0, + "description": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling." + }, + "gcePersistentDisk": { + "type": { + "$ref": "#/154" + }, + "flags": 0, + "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling." + }, + "gitRepo": { + "type": { + "$ref": "#/155" + }, + "flags": 0, + "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container." + }, + "glusterfs": { + "type": { + "$ref": "#/156" + }, + "flags": 0, + "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling." + }, + "hostPath": { + "type": { + "$ref": "#/157" + }, + "flags": 0, + "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling." + }, + "iscsi": { + "type": { + "$ref": "#/158" + }, + "flags": 0, + "description": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "nfs": { + "type": { + "$ref": "#/160" + }, + "flags": 0, + "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling." + }, + "persistentVolumeClaim": { + "type": { + "$ref": "#/161" + }, + "flags": 0, + "description": "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system)." + }, + "photonPersistentDisk": { + "type": { + "$ref": "#/162" + }, + "flags": 0, + "description": "Represents a Photon Controller persistent disk resource." + }, + "portworxVolume": { + "type": { + "$ref": "#/163" + }, + "flags": 0, + "description": "PortworxVolumeSource represents a Portworx volume resource." + }, + "projected": { + "type": { + "$ref": "#/164" + }, + "flags": 0, + "description": "Represents a projected volume source" + }, + "quobyte": { + "type": { + "$ref": "#/174" + }, + "flags": 0, + "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling." + }, + "rbd": { + "type": { + "$ref": "#/175" + }, + "flags": 0, + "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling." + }, + "scaleIO": { + "type": { + "$ref": "#/177" + }, + "flags": 0, + "description": "ScaleIOVolumeSource represents a persistent ScaleIO volume" + }, + "secret": { + "type": { + "$ref": "#/178" + }, + "flags": 0, + "description": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling." + }, + "storageos": { + "type": { + "$ref": "#/180" + }, + "flags": 0, + "description": "Represents a StorageOS persistent volume resource." + }, + "vsphereVolume": { + "type": { + "$ref": "#/181" + }, + "flags": 0, + "description": "Represents a vSphere volume resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AWSElasticBlockStoreVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + }, + "partition": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty)." + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AzureDiskVolumeSource", + "properties": { + "cachingMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "cachingMode is the Host Caching mode: None, Read Only, Read Write." + }, + "diskName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "diskName is the Name of the data disk in the blob storage" + }, + "diskURI": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "diskURI is the URI of data disk in the blob storage" + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared" + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AzureFileVolumeSource", + "properties": { + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "secretName is the name of secret that contains Azure Storage Account Name and Key" + }, + "shareName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "shareName is the azure share Name" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CephFSVolumeSource", + "properties": { + "monitors": { + "type": { + "$ref": "#/132" + }, + "flags": 1, + "description": "monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /" + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "secretFile": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "secretRef": { + "type": { + "$ref": "#/110" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "user is optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CinderVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + }, + "secretRef": { + "type": { + "$ref": "#/110" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "items": { + "type": { + "$ref": "#/136" + }, + "flags": 0, + "description": "items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "optional specify whether the ConfigMap or its keys must be defined" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1KeyToPath", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the key to project." + }, + "mode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/135" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CSIVolumeSource", + "properties": { + "driver": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster." + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply." + }, + "nodePublishSecretRef": { + "type": { + "$ref": "#/110" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "readOnly specifies a read-only configuration for the volume. Defaults to false (read/write)." + }, + "volumeAttributes": { + "type": { + "$ref": "#/138" + }, + "flags": 0, + "description": "volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CSIVolumeSourceVolumeAttributes", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1DownwardAPIVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "items": { + "type": { + "$ref": "#/141" + }, + "flags": 0, + "description": "Items is a list of downward API volume file" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1DownwardAPIVolumeFile", + "properties": { + "fieldRef": { + "type": { + "$ref": "#/58" + }, + "flags": 0, + "description": "ObjectFieldSelector selects an APIVersioned field of an object." + }, + "mode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'" + }, + "resourceFieldRef": { + "type": { + "$ref": "#/59" + }, + "flags": 0, + "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/140" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EmptyDirVolumeSource", + "properties": { + "medium": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "medium represents what type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir" + }, + "sizeLimit": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EphemeralVolumeSource", + "properties": { + "volumeClaimTemplate": { + "type": { + "$ref": "#/144" + }, + "flags": 0, + "description": "PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimTemplate", + "properties": { + "metadata": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create." + }, + "spec": { + "type": { + "$ref": "#/145" + }, + "flags": 1, + "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimSpec", + "properties": { + "accessModes": { + "type": { + "$ref": "#/146" + }, + "flags": 0, + "description": "accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1" + }, + "dataSource": { + "type": { + "$ref": "#/147" + }, + "flags": 0, + "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace." + }, + "dataSourceRef": { + "type": { + "$ref": "#/147" + }, + "flags": 0, + "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace." + }, + "resources": { + "type": { + "$ref": "#/78" + }, + "flags": 0, + "description": "ResourceRequirements describes the compute resource requirements." + }, + "selector": { + "type": { + "$ref": "#/16" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "storageClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" + }, + "volumeMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeName is the binding reference to the PersistentVolume backing this claim." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TypedLocalObjectReference", + "properties": { + "apiGroup": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind is the type of resource being referenced" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the name of resource being referenced" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FCVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "lun": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "lun is Optional: FC target lun number" + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "targetWWNs": { + "type": { + "$ref": "#/149" + }, + "flags": 0, + "description": "targetWWNs is Optional: FC target worldwide names (WWNs)" + }, + "wwids": { + "type": { + "$ref": "#/150" + }, + "flags": 0, + "description": "wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlexVolumeSource", + "properties": { + "driver": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "driver is the name of the driver to use for this volume." + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script." + }, + "options": { + "type": { + "$ref": "#/152" + }, + "flags": 0, + "description": "options is Optional: this field holds extra command options if any." + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/110" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlexVolumeSourceOptions", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlockerVolumeSource", + "properties": { + "datasetName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated" + }, + "datasetUUID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GCEPersistentDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "partition": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "pdName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GitRepoVolumeSource", + "properties": { + "directory": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name." + }, + "repository": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "repository is the URL" + }, + "revision": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "revision is the commit hash for the specified revision." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GlusterfsVolumeSource", + "properties": { + "endpoints": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HostPathVolumeSource", + "properties": { + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1IscsiVolumeSource", + "properties": { + "chapAuthDiscovery": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication" + }, + "chapAuthSession": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "chapAuthSession defines whether support iSCSI Session CHAP authentication" + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi" + }, + "initiatorName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection." + }, + "iqn": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "iqn is the target iSCSI Qualified Name." + }, + "iscsiInterface": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)." + }, + "lun": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "lun represents iSCSI Target Lun number." + }, + "portals": { + "type": { + "$ref": "#/159" + }, + "flags": 0, + "description": "portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)." + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false." + }, + "secretRef": { + "type": { + "$ref": "#/110" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "targetPortal": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NFSVolumeSource", + "properties": { + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "readOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + }, + "server": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimVolumeSource", + "properties": { + "claimName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "readOnly Will force the ReadOnly setting in VolumeMounts. Default false." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PhotonPersistentDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "pdID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "pdID is the ID that identifies Photon Controller persistent disk" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PortworxVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volumeID uniquely identifies a Portworx volume" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ProjectedVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "sources": { + "type": { + "$ref": "#/173" + }, + "flags": 0, + "description": "sources is the list of volume projections" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeProjection", + "properties": { + "configMap": { + "type": { + "$ref": "#/166" + }, + "flags": 0, + "description": "Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode." + }, + "downwardAPI": { + "type": { + "$ref": "#/168" + }, + "flags": 0, + "description": "Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode." + }, + "secret": { + "type": { + "$ref": "#/170" + }, + "flags": 0, + "description": "Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode." + }, + "serviceAccountToken": { + "type": { + "$ref": "#/172" + }, + "flags": 0, + "description": "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise)." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapProjection", + "properties": { + "items": { + "type": { + "$ref": "#/167" + }, + "flags": 0, + "description": "items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "optional specify whether the ConfigMap or its keys must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/135" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1DownwardAPIProjection", + "properties": { + "items": { + "type": { + "$ref": "#/169" + }, + "flags": 0, + "description": "Items is a list of DownwardAPIVolume file" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/140" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretProjection", + "properties": { + "items": { + "type": { + "$ref": "#/171" + }, + "flags": 0, + "description": "items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "optional field specify whether the Secret or its key must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/135" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ServiceAccountTokenProjection", + "properties": { + "audience": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver." + }, + "expirationSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "expirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "path is the path relative to the mount point of the file to project the token into." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/165" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1QuobyteVolumeSource", + "properties": { + "group": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "group to map volume access to Default is no group" + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false." + }, + "registry": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes" + }, + "tenant": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin" + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "user to map volume access to Defaults to serivceaccount user" + }, + "volume": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volume is a string that references an already created Quobyte volume by name." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1RBDVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd" + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "keyring": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "monitors": { + "type": { + "$ref": "#/176" + }, + "flags": 1, + "description": "monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "pool": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "secretRef": { + "type": { + "$ref": "#/110" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ScaleIOVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"." + }, + "gateway": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "gateway is the host address of the ScaleIO API Gateway." + }, + "protectionDomain": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "protectionDomain is the name of the ScaleIO Protection Domain for the configured storage." + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/110" + }, + "flags": 1, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "sslEnabled": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "sslEnabled Flag enable/disable SSL communication with Gateway, default false" + }, + "storageMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned." + }, + "storagePool": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "storagePool is the ScaleIO Storage Pool associated with the protection domain." + }, + "system": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "system is the name of the storage system as configured in ScaleIO." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "items": { + "type": { + "$ref": "#/179" + }, + "flags": 0, + "description": "items If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "optional": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "optional field specify whether the Secret or its keys must be defined" + }, + "secretName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "secretName is the name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/135" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1StorageOSVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/110" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace." + }, + "volumeNamespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VsphereVirtualDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "storagePolicyID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName." + }, + "storagePolicyName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "storagePolicyName is the storage Policy Based Management (SPBM) profile name." + }, + "volumePath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volumePath is the path that identifies vSphere volume vmdk" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/127" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1DaemonSetUpdateStrategy", + "properties": { + "rollingUpdate": { + "type": { + "$ref": "#/184" + }, + "flags": 0, + "description": "Spec to control the desired behavior of daemon set rolling update." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1RollingUpdateDaemonSet", + "properties": { + "maxSurge": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + }, + "maxUnavailable": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1DaemonSetStatus", + "properties": { + "collisionCount": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "conditions": { + "type": { + "$ref": "#/187" + }, + "flags": 0, + "description": "Represents the latest available observations of a DaemonSet's current state." + }, + "currentNumberScheduled": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "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/" + }, + "desiredNumberScheduled": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "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/" + }, + "numberAvailable": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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)" + }, + "numberMisscheduled": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "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/" + }, + "numberReady": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "numberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running with a Ready Condition." + }, + "numberUnavailable": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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)" + }, + "observedGeneration": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The most recent generation observed by the daemon set controller." + }, + "updatedNumberScheduled": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The total number of nodes that are running updated daemon pod" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1DaemonSetCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "A human readable message indicating details about the transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Status of the condition, one of True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type of DaemonSet condition." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/186" + } + }, + { + "$type": "ObjectType", + "name": "apps/DaemonSet", + "properties": { + "kind": { + "type": { + "$ref": "#/10" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/11" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/15" + }, + "flags": 0, + "description": "DaemonSetSpec is the specification of a daemon set." + }, + "status": { + "type": { + "$ref": "#/185" + }, + "flags": 0, + "description": "DaemonSetStatus represents the current status of a daemon set." + } + } + }, + { + "$type": "ResourceType", + "name": "apps/DaemonSet@v1", + "scopeType": 0, + "body": { + "$ref": "#/188" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "Deployment" + }, + { + "$type": "StringLiteralType", + "value": "apps/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/192" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/193" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1DeploymentSpec", + "properties": { + "minReadySeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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)" + }, + "paused": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Indicates that the deployment is paused." + }, + "progressDeadlineSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "replicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1." + }, + "revisionHistoryLimit": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "selector": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "strategy": { + "type": { + "$ref": "#/196" + }, + "flags": 0, + "description": "DeploymentStrategy describes how to replace existing pods with new ones." + }, + "template": { + "type": { + "$ref": "#/21" + }, + "flags": 1, + "description": "PodTemplateSpec describes the data a pod should have when created from a template" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1DeploymentStrategy", + "properties": { + "rollingUpdate": { + "type": { + "$ref": "#/197" + }, + "flags": 0, + "description": "Spec to control the desired behavior of rolling update." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1RollingUpdateDeployment", + "properties": { + "maxSurge": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + }, + "maxUnavailable": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1DeploymentStatus", + "properties": { + "availableReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment." + }, + "collisionCount": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "conditions": { + "type": { + "$ref": "#/200" + }, + "flags": 0, + "description": "Represents the latest available observations of a deployment's current state." + }, + "observedGeneration": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The generation observed by the deployment controller." + }, + "readyReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "readyReplicas is the number of pods targeted by this Deployment with a Ready Condition." + }, + "replicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector)." + }, + "unavailableReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "updatedReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1DeploymentCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "lastUpdateTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "A human readable message indicating details about the transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Status of the condition, one of True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type of deployment condition." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/199" + } + }, + { + "$type": "ObjectType", + "name": "apps/Deployment", + "properties": { + "kind": { + "type": { + "$ref": "#/190" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/191" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/194" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/195" + }, + "flags": 0, + "description": "DeploymentSpec is the specification of the desired behavior of the Deployment." + }, + "status": { + "type": { + "$ref": "#/198" + }, + "flags": 0, + "description": "DeploymentStatus is the most recently observed status of the Deployment." + } + } + }, + { + "$type": "ResourceType", + "name": "apps/Deployment@v1", + "scopeType": 0, + "body": { + "$ref": "#/201" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "ReplicaSet" + }, + { + "$type": "StringLiteralType", + "value": "apps/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/205" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/206" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1ReplicaSetSpec", + "properties": { + "minReadySeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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)" + }, + "replicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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" + }, + "selector": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "template": { + "type": { + "$ref": "#/21" + }, + "flags": 0, + "description": "PodTemplateSpec describes the data a pod should have when created from a template" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1ReplicaSetStatus", + "properties": { + "availableReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set." + }, + "conditions": { + "type": { + "$ref": "#/211" + }, + "flags": 0, + "description": "Represents the latest available observations of a replica set's current state." + }, + "fullyLabeledReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The number of pods that have labels matching the labels of the pod template of the replicaset." + }, + "observedGeneration": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet." + }, + "readyReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition." + }, + "replicas": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "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": "ObjectType", + "name": "IoK8SApiAppsV1ReplicaSetCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "A human readable message indicating details about the transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Status of the condition, one of True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type of replica set condition." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/210" + } + }, + { + "$type": "ObjectType", + "name": "apps/ReplicaSet", + "properties": { + "kind": { + "type": { + "$ref": "#/203" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/204" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/207" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/208" + }, + "flags": 0, + "description": "ReplicaSetSpec is the specification of a ReplicaSet." + }, + "status": { + "type": { + "$ref": "#/209" + }, + "flags": 0, + "description": "ReplicaSetStatus represents the current status of a ReplicaSet." + } + } + }, + { + "$type": "ResourceType", + "name": "apps/ReplicaSet@v1", + "scopeType": 0, + "body": { + "$ref": "#/212" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "StatefulSet" + }, + { + "$type": "StringLiteralType", + "value": "apps/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/216" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/217" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1StatefulSetSpec", + "properties": { + "minReadySeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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)" + }, + "persistentVolumeClaimRetentionPolicy": { + "type": { + "$ref": "#/220" + }, + "flags": 0, + "description": "StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates." + }, + "podManagementPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once." + }, + "replicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "revisionHistoryLimit": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "selector": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "serviceName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller." + }, + "template": { + "type": { + "$ref": "#/21" + }, + "flags": 1, + "description": "PodTemplateSpec describes the data a pod should have when created from a template" + }, + "updateStrategy": { + "type": { + "$ref": "#/221" + }, + "flags": 0, + "description": "StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy." + }, + "volumeClaimTemplates": { + "type": { + "$ref": "#/230" + }, + "flags": 0, + "description": "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1StatefulSetPersistentVolumeClaimRetentionPolicy", + "properties": { + "whenDeleted": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "WhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted. The default policy of `Retain` causes PVCs to not be affected by StatefulSet deletion. The `Delete` policy causes those PVCs to be deleted." + }, + "whenScaled": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "WhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down. The default policy of `Retain` causes PVCs to not be affected by a scaledown. The `Delete` policy causes the associated PVCs for any excess pods above the replica count to be deleted." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1StatefulSetUpdateStrategy", + "properties": { + "rollingUpdate": { + "type": { + "$ref": "#/222" + }, + "flags": 0, + "description": "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1RollingUpdateStatefulSetStrategy", + "properties": { + "maxUnavailable": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + }, + "partition": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned for updates. During a rolling update, all pods from ordinal Replicas-1 to Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched. This is helpful in being able to do a canary based deployment. The default value is 0." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaim", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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/sig-architecture/api-conventions.md#types-kinds" + }, + "metadata": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create." + }, + "spec": { + "type": { + "$ref": "#/145" + }, + "flags": 0, + "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes" + }, + "status": { + "type": { + "$ref": "#/224" + }, + "flags": 0, + "description": "PersistentVolumeClaimStatus is the current status of a persistent volume claim." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimStatus", + "properties": { + "accessModes": { + "type": { + "$ref": "#/225" + }, + "flags": 0, + "description": "accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1" + }, + "allocatedResources": { + "type": { + "$ref": "#/226" + }, + "flags": 0, + "description": "allocatedResources is the storage resource within AllocatedResources tracks the capacity allocated to a PVC. It may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature." + }, + "capacity": { + "type": { + "$ref": "#/227" + }, + "flags": 0, + "description": "capacity represents the actual resources of the underlying volume." + }, + "conditions": { + "type": { + "$ref": "#/229" + }, + "flags": 0, + "description": "conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'." + }, + "phase": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "phase represents the current phase of PersistentVolumeClaim." + }, + "resizeStatus": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "resizeStatus stores status of resize operation. ResizeStatus is not set by default but when expansion is complete resizeStatus is set to empty string by resize controller or kubelet. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimStatusAllocatedResources", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimStatusCapacity", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimCondition", + "properties": { + "lastProbeTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "message is the human-readable message indicating details about last transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "reason is a unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/228" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/223" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1StatefulSetStatus", + "properties": { + "availableReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset." + }, + "collisionCount": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "conditions": { + "type": { + "$ref": "#/233" + }, + "flags": 0, + "description": "Represents the latest available observations of a statefulset's current state." + }, + "currentReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision." + }, + "currentRevision": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas)." + }, + "observedGeneration": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "readyReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "readyReplicas is the number of pods created for this StatefulSet with a Ready Condition." + }, + "replicas": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "replicas is the number of Pods created by the StatefulSet controller." + }, + "updateRevision": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)" + }, + "updatedReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1StatefulSetCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "A human readable message indicating details about the transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Status of the condition, one of True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type of statefulset condition." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/232" + } + }, + { + "$type": "ObjectType", + "name": "apps/StatefulSet", + "properties": { + "kind": { + "type": { + "$ref": "#/214" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/215" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/218" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/219" + }, + "flags": 0, + "description": "A StatefulSetSpec is the specification of a StatefulSet." + }, + "status": { + "type": { + "$ref": "#/231" + }, + "flags": 0, + "description": "StatefulSetStatus represents the current state of a StatefulSet." + } + } + }, + { + "$type": "ResourceType", + "name": "apps/StatefulSet@v1", + "scopeType": 0, + "body": { + "$ref": "#/234" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/generated/kubernetes/autoscaling/v1/types.json b/generated/kubernetes/autoscaling/v1/types.json index b028ef59..4b6d8df1 100644 --- a/generated/kubernetes/autoscaling/v1/types.json +++ b/generated/kubernetes/autoscaling/v1/types.json @@ -1 +1,359 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"Scale"}},{"6":{"Value":"autoscaling/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiAutoscalingV1ScaleSpec","Properties":{"replicas":{"Type":3,"Flags":0,"Description":"desired number of instances for the scaled object."}}}},{"2":{"Name":"IoK8SApiAutoscalingV1ScaleStatus","Properties":{"replicas":{"Type":3,"Flags":1,"Description":"actual number of observed instances of the scaled object."},"selector":{"Type":4,"Flags":0,"Description":"label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors"}}}},{"2":{"Name":"autoscaling/Scale","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":0,"Description":"ScaleSpec describes the attributes of a scale subresource."},"status":{"Type":14,"Flags":0,"Description":"ScaleStatus represents the current status of a scale subresource."}}}},{"4":{"Name":"autoscaling/Scale@v1","ScopeType":0,"Body":15,"Flags":0}},{"6":{"Value":"HorizontalPodAutoscaler"}},{"6":{"Value":"autoscaling/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":19,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":20,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiAutoscalingV1HorizontalPodAutoscalerSpec","Properties":{"maxReplicas":{"Type":3,"Flags":1,"Description":"upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas."},"minReplicas":{"Type":3,"Flags":0,"Description":"minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available."},"scaleTargetRef":{"Type":23,"Flags":1,"Description":"CrossVersionObjectReference contains enough information to let you identify the referred resource."},"targetCPUUtilizationPercentage":{"Type":3,"Flags":0,"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."}}}},{"2":{"Name":"IoK8SApiAutoscalingV1CrossVersionObjectReference","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"API version of the referent"},"kind":{"Type":4,"Flags":1,"Description":"Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\""},"name":{"Type":4,"Flags":1,"Description":"Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"}}}},{"2":{"Name":"IoK8SApiAutoscalingV1HorizontalPodAutoscalerStatus","Properties":{"currentCPUUtilizationPercentage":{"Type":3,"Flags":0,"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."},"currentReplicas":{"Type":3,"Flags":1,"Description":"current number of replicas of pods managed by this autoscaler."},"desiredReplicas":{"Type":3,"Flags":1,"Description":"desired number of replicas of pods managed by this autoscaler."},"lastScaleTime":{"Type":4,"Flags":0,"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."},"observedGeneration":{"Type":3,"Flags":0,"Description":"most recent generation observed by this autoscaler."}}}},{"2":{"Name":"autoscaling/HorizontalPodAutoscaler","Properties":{"kind":{"Type":17,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":18,"Flags":10,"Description":"The api version."},"metadata":{"Type":21,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":22,"Flags":0,"Description":"specification of a horizontal pod autoscaler."},"status":{"Type":24,"Flags":0,"Description":"current status of a horizontal pod autoscaler"}}}},{"4":{"Name":"autoscaling/HorizontalPodAutoscaler@v1","ScopeType":0,"Body":25,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "Scale" + }, + { + "$type": "StringLiteralType", + "value": "autoscaling/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV1ScaleSpec", + "properties": { + "replicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "desired number of instances for the scaled object." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV1ScaleStatus", + "properties": { + "replicas": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "actual number of observed instances of the scaled object." + }, + "selector": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors" + } + } + }, + { + "$type": "ObjectType", + "name": "autoscaling/Scale", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "ScaleSpec describes the attributes of a scale subresource." + }, + "status": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "ScaleStatus represents the current status of a scale subresource." + } + } + }, + { + "$type": "ResourceType", + "name": "autoscaling/Scale@v1", + "scopeType": 0, + "body": { + "$ref": "#/9" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "HorizontalPodAutoscaler" + }, + { + "$type": "StringLiteralType", + "value": "autoscaling/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV1HorizontalPodAutoscalerSpec", + "properties": { + "maxReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas." + }, + "minReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available." + }, + "scaleTargetRef": { + "type": { + "$ref": "#/17" + }, + "flags": 1, + "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource." + }, + "targetCPUUtilizationPercentage": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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": "ObjectType", + "name": "IoK8SApiAutoscalingV1CrossVersionObjectReference", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "API version of the referent" + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\"" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV1HorizontalPodAutoscalerStatus", + "properties": { + "currentCPUUtilizationPercentage": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "currentReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "current number of replicas of pods managed by this autoscaler." + }, + "desiredReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "desired number of replicas of pods managed by this autoscaler." + }, + "lastScaleTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "observedGeneration": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "most recent generation observed by this autoscaler." + } + } + }, + { + "$type": "ObjectType", + "name": "autoscaling/HorizontalPodAutoscaler", + "properties": { + "kind": { + "type": { + "$ref": "#/11" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/12" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/15" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/16" + }, + "flags": 0, + "description": "specification of a horizontal pod autoscaler." + }, + "status": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "current status of a horizontal pod autoscaler" + } + } + }, + { + "$type": "ResourceType", + "name": "autoscaling/HorizontalPodAutoscaler@v1", + "scopeType": 0, + "body": { + "$ref": "#/19" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/generated/kubernetes/autoscaling/v2/types.json b/generated/kubernetes/autoscaling/v2/types.json index 47ad1469..2ba8ddd1 100644 --- a/generated/kubernetes/autoscaling/v2/types.json +++ b/generated/kubernetes/autoscaling/v2/types.json @@ -1 +1,843 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"HorizontalPodAutoscaler"}},{"6":{"Value":"autoscaling/v2"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2HorizontalPodAutoscalerSpec","Properties":{"behavior":{"Type":14,"Flags":0,"Description":"HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively)."},"maxReplicas":{"Type":3,"Flags":1,"Description":"maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas."},"metrics":{"Type":32,"Flags":0,"Description":"metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization."},"minReplicas":{"Type":3,"Flags":0,"Description":"minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available."},"scaleTargetRef":{"Type":29,"Flags":1,"Description":"CrossVersionObjectReference contains enough information to let you identify the referred resource."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2HorizontalPodAutoscalerBehavior","Properties":{"scaleDown":{"Type":15,"Flags":0,"Description":"HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen."},"scaleUp":{"Type":15,"Flags":0,"Description":"HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2HPAScalingRules","Properties":{"policies":{"Type":17,"Flags":0,"Description":"policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid"},"selectPolicy":{"Type":4,"Flags":0,"Description":"selectPolicy is used to specify which policy should be used. If not set, the default value Max is used."},"stabilizationWindowSeconds":{"Type":3,"Flags":0,"Description":"StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long)."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2HPAScalingPolicy","Properties":{"periodSeconds":{"Type":3,"Flags":1,"Description":"PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min)."},"type":{"Type":4,"Flags":1,"Description":"Type is used to specify the scaling policy."},"value":{"Type":3,"Flags":1,"Description":"Value contains the amount of change which is permitted by the policy. It must be greater than zero"}}}},{"3":{"ItemType":16}},{"2":{"Name":"IoK8SApiAutoscalingV2MetricSpec","Properties":{"containerResource":{"Type":19,"Flags":0,"Description":"ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set."},"external":{"Type":21,"Flags":0,"Description":"ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."},"object":{"Type":28,"Flags":0,"Description":"ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object)."},"pods":{"Type":30,"Flags":0,"Description":"PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."},"resource":{"Type":31,"Flags":0,"Description":"ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set."},"type":{"Type":4,"Flags":1,"Description":"type is the type of metric source. It should be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object. Note: \"ContainerResource\" type is available on when the feature-gate HPAContainerMetrics is enabled"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2ContainerResourceMetricSource","Properties":{"container":{"Type":4,"Flags":1,"Description":"container is the name of the container in the pods of the scaling target"},"name":{"Type":4,"Flags":1,"Description":"name is the name of the resource in question."},"target":{"Type":20,"Flags":1,"Description":"MetricTarget defines the target value, average value, or average utilization of a specific metric"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2MetricTarget","Properties":{"averageUtilization":{"Type":3,"Flags":0,"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"},"averageValue":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."},"type":{"Type":4,"Flags":1,"Description":"type represents whether the metric type is Utilization, Value, or AverageValue"},"value":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2ExternalMetricSource","Properties":{"metric":{"Type":22,"Flags":1,"Description":"MetricIdentifier defines the name and optionally selector for a metric"},"target":{"Type":20,"Flags":1,"Description":"MetricTarget defines the target value, average value, or average utilization of a specific metric"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2MetricIdentifier","Properties":{"name":{"Type":4,"Flags":1,"Description":"name is the name of the given metric"},"selector":{"Type":23,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelector","Properties":{"matchExpressions":{"Type":26,"Flags":0,"Description":"matchExpressions is a list of label selector requirements. The requirements are ANDed."},"matchLabels":{"Type":27,"Flags":0,"Description":"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."},"values":{"Type":25,"Flags":0,"Description":"values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":24}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiAutoscalingV2ObjectMetricSource","Properties":{"describedObject":{"Type":29,"Flags":1,"Description":"CrossVersionObjectReference contains enough information to let you identify the referred resource."},"metric":{"Type":22,"Flags":1,"Description":"MetricIdentifier defines the name and optionally selector for a metric"},"target":{"Type":20,"Flags":1,"Description":"MetricTarget defines the target value, average value, or average utilization of a specific metric"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2CrossVersionObjectReference","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"API version of the referent"},"kind":{"Type":4,"Flags":1,"Description":"Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\""},"name":{"Type":4,"Flags":1,"Description":"Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2PodsMetricSource","Properties":{"metric":{"Type":22,"Flags":1,"Description":"MetricIdentifier defines the name and optionally selector for a metric"},"target":{"Type":20,"Flags":1,"Description":"MetricTarget defines the target value, average value, or average utilization of a specific metric"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2ResourceMetricSource","Properties":{"name":{"Type":4,"Flags":1,"Description":"name is the name of the resource in question."},"target":{"Type":20,"Flags":1,"Description":"MetricTarget defines the target value, average value, or average utilization of a specific metric"}}}},{"3":{"ItemType":18}},{"2":{"Name":"IoK8SApiAutoscalingV2HorizontalPodAutoscalerStatus","Properties":{"conditions":{"Type":35,"Flags":0,"Description":"conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met."},"currentMetrics":{"Type":43,"Flags":0,"Description":"currentMetrics is the last read state of the metrics used by this autoscaler."},"currentReplicas":{"Type":3,"Flags":0,"Description":"currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler."},"desiredReplicas":{"Type":3,"Flags":1,"Description":"desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler."},"lastScaleTime":{"Type":4,"Flags":0,"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."},"observedGeneration":{"Type":3,"Flags":0,"Description":"observedGeneration is the most recent generation observed by this autoscaler."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2HorizontalPodAutoscalerCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"message is a human-readable explanation containing details about the transition"},"reason":{"Type":4,"Flags":0,"Description":"reason is the reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"status is the status of the condition (True, False, Unknown)"},"type":{"Type":4,"Flags":1,"Description":"type describes the current condition"}}}},{"3":{"ItemType":34}},{"2":{"Name":"IoK8SApiAutoscalingV2MetricStatus","Properties":{"containerResource":{"Type":37,"Flags":0,"Description":"ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source."},"external":{"Type":39,"Flags":0,"Description":"ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object."},"object":{"Type":40,"Flags":0,"Description":"ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object)."},"pods":{"Type":41,"Flags":0,"Description":"PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second)."},"resource":{"Type":42,"Flags":0,"Description":"ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source."},"type":{"Type":4,"Flags":1,"Description":"type is the type of metric source. It will be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object. Note: \"ContainerResource\" type is available on when the feature-gate HPAContainerMetrics is enabled"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2ContainerResourceMetricStatus","Properties":{"container":{"Type":4,"Flags":1,"Description":"Container is the name of the container in the pods of the scaling target"},"current":{"Type":38,"Flags":1,"Description":"MetricValueStatus holds the current value for a metric"},"name":{"Type":4,"Flags":1,"Description":"Name is the name of the resource in question."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2MetricValueStatus","Properties":{"averageUtilization":{"Type":3,"Flags":0,"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."},"averageValue":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."},"value":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2ExternalMetricStatus","Properties":{"current":{"Type":38,"Flags":1,"Description":"MetricValueStatus holds the current value for a metric"},"metric":{"Type":22,"Flags":1,"Description":"MetricIdentifier defines the name and optionally selector for a metric"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2ObjectMetricStatus","Properties":{"current":{"Type":38,"Flags":1,"Description":"MetricValueStatus holds the current value for a metric"},"describedObject":{"Type":29,"Flags":1,"Description":"CrossVersionObjectReference contains enough information to let you identify the referred resource."},"metric":{"Type":22,"Flags":1,"Description":"MetricIdentifier defines the name and optionally selector for a metric"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2PodsMetricStatus","Properties":{"current":{"Type":38,"Flags":1,"Description":"MetricValueStatus holds the current value for a metric"},"metric":{"Type":22,"Flags":1,"Description":"MetricIdentifier defines the name and optionally selector for a metric"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2ResourceMetricStatus","Properties":{"current":{"Type":38,"Flags":1,"Description":"MetricValueStatus holds the current value for a metric"},"name":{"Type":4,"Flags":1,"Description":"Name is the name of the resource in question."}}}},{"3":{"ItemType":36}},{"2":{"Name":"autoscaling/HorizontalPodAutoscaler","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":0,"Description":"HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler."},"status":{"Type":33,"Flags":0,"Description":"HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler."}}}},{"4":{"Name":"autoscaling/HorizontalPodAutoscaler@v2","ScopeType":0,"Body":44,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "HorizontalPodAutoscaler" + }, + { + "$type": "StringLiteralType", + "value": "autoscaling/v2" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2HorizontalPodAutoscalerSpec", + "properties": { + "behavior": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively)." + }, + "maxReplicas": { + "type": { + "$ref": "#/10" + }, + "flags": 1, + "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas." + }, + "metrics": { + "type": { + "$ref": "#/26" + }, + "flags": 0, + "description": "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization." + }, + "minReplicas": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available." + }, + "scaleTargetRef": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2HorizontalPodAutoscalerBehavior", + "properties": { + "scaleDown": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen." + }, + "scaleUp": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2HPAScalingRules", + "properties": { + "policies": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid" + }, + "selectPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "selectPolicy is used to specify which policy should be used. If not set, the default value Max is used." + }, + "stabilizationWindowSeconds": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long)." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2HPAScalingPolicy", + "properties": { + "periodSeconds": { + "type": { + "$ref": "#/10" + }, + "flags": 1, + "description": "PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min)." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type is used to specify the scaling policy." + }, + "value": { + "type": { + "$ref": "#/10" + }, + "flags": 1, + "description": "Value contains the amount of change which is permitted by the policy. It must be greater than zero" + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/9" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2MetricSpec", + "properties": { + "containerResource": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set." + }, + "external": { + "type": { + "$ref": "#/15" + }, + "flags": 0, + "description": "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." + }, + "object": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object)." + }, + "pods": { + "type": { + "$ref": "#/24" + }, + "flags": 0, + "description": "PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value." + }, + "resource": { + "type": { + "$ref": "#/25" + }, + "flags": 0, + "description": "ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type is the type of metric source. It should be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object. Note: \"ContainerResource\" type is available on when the feature-gate HPAContainerMetrics is enabled" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2ContainerResourceMetricSource", + "properties": { + "container": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "container is the name of the container in the pods of the scaling target" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name is the name of the resource in question." + }, + "target": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2MetricTarget", + "properties": { + "averageUtilization": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "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" + }, + "averageValue": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type represents whether the metric type is Utilization, Value, or AverageValue" + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2ExternalMetricSource", + "properties": { + "metric": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "MetricIdentifier defines the name and optionally selector for a metric" + }, + "target": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2MetricIdentifier", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name is the name of the given metric" + }, + "selector": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelector", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." + }, + "matchLabels": { + "type": { + "$ref": "#/21" + }, + "flags": 0, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/18" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2ObjectMetricSource", + "properties": { + "describedObject": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource." + }, + "metric": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "MetricIdentifier defines the name and optionally selector for a metric" + }, + "target": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2CrossVersionObjectReference", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "API version of the referent" + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\"" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2PodsMetricSource", + "properties": { + "metric": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "MetricIdentifier defines the name and optionally selector for a metric" + }, + "target": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2ResourceMetricSource", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name is the name of the resource in question." + }, + "target": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/12" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2HorizontalPodAutoscalerStatus", + "properties": { + "conditions": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met." + }, + "currentMetrics": { + "type": { + "$ref": "#/37" + }, + "flags": 0, + "description": "currentMetrics is the last read state of the metrics used by this autoscaler." + }, + "currentReplicas": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler." + }, + "desiredReplicas": { + "type": { + "$ref": "#/10" + }, + "flags": 1, + "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler." + }, + "lastScaleTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "observedGeneration": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "observedGeneration is the most recent generation observed by this autoscaler." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2HorizontalPodAutoscalerCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "message is a human-readable explanation containing details about the transition" + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "reason is the reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "status is the status of the condition (True, False, Unknown)" + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type describes the current condition" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/28" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2MetricStatus", + "properties": { + "containerResource": { + "type": { + "$ref": "#/31" + }, + "flags": 0, + "description": "ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source." + }, + "external": { + "type": { + "$ref": "#/33" + }, + "flags": 0, + "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object." + }, + "object": { + "type": { + "$ref": "#/34" + }, + "flags": 0, + "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object)." + }, + "pods": { + "type": { + "$ref": "#/35" + }, + "flags": 0, + "description": "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second)." + }, + "resource": { + "type": { + "$ref": "#/36" + }, + "flags": 0, + "description": "ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type is the type of metric source. It will be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object. Note: \"ContainerResource\" type is available on when the feature-gate HPAContainerMetrics is enabled" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2ContainerResourceMetricStatus", + "properties": { + "container": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Container is the name of the container in the pods of the scaling target" + }, + "current": { + "type": { + "$ref": "#/32" + }, + "flags": 1, + "description": "MetricValueStatus holds the current value for a metric" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the name of the resource in question." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2MetricValueStatus", + "properties": { + "averageUtilization": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "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." + }, + "averageValue": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2ExternalMetricStatus", + "properties": { + "current": { + "type": { + "$ref": "#/32" + }, + "flags": 1, + "description": "MetricValueStatus holds the current value for a metric" + }, + "metric": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "MetricIdentifier defines the name and optionally selector for a metric" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2ObjectMetricStatus", + "properties": { + "current": { + "type": { + "$ref": "#/32" + }, + "flags": 1, + "description": "MetricValueStatus holds the current value for a metric" + }, + "describedObject": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource." + }, + "metric": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "MetricIdentifier defines the name and optionally selector for a metric" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2PodsMetricStatus", + "properties": { + "current": { + "type": { + "$ref": "#/32" + }, + "flags": 1, + "description": "MetricValueStatus holds the current value for a metric" + }, + "metric": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "MetricIdentifier defines the name and optionally selector for a metric" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2ResourceMetricStatus", + "properties": { + "current": { + "type": { + "$ref": "#/32" + }, + "flags": 1, + "description": "MetricValueStatus holds the current value for a metric" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the name of the resource in question." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/30" + } + }, + { + "$type": "ObjectType", + "name": "autoscaling/HorizontalPodAutoscaler", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler." + }, + "status": { + "type": { + "$ref": "#/27" + }, + "flags": 0, + "description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler." + } + } + }, + { + "$type": "ResourceType", + "name": "autoscaling/HorizontalPodAutoscaler@v2", + "scopeType": 0, + "body": { + "$ref": "#/38" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/generated/kubernetes/autoscaling/v2beta2/types.json b/generated/kubernetes/autoscaling/v2beta2/types.json index 55325131..0736de04 100644 --- a/generated/kubernetes/autoscaling/v2beta2/types.json +++ b/generated/kubernetes/autoscaling/v2beta2/types.json @@ -1 +1,843 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"HorizontalPodAutoscaler"}},{"6":{"Value":"autoscaling/v2beta2"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2HorizontalPodAutoscalerSpec","Properties":{"behavior":{"Type":14,"Flags":0,"Description":"HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively)."},"maxReplicas":{"Type":3,"Flags":1,"Description":"maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas."},"metrics":{"Type":32,"Flags":0,"Description":"metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization."},"minReplicas":{"Type":3,"Flags":0,"Description":"minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available."},"scaleTargetRef":{"Type":29,"Flags":1,"Description":"CrossVersionObjectReference contains enough information to let you identify the referred resource."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2HorizontalPodAutoscalerBehavior","Properties":{"scaleDown":{"Type":15,"Flags":0,"Description":"HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen."},"scaleUp":{"Type":15,"Flags":0,"Description":"HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2HPAScalingRules","Properties":{"policies":{"Type":17,"Flags":0,"Description":"policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid"},"selectPolicy":{"Type":4,"Flags":0,"Description":"selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used."},"stabilizationWindowSeconds":{"Type":3,"Flags":0,"Description":"StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long)."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2HPAScalingPolicy","Properties":{"periodSeconds":{"Type":3,"Flags":1,"Description":"PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min)."},"type":{"Type":4,"Flags":1,"Description":"Type is used to specify the scaling policy."},"value":{"Type":3,"Flags":1,"Description":"Value contains the amount of change which is permitted by the policy. It must be greater than zero"}}}},{"3":{"ItemType":16}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2MetricSpec","Properties":{"containerResource":{"Type":19,"Flags":0,"Description":"ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set."},"external":{"Type":21,"Flags":0,"Description":"ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."},"object":{"Type":28,"Flags":0,"Description":"ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object)."},"pods":{"Type":30,"Flags":0,"Description":"PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."},"resource":{"Type":31,"Flags":0,"Description":"ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set."},"type":{"Type":4,"Flags":1,"Description":"type is the type of metric source. It should be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object. Note: \"ContainerResource\" type is available on when the feature-gate HPAContainerMetrics is enabled"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2ContainerResourceMetricSource","Properties":{"container":{"Type":4,"Flags":1,"Description":"container is the name of the container in the pods of the scaling target"},"name":{"Type":4,"Flags":1,"Description":"name is the name of the resource in question."},"target":{"Type":20,"Flags":1,"Description":"MetricTarget defines the target value, average value, or average utilization of a specific metric"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2MetricTarget","Properties":{"averageUtilization":{"Type":3,"Flags":0,"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"},"averageValue":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."},"type":{"Type":4,"Flags":1,"Description":"type represents whether the metric type is Utilization, Value, or AverageValue"},"value":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2ExternalMetricSource","Properties":{"metric":{"Type":22,"Flags":1,"Description":"MetricIdentifier defines the name and optionally selector for a metric"},"target":{"Type":20,"Flags":1,"Description":"MetricTarget defines the target value, average value, or average utilization of a specific metric"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2MetricIdentifier","Properties":{"name":{"Type":4,"Flags":1,"Description":"name is the name of the given metric"},"selector":{"Type":23,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelector","Properties":{"matchExpressions":{"Type":26,"Flags":0,"Description":"matchExpressions is a list of label selector requirements. The requirements are ANDed."},"matchLabels":{"Type":27,"Flags":0,"Description":"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."},"values":{"Type":25,"Flags":0,"Description":"values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":24}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2ObjectMetricSource","Properties":{"describedObject":{"Type":29,"Flags":1,"Description":"CrossVersionObjectReference contains enough information to let you identify the referred resource."},"metric":{"Type":22,"Flags":1,"Description":"MetricIdentifier defines the name and optionally selector for a metric"},"target":{"Type":20,"Flags":1,"Description":"MetricTarget defines the target value, average value, or average utilization of a specific metric"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2CrossVersionObjectReference","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"API version of the referent"},"kind":{"Type":4,"Flags":1,"Description":"Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\""},"name":{"Type":4,"Flags":1,"Description":"Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2PodsMetricSource","Properties":{"metric":{"Type":22,"Flags":1,"Description":"MetricIdentifier defines the name and optionally selector for a metric"},"target":{"Type":20,"Flags":1,"Description":"MetricTarget defines the target value, average value, or average utilization of a specific metric"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2ResourceMetricSource","Properties":{"name":{"Type":4,"Flags":1,"Description":"name is the name of the resource in question."},"target":{"Type":20,"Flags":1,"Description":"MetricTarget defines the target value, average value, or average utilization of a specific metric"}}}},{"3":{"ItemType":18}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2HorizontalPodAutoscalerStatus","Properties":{"conditions":{"Type":35,"Flags":0,"Description":"conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met."},"currentMetrics":{"Type":43,"Flags":0,"Description":"currentMetrics is the last read state of the metrics used by this autoscaler."},"currentReplicas":{"Type":3,"Flags":1,"Description":"currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler."},"desiredReplicas":{"Type":3,"Flags":1,"Description":"desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler."},"lastScaleTime":{"Type":4,"Flags":0,"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."},"observedGeneration":{"Type":3,"Flags":0,"Description":"observedGeneration is the most recent generation observed by this autoscaler."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2HorizontalPodAutoscalerCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"message is a human-readable explanation containing details about the transition"},"reason":{"Type":4,"Flags":0,"Description":"reason is the reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"status is the status of the condition (True, False, Unknown)"},"type":{"Type":4,"Flags":1,"Description":"type describes the current condition"}}}},{"3":{"ItemType":34}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2MetricStatus","Properties":{"containerResource":{"Type":37,"Flags":0,"Description":"ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source."},"external":{"Type":39,"Flags":0,"Description":"ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object."},"object":{"Type":40,"Flags":0,"Description":"ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object)."},"pods":{"Type":41,"Flags":0,"Description":"PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second)."},"resource":{"Type":42,"Flags":0,"Description":"ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source."},"type":{"Type":4,"Flags":1,"Description":"type is the type of metric source. It will be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object. Note: \"ContainerResource\" type is available on when the feature-gate HPAContainerMetrics is enabled"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2ContainerResourceMetricStatus","Properties":{"container":{"Type":4,"Flags":1,"Description":"Container is the name of the container in the pods of the scaling target"},"current":{"Type":38,"Flags":1,"Description":"MetricValueStatus holds the current value for a metric"},"name":{"Type":4,"Flags":1,"Description":"Name is the name of the resource in question."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2MetricValueStatus","Properties":{"averageUtilization":{"Type":3,"Flags":0,"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."},"averageValue":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."},"value":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2ExternalMetricStatus","Properties":{"current":{"Type":38,"Flags":1,"Description":"MetricValueStatus holds the current value for a metric"},"metric":{"Type":22,"Flags":1,"Description":"MetricIdentifier defines the name and optionally selector for a metric"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2ObjectMetricStatus","Properties":{"current":{"Type":38,"Flags":1,"Description":"MetricValueStatus holds the current value for a metric"},"describedObject":{"Type":29,"Flags":1,"Description":"CrossVersionObjectReference contains enough information to let you identify the referred resource."},"metric":{"Type":22,"Flags":1,"Description":"MetricIdentifier defines the name and optionally selector for a metric"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2PodsMetricStatus","Properties":{"current":{"Type":38,"Flags":1,"Description":"MetricValueStatus holds the current value for a metric"},"metric":{"Type":22,"Flags":1,"Description":"MetricIdentifier defines the name and optionally selector for a metric"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2ResourceMetricStatus","Properties":{"current":{"Type":38,"Flags":1,"Description":"MetricValueStatus holds the current value for a metric"},"name":{"Type":4,"Flags":1,"Description":"Name is the name of the resource in question."}}}},{"3":{"ItemType":36}},{"2":{"Name":"autoscaling/HorizontalPodAutoscaler","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":0,"Description":"HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler."},"status":{"Type":33,"Flags":0,"Description":"HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler."}}}},{"4":{"Name":"autoscaling/HorizontalPodAutoscaler@v2beta2","ScopeType":0,"Body":44,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "HorizontalPodAutoscaler" + }, + { + "$type": "StringLiteralType", + "value": "autoscaling/v2beta2" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2HorizontalPodAutoscalerSpec", + "properties": { + "behavior": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively)." + }, + "maxReplicas": { + "type": { + "$ref": "#/10" + }, + "flags": 1, + "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas." + }, + "metrics": { + "type": { + "$ref": "#/26" + }, + "flags": 0, + "description": "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization." + }, + "minReplicas": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available." + }, + "scaleTargetRef": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2HorizontalPodAutoscalerBehavior", + "properties": { + "scaleDown": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen." + }, + "scaleUp": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2HPAScalingRules", + "properties": { + "policies": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid" + }, + "selectPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used." + }, + "stabilizationWindowSeconds": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long)." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2HPAScalingPolicy", + "properties": { + "periodSeconds": { + "type": { + "$ref": "#/10" + }, + "flags": 1, + "description": "PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min)." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type is used to specify the scaling policy." + }, + "value": { + "type": { + "$ref": "#/10" + }, + "flags": 1, + "description": "Value contains the amount of change which is permitted by the policy. It must be greater than zero" + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/9" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2MetricSpec", + "properties": { + "containerResource": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set." + }, + "external": { + "type": { + "$ref": "#/15" + }, + "flags": 0, + "description": "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." + }, + "object": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object)." + }, + "pods": { + "type": { + "$ref": "#/24" + }, + "flags": 0, + "description": "PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value." + }, + "resource": { + "type": { + "$ref": "#/25" + }, + "flags": 0, + "description": "ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type is the type of metric source. It should be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object. Note: \"ContainerResource\" type is available on when the feature-gate HPAContainerMetrics is enabled" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2ContainerResourceMetricSource", + "properties": { + "container": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "container is the name of the container in the pods of the scaling target" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name is the name of the resource in question." + }, + "target": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2MetricTarget", + "properties": { + "averageUtilization": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "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" + }, + "averageValue": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type represents whether the metric type is Utilization, Value, or AverageValue" + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2ExternalMetricSource", + "properties": { + "metric": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "MetricIdentifier defines the name and optionally selector for a metric" + }, + "target": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2MetricIdentifier", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name is the name of the given metric" + }, + "selector": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelector", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." + }, + "matchLabels": { + "type": { + "$ref": "#/21" + }, + "flags": 0, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/18" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2ObjectMetricSource", + "properties": { + "describedObject": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource." + }, + "metric": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "MetricIdentifier defines the name and optionally selector for a metric" + }, + "target": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2CrossVersionObjectReference", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "API version of the referent" + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\"" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2PodsMetricSource", + "properties": { + "metric": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "MetricIdentifier defines the name and optionally selector for a metric" + }, + "target": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2ResourceMetricSource", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name is the name of the resource in question." + }, + "target": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/12" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2HorizontalPodAutoscalerStatus", + "properties": { + "conditions": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met." + }, + "currentMetrics": { + "type": { + "$ref": "#/37" + }, + "flags": 0, + "description": "currentMetrics is the last read state of the metrics used by this autoscaler." + }, + "currentReplicas": { + "type": { + "$ref": "#/10" + }, + "flags": 1, + "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler." + }, + "desiredReplicas": { + "type": { + "$ref": "#/10" + }, + "flags": 1, + "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler." + }, + "lastScaleTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "observedGeneration": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "observedGeneration is the most recent generation observed by this autoscaler." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2HorizontalPodAutoscalerCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "message is a human-readable explanation containing details about the transition" + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "reason is the reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "status is the status of the condition (True, False, Unknown)" + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type describes the current condition" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/28" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2MetricStatus", + "properties": { + "containerResource": { + "type": { + "$ref": "#/31" + }, + "flags": 0, + "description": "ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source." + }, + "external": { + "type": { + "$ref": "#/33" + }, + "flags": 0, + "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object." + }, + "object": { + "type": { + "$ref": "#/34" + }, + "flags": 0, + "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object)." + }, + "pods": { + "type": { + "$ref": "#/35" + }, + "flags": 0, + "description": "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second)." + }, + "resource": { + "type": { + "$ref": "#/36" + }, + "flags": 0, + "description": "ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type is the type of metric source. It will be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object. Note: \"ContainerResource\" type is available on when the feature-gate HPAContainerMetrics is enabled" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2ContainerResourceMetricStatus", + "properties": { + "container": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Container is the name of the container in the pods of the scaling target" + }, + "current": { + "type": { + "$ref": "#/32" + }, + "flags": 1, + "description": "MetricValueStatus holds the current value for a metric" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the name of the resource in question." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2MetricValueStatus", + "properties": { + "averageUtilization": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "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." + }, + "averageValue": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2ExternalMetricStatus", + "properties": { + "current": { + "type": { + "$ref": "#/32" + }, + "flags": 1, + "description": "MetricValueStatus holds the current value for a metric" + }, + "metric": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "MetricIdentifier defines the name and optionally selector for a metric" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2ObjectMetricStatus", + "properties": { + "current": { + "type": { + "$ref": "#/32" + }, + "flags": 1, + "description": "MetricValueStatus holds the current value for a metric" + }, + "describedObject": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource." + }, + "metric": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "MetricIdentifier defines the name and optionally selector for a metric" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2PodsMetricStatus", + "properties": { + "current": { + "type": { + "$ref": "#/32" + }, + "flags": 1, + "description": "MetricValueStatus holds the current value for a metric" + }, + "metric": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "MetricIdentifier defines the name and optionally selector for a metric" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2ResourceMetricStatus", + "properties": { + "current": { + "type": { + "$ref": "#/32" + }, + "flags": 1, + "description": "MetricValueStatus holds the current value for a metric" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the name of the resource in question." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/30" + } + }, + { + "$type": "ObjectType", + "name": "autoscaling/HorizontalPodAutoscaler", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler." + }, + "status": { + "type": { + "$ref": "#/27" + }, + "flags": 0, + "description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler." + } + } + }, + { + "$type": "ResourceType", + "name": "autoscaling/HorizontalPodAutoscaler@v2beta2", + "scopeType": 0, + "body": { + "$ref": "#/38" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/generated/kubernetes/batch/v1/types.json b/generated/kubernetes/batch/v1/types.json index cbe88244..1db33e8a 100644 --- a/generated/kubernetes/batch/v1/types.json +++ b/generated/kubernetes/batch/v1/types.json @@ -1 +1,4905 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"CronJob"}},{"6":{"Value":"batch/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiBatchV1CronJobSpec","Properties":{"concurrencyPolicy":{"Type":4,"Flags":0,"Description":"Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one"},"failedJobsHistoryLimit":{"Type":3,"Flags":0,"Description":"The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1."},"jobTemplate":{"Type":14,"Flags":1,"Description":"JobTemplateSpec describes the data a Job should have when created from a template"},"schedule":{"Type":4,"Flags":1,"Description":"The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron."},"startingDeadlineSeconds":{"Type":3,"Flags":0,"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."},"successfulJobsHistoryLimit":{"Type":3,"Flags":0,"Description":"The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3."},"suspend":{"Type":2,"Flags":0,"Description":"This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false."},"timeZone":{"Type":4,"Flags":0,"Description":"The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones This is beta field and must be enabled via the `CronJobTimeZone` feature gate."}}}},{"2":{"Name":"IoK8SApiBatchV1JobTemplateSpec","Properties":{"metadata":{"Type":15,"Flags":0,"Description":"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."},"spec":{"Type":23,"Flags":0,"Description":"JobSpec describes how the job execution will look like."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ObjectMeta","Properties":{"annotations":{"Type":16,"Flags":0,"Description":"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"},"creationTimestamp":{"Type":4,"Flags":0,"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."},"deletionGracePeriodSeconds":{"Type":3,"Flags":0,"Description":"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."},"deletionTimestamp":{"Type":4,"Flags":0,"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."},"finalizers":{"Type":17,"Flags":0,"Description":"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."},"generateName":{"Type":4,"Flags":0,"Description":"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will return a 409.\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency"},"generation":{"Type":3,"Flags":0,"Description":"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."},"labels":{"Type":18,"Flags":0,"Description":"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"},"managedFields":{"Type":20,"Flags":0,"Description":"ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object."},"name":{"Type":4,"Flags":0,"Description":"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"},"namespace":{"Type":4,"Flags":0,"Description":"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces"},"ownerReferences":{"Type":22,"Flags":0,"Description":"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."},"resourceVersion":{"Type":4,"Flags":0,"Description":"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"},"selfLink":{"Type":4,"Flags":0,"Description":"Deprecated: selfLink is a legacy read-only field that is no longer populated by the system."},"uid":{"Type":4,"Flags":0,"Description":"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ObjectMetaAnnotations","Properties":{},"AdditionalProperties":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ObjectMetaLabels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ManagedFieldsEntry","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted."},"fieldsType":{"Type":4,"Flags":0,"Description":"FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\""},"fieldsV1":{"Type":0,"Flags":0,"Description":"Any object"},"manager":{"Type":4,"Flags":0,"Description":"Manager is an identifier of the workflow managing these fields."},"operation":{"Type":4,"Flags":0,"Description":"Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'."},"subresource":{"Type":4,"Flags":0,"Description":"Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource."},"time":{"Type":4,"Flags":0,"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."}}}},{"3":{"ItemType":19}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1OwnerReference","Properties":{"apiVersion":{"Type":4,"Flags":1,"Description":"API version of the referent."},"blockOwnerDeletion":{"Type":2,"Flags":0,"Description":"If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned."},"controller":{"Type":2,"Flags":0,"Description":"If true, this reference points to the managing controller."},"kind":{"Type":4,"Flags":1,"Description":"Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"},"name":{"Type":4,"Flags":1,"Description":"Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names"},"uid":{"Type":4,"Flags":1,"Description":"UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"}}}},{"3":{"ItemType":21}},{"2":{"Name":"IoK8SApiBatchV1JobSpec","Properties":{"activeDeadlineSeconds":{"Type":3,"Flags":0,"Description":"Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again."},"backoffLimit":{"Type":3,"Flags":0,"Description":"Specifies the number of retries before marking this job failed. Defaults to 6"},"completionMode":{"Type":4,"Flags":0,"Description":"CompletionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.\n\n`NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.\n\n`Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.\n\nMore completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job."},"completions":{"Type":3,"Flags":0,"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/"},"manualSelector":{"Type":2,"Flags":0,"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"},"parallelism":{"Type":3,"Flags":0,"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/"},"podFailurePolicy":{"Type":24,"Flags":0,"Description":"PodFailurePolicy describes how failed pods influence the backoffLimit."},"selector":{"Type":31,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"suspend":{"Type":2,"Flags":0,"Description":"Suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false."},"template":{"Type":36,"Flags":1,"Description":"PodTemplateSpec describes the data a pod should have when created from a template"},"ttlSecondsAfterFinished":{"Type":3,"Flags":0,"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."}}}},{"2":{"Name":"IoK8SApiBatchV1PodFailurePolicy","Properties":{"rules":{"Type":30,"Flags":1,"Description":"A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed."}}}},{"2":{"Name":"IoK8SApiBatchV1PodFailurePolicyRule","Properties":{"action":{"Type":4,"Flags":1,"Description":"Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are: - FailJob: indicates that the pod's job is marked as Failed and all\n running pods are terminated.\n- Ignore: indicates that the counter towards the .backoffLimit is not\n incremented and a replacement pod is created.\n- Count: indicates that the pod is handled in the default way - the\n counter towards the .backoffLimit is incremented.\nAdditional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule."},"onExitCodes":{"Type":26,"Flags":0,"Description":"PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check."},"onPodConditions":{"Type":29,"Flags":1,"Description":"Represents the requirement on the pod conditions. The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed."}}}},{"2":{"Name":"IoK8SApiBatchV1PodFailurePolicyOnExitCodesRequirement","Properties":{"containerName":{"Type":4,"Flags":0,"Description":"Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template."},"operator":{"Type":4,"Flags":1,"Description":"Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are: - In: the requirement is satisfied if at least one container exit code\n (might be multiple if there are multiple containers not restricted\n by the 'containerName' field) is in the set of specified values.\n- NotIn: the requirement is satisfied if at least one container exit code\n (might be multiple if there are multiple containers not restricted\n by the 'containerName' field) is not in the set of specified values.\nAdditional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied."},"values":{"Type":27,"Flags":1,"Description":"Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed."}}}},{"3":{"ItemType":3}},{"2":{"Name":"IoK8SApiBatchV1PodFailurePolicyOnPodConditionsPattern","Properties":{"status":{"Type":4,"Flags":1,"Description":"Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True."},"type":{"Type":4,"Flags":1,"Description":"Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type."}}}},{"3":{"ItemType":28}},{"3":{"ItemType":25}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelector","Properties":{"matchExpressions":{"Type":34,"Flags":0,"Description":"matchExpressions is a list of label selector requirements. The requirements are ANDed."},"matchLabels":{"Type":35,"Flags":0,"Description":"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."},"values":{"Type":33,"Flags":0,"Description":"values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":32}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PodTemplateSpec","Properties":{"metadata":{"Type":15,"Flags":0,"Description":"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."},"spec":{"Type":37,"Flags":0,"Description":"PodSpec is a description of a pod."}}}},{"2":{"Name":"IoK8SApiCoreV1PodSpec","Properties":{"activeDeadlineSeconds":{"Type":3,"Flags":0,"Description":"Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer."},"affinity":{"Type":38,"Flags":0,"Description":"Affinity is a group of affinity scheduling rules."},"automountServiceAccountToken":{"Type":2,"Flags":0,"Description":"AutomountServiceAccountToken indicates whether a service account token should be automatically mounted."},"containers":{"Type":98,"Flags":1,"Description":"List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated."},"dnsConfig":{"Type":99,"Flags":0,"Description":"PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy."},"dnsPolicy":{"Type":4,"Flags":0,"Description":"Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'."},"enableServiceLinks":{"Type":2,"Flags":0,"Description":"EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true."},"ephemeralContainers":{"Type":112,"Flags":0,"Description":"List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource."},"hostAliases":{"Type":115,"Flags":0,"Description":"HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods."},"hostIPC":{"Type":2,"Flags":0,"Description":"Use the host's ipc namespace. Optional: Default to false."},"hostNetwork":{"Type":2,"Flags":0,"Description":"Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false."},"hostPID":{"Type":2,"Flags":0,"Description":"Use the host's pid namespace. Optional: Default to false."},"hostUsers":{"Type":2,"Flags":0,"Description":"Use the host's user namespace. Optional: Default to true. If set to true or not present, the pod will be run in the host user namespace, useful for when the pod needs a feature only available to the host user namespace, such as loading a kernel module with CAP_SYS_MODULE. When set to false, a new userns is created for the pod. Setting false is useful for mitigating container breakout vulnerabilities even allowing users to run their containers as root without actually having root privileges on the host. This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature."},"hostname":{"Type":4,"Flags":0,"Description":"Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value."},"imagePullSecrets":{"Type":117,"Flags":0,"Description":"ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod"},"initContainers":{"Type":118,"Flags":0,"Description":"List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/"},"nodeName":{"Type":4,"Flags":0,"Description":"NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements."},"nodeSelector":{"Type":119,"Flags":0,"Description":"NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/"},"os":{"Type":120,"Flags":0,"Description":"PodOS defines the OS parameters of a pod."},"overhead":{"Type":121,"Flags":0,"Description":"Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md"},"preemptionPolicy":{"Type":4,"Flags":0,"Description":"PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset."},"priority":{"Type":3,"Flags":0,"Description":"The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority."},"priorityClassName":{"Type":4,"Flags":0,"Description":"If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default."},"readinessGates":{"Type":123,"Flags":0,"Description":"If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/580-pod-readiness-gates"},"restartPolicy":{"Type":4,"Flags":0,"Description":"Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy"},"runtimeClassName":{"Type":4,"Flags":0,"Description":"RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class"},"schedulerName":{"Type":4,"Flags":0,"Description":"If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler."},"securityContext":{"Type":124,"Flags":0,"Description":"PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext."},"serviceAccount":{"Type":4,"Flags":0,"Description":"DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead."},"serviceAccountName":{"Type":4,"Flags":0,"Description":"ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/"},"setHostnameAsFQDN":{"Type":2,"Flags":0,"Description":"If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false."},"shareProcessNamespace":{"Type":2,"Flags":0,"Description":"Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false."},"subdomain":{"Type":4,"Flags":0,"Description":"If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all."},"terminationGracePeriodSeconds":{"Type":3,"Flags":0,"Description":"Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds."},"tolerations":{"Type":129,"Flags":0,"Description":"If specified, the pod's tolerations."},"topologySpreadConstraints":{"Type":132,"Flags":0,"Description":"TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed."},"volumes":{"Type":188,"Flags":0,"Description":"List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes"}}}},{"2":{"Name":"IoK8SApiCoreV1Affinity","Properties":{"nodeAffinity":{"Type":39,"Flags":0,"Description":"Node affinity is a group of node affinity scheduling rules."},"podAffinity":{"Type":49,"Flags":0,"Description":"Pod affinity is a group of inter pod affinity scheduling rules."},"podAntiAffinity":{"Type":55,"Flags":0,"Description":"Pod anti affinity is a group of inter pod anti affinity scheduling rules."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeAffinity","Properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"Type":46,"Flags":0,"Description":"The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred."},"requiredDuringSchedulingIgnoredDuringExecution":{"Type":47,"Flags":0,"Description":"A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms."}}}},{"2":{"Name":"IoK8SApiCoreV1PreferredSchedulingTerm","Properties":{"preference":{"Type":41,"Flags":1,"Description":"A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm."},"weight":{"Type":3,"Flags":1,"Description":"Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelectorTerm","Properties":{"matchExpressions":{"Type":44,"Flags":0,"Description":"A list of node selector requirements by node's labels."},"matchFields":{"Type":45,"Flags":0,"Description":"A list of node selector requirements by node's fields."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"The label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."},"values":{"Type":43,"Flags":0,"Description":"An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":42}},{"3":{"ItemType":42}},{"3":{"ItemType":40}},{"2":{"Name":"IoK8SApiCoreV1NodeSelector","Properties":{"nodeSelectorTerms":{"Type":48,"Flags":1,"Description":"Required. A list of node selector terms. The terms are ORed."}}}},{"3":{"ItemType":41}},{"2":{"Name":"IoK8SApiCoreV1PodAffinity","Properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"Type":53,"Flags":0,"Description":"The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred."},"requiredDuringSchedulingIgnoredDuringExecution":{"Type":54,"Flags":0,"Description":"If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."}}}},{"2":{"Name":"IoK8SApiCoreV1WeightedPodAffinityTerm","Properties":{"podAffinityTerm":{"Type":51,"Flags":1,"Description":"Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running"},"weight":{"Type":3,"Flags":1,"Description":"weight associated with matching the corresponding podAffinityTerm, in the range 1-100."}}}},{"2":{"Name":"IoK8SApiCoreV1PodAffinityTerm","Properties":{"labelSelector":{"Type":31,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"namespaceSelector":{"Type":31,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"namespaces":{"Type":52,"Flags":0,"Description":"namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\"."},"topologyKey":{"Type":4,"Flags":1,"Description":"This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":50}},{"3":{"ItemType":51}},{"2":{"Name":"IoK8SApiCoreV1PodAntiAffinity","Properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"Type":56,"Flags":0,"Description":"The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred."},"requiredDuringSchedulingIgnoredDuringExecution":{"Type":57,"Flags":0,"Description":"If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."}}}},{"3":{"ItemType":50}},{"3":{"ItemType":51}},{"2":{"Name":"IoK8SApiCoreV1Container","Properties":{"args":{"Type":59,"Flags":0,"Description":"Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"command":{"Type":60,"Flags":0,"Description":"Entrypoint array. Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"env":{"Type":67,"Flags":0,"Description":"List of environment variables to set in the container. Cannot be updated."},"envFrom":{"Type":71,"Flags":0,"Description":"List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."},"image":{"Type":4,"Flags":0,"Description":"Container image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets."},"imagePullPolicy":{"Type":4,"Flags":0,"Description":"Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"},"lifecycle":{"Type":72,"Flags":0,"Description":"Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted."},"livenessProbe":{"Type":80,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"name":{"Type":4,"Flags":1,"Description":"Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated."},"ports":{"Type":83,"Flags":0,"Description":"List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated."},"readinessProbe":{"Type":80,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"resources":{"Type":84,"Flags":0,"Description":"ResourceRequirements describes the compute resource requirements."},"securityContext":{"Type":87,"Flags":0,"Description":"SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence."},"startupProbe":{"Type":80,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"stdin":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."},"stdinOnce":{"Type":2,"Flags":0,"Description":"Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"},"terminationMessagePath":{"Type":4,"Flags":0,"Description":"Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."},"terminationMessagePolicy":{"Type":4,"Flags":0,"Description":"Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."},"tty":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."},"volumeDevices":{"Type":95,"Flags":0,"Description":"volumeDevices is the list of block devices to be used by the container."},"volumeMounts":{"Type":97,"Flags":0,"Description":"Pod volumes to mount into the container's filesystem. Cannot be updated."},"workingDir":{"Type":4,"Flags":0,"Description":"Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1EnvVar","Properties":{"name":{"Type":4,"Flags":1,"Description":"Name of the environment variable. Must be a C_IDENTIFIER."},"value":{"Type":4,"Flags":0,"Description":"Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\"."},"valueFrom":{"Type":62,"Flags":0,"Description":"EnvVarSource represents a source for the value of an EnvVar."}}}},{"2":{"Name":"IoK8SApiCoreV1EnvVarSource","Properties":{"configMapKeyRef":{"Type":63,"Flags":0,"Description":"Selects a key from a ConfigMap."},"fieldRef":{"Type":64,"Flags":0,"Description":"ObjectFieldSelector selects an APIVersioned field of an object."},"resourceFieldRef":{"Type":65,"Flags":0,"Description":"ResourceFieldSelector represents container resources (cpu, memory) and their output format"},"secretKeyRef":{"Type":66,"Flags":0,"Description":"SecretKeySelector selects a key of a Secret."}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapKeySelector","Properties":{"key":{"Type":4,"Flags":1,"Description":"The key to select."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the ConfigMap or its key must be defined"}}}},{"2":{"Name":"IoK8SApiCoreV1ObjectFieldSelector","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"Version of the schema the FieldPath is written in terms of, defaults to \"v1\"."},"fieldPath":{"Type":4,"Flags":1,"Description":"Path of the field to select in the specified API version."}}}},{"2":{"Name":"IoK8SApiCoreV1ResourceFieldSelector","Properties":{"containerName":{"Type":4,"Flags":0,"Description":"Container name: required for volumes, optional for env vars"},"divisor":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."},"resource":{"Type":4,"Flags":1,"Description":"Required: resource to select"}}}},{"2":{"Name":"IoK8SApiCoreV1SecretKeySelector","Properties":{"key":{"Type":4,"Flags":1,"Description":"The key of the secret to select from. Must be a valid secret key."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the Secret or its key must be defined"}}}},{"3":{"ItemType":61}},{"2":{"Name":"IoK8SApiCoreV1EnvFromSource","Properties":{"configMapRef":{"Type":69,"Flags":0,"Description":"ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables."},"prefix":{"Type":4,"Flags":0,"Description":"An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER."},"secretRef":{"Type":70,"Flags":0,"Description":"SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables."}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapEnvSource","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the ConfigMap must be defined"}}}},{"2":{"Name":"IoK8SApiCoreV1SecretEnvSource","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the Secret must be defined"}}}},{"3":{"ItemType":68}},{"2":{"Name":"IoK8SApiCoreV1Lifecycle","Properties":{"postStart":{"Type":73,"Flags":0,"Description":"LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified."},"preStop":{"Type":73,"Flags":0,"Description":"LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified."}}}},{"2":{"Name":"IoK8SApiCoreV1LifecycleHandler","Properties":{"exec":{"Type":74,"Flags":0,"Description":"ExecAction describes a \"run in container\" action."},"httpGet":{"Type":76,"Flags":0,"Description":"HTTPGetAction describes an action based on HTTP Get requests."},"tcpSocket":{"Type":79,"Flags":0,"Description":"TCPSocketAction describes an action based on opening a socket"}}}},{"2":{"Name":"IoK8SApiCoreV1ExecAction","Properties":{"command":{"Type":75,"Flags":0,"Description":"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1HttpGetAction","Properties":{"host":{"Type":4,"Flags":0,"Description":"Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead."},"httpHeaders":{"Type":78,"Flags":0,"Description":"Custom headers to set in the request. HTTP allows repeated headers."},"path":{"Type":4,"Flags":0,"Description":"Path to access on the HTTP server."},"port":{"Type":4,"Flags":1,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."},"scheme":{"Type":4,"Flags":0,"Description":"Scheme to use for connecting to the host. Defaults to HTTP."}}}},{"2":{"Name":"IoK8SApiCoreV1HttpHeader","Properties":{"name":{"Type":4,"Flags":1,"Description":"The header field name"},"value":{"Type":4,"Flags":1,"Description":"The header field value"}}}},{"3":{"ItemType":77}},{"2":{"Name":"IoK8SApiCoreV1TCPSocketAction","Properties":{"host":{"Type":4,"Flags":0,"Description":"Optional: Host name to connect to, defaults to the pod IP."},"port":{"Type":4,"Flags":1,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."}}}},{"2":{"Name":"IoK8SApiCoreV1Probe","Properties":{"exec":{"Type":74,"Flags":0,"Description":"ExecAction describes a \"run in container\" action."},"failureThreshold":{"Type":3,"Flags":0,"Description":"Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1."},"grpc":{"Type":81,"Flags":0},"httpGet":{"Type":76,"Flags":0,"Description":"HTTPGetAction describes an action based on HTTP Get requests."},"initialDelaySeconds":{"Type":3,"Flags":0,"Description":"Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"},"periodSeconds":{"Type":3,"Flags":0,"Description":"How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."},"successThreshold":{"Type":3,"Flags":0,"Description":"Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1."},"tcpSocket":{"Type":79,"Flags":0,"Description":"TCPSocketAction describes an action based on opening a socket"},"terminationGracePeriodSeconds":{"Type":3,"Flags":0,"Description":"Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset."},"timeoutSeconds":{"Type":3,"Flags":0,"Description":"Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}}}},{"2":{"Name":"IoK8SApiCoreV1GrpcAction","Properties":{"port":{"Type":3,"Flags":1,"Description":"Port number of the gRPC service. Number must be in the range 1 to 65535."},"service":{"Type":4,"Flags":0,"Description":"Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC."}}}},{"2":{"Name":"IoK8SApiCoreV1ContainerPort","Properties":{"containerPort":{"Type":3,"Flags":1,"Description":"Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536."},"hostIP":{"Type":4,"Flags":0,"Description":"What host IP to bind the external port to."},"hostPort":{"Type":3,"Flags":0,"Description":"Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this."},"name":{"Type":4,"Flags":0,"Description":"If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services."},"protocol":{"Type":4,"Flags":0,"Description":"Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\"."}}}},{"3":{"ItemType":82}},{"2":{"Name":"IoK8SApiCoreV1ResourceRequirements","Properties":{"limits":{"Type":85,"Flags":0,"Description":"Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"},"requests":{"Type":86,"Flags":0,"Description":"Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"}}}},{"2":{"Name":"IoK8SApiCoreV1ResourceRequirementsLimits","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1ResourceRequirementsRequests","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1SecurityContext","Properties":{"allowPrivilegeEscalation":{"Type":2,"Flags":0,"Description":"AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows."},"capabilities":{"Type":88,"Flags":0,"Description":"Adds and removes POSIX capabilities from running containers."},"privileged":{"Type":2,"Flags":0,"Description":"Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows."},"procMount":{"Type":4,"Flags":0,"Description":"procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows."},"readOnlyRootFilesystem":{"Type":2,"Flags":0,"Description":"Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows."},"runAsGroup":{"Type":3,"Flags":0,"Description":"The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows."},"runAsNonRoot":{"Type":2,"Flags":0,"Description":"Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."},"runAsUser":{"Type":3,"Flags":0,"Description":"The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows."},"seLinuxOptions":{"Type":91,"Flags":0,"Description":"SELinuxOptions are the labels to be applied to the container"},"seccompProfile":{"Type":92,"Flags":0,"Description":"SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set."},"windowsOptions":{"Type":93,"Flags":0,"Description":"WindowsSecurityContextOptions contain Windows-specific options and credentials."}}}},{"2":{"Name":"IoK8SApiCoreV1Capabilities","Properties":{"add":{"Type":89,"Flags":0,"Description":"Added capabilities"},"drop":{"Type":90,"Flags":0,"Description":"Removed capabilities"}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1SELinuxOptions","Properties":{"level":{"Type":4,"Flags":0,"Description":"Level is SELinux level label that applies to the container."},"role":{"Type":4,"Flags":0,"Description":"Role is a SELinux role label that applies to the container."},"type":{"Type":4,"Flags":0,"Description":"Type is a SELinux type label that applies to the container."},"user":{"Type":4,"Flags":0,"Description":"User is a SELinux user label that applies to the container."}}}},{"2":{"Name":"IoK8SApiCoreV1SeccompProfile","Properties":{"localhostProfile":{"Type":4,"Flags":0,"Description":"localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is \"Localhost\"."},"type":{"Type":4,"Flags":1,"Description":"type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied."}}}},{"2":{"Name":"IoK8SApiCoreV1WindowsSecurityContextOptions","Properties":{"gmsaCredentialSpec":{"Type":4,"Flags":0,"Description":"GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field."},"gmsaCredentialSpecName":{"Type":4,"Flags":0,"Description":"GMSACredentialSpecName is the name of the GMSA credential spec to use."},"hostProcess":{"Type":2,"Flags":0,"Description":"HostProcess determines if a container should be run as a 'Host Process' container. This field is alpha-level and will only be honored by components that enable the WindowsHostProcessContainers feature flag. Setting this field without the feature flag will result in errors when validating the Pod. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true."},"runAsUserName":{"Type":4,"Flags":0,"Description":"The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."}}}},{"2":{"Name":"IoK8SApiCoreV1VolumeDevice","Properties":{"devicePath":{"Type":4,"Flags":1,"Description":"devicePath is the path inside of the container that the device will be mapped to."},"name":{"Type":4,"Flags":1,"Description":"name must match the name of a persistentVolumeClaim in the pod"}}}},{"3":{"ItemType":94}},{"2":{"Name":"IoK8SApiCoreV1VolumeMount","Properties":{"mountPath":{"Type":4,"Flags":1,"Description":"Path within the container at which the volume should be mounted. Must not contain ':'."},"mountPropagation":{"Type":4,"Flags":0,"Description":"mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10."},"name":{"Type":4,"Flags":1,"Description":"This must match the Name of a Volume."},"readOnly":{"Type":2,"Flags":0,"Description":"Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false."},"subPath":{"Type":4,"Flags":0,"Description":"Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root)."},"subPathExpr":{"Type":4,"Flags":0,"Description":"Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive."}}}},{"3":{"ItemType":96}},{"3":{"ItemType":58}},{"2":{"Name":"IoK8SApiCoreV1PodDNSConfig","Properties":{"nameservers":{"Type":100,"Flags":0,"Description":"A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed."},"options":{"Type":102,"Flags":0,"Description":"A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy."},"searches":{"Type":103,"Flags":0,"Description":"A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1PodDNSConfigOption","Properties":{"name":{"Type":4,"Flags":0,"Description":"Required."},"value":{"Type":4,"Flags":0}}}},{"3":{"ItemType":101}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1EphemeralContainer","Properties":{"args":{"Type":105,"Flags":0,"Description":"Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"command":{"Type":106,"Flags":0,"Description":"Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"env":{"Type":107,"Flags":0,"Description":"List of environment variables to set in the container. Cannot be updated."},"envFrom":{"Type":108,"Flags":0,"Description":"List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."},"image":{"Type":4,"Flags":0,"Description":"Container image name. More info: https://kubernetes.io/docs/concepts/containers/images"},"imagePullPolicy":{"Type":4,"Flags":0,"Description":"Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"},"lifecycle":{"Type":72,"Flags":0,"Description":"Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted."},"livenessProbe":{"Type":80,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"name":{"Type":4,"Flags":1,"Description":"Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers."},"ports":{"Type":109,"Flags":0,"Description":"Ports are not allowed for ephemeral containers."},"readinessProbe":{"Type":80,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"resources":{"Type":84,"Flags":0,"Description":"ResourceRequirements describes the compute resource requirements."},"securityContext":{"Type":87,"Flags":0,"Description":"SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence."},"startupProbe":{"Type":80,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"stdin":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."},"stdinOnce":{"Type":2,"Flags":0,"Description":"Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"},"targetContainerName":{"Type":4,"Flags":0,"Description":"If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container uses the namespaces configured in the Pod spec.\n\nThe container runtime must implement support for this feature. If the runtime does not support namespace targeting then the result of setting this field is undefined."},"terminationMessagePath":{"Type":4,"Flags":0,"Description":"Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."},"terminationMessagePolicy":{"Type":4,"Flags":0,"Description":"Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."},"tty":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."},"volumeDevices":{"Type":110,"Flags":0,"Description":"volumeDevices is the list of block devices to be used by the container."},"volumeMounts":{"Type":111,"Flags":0,"Description":"Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated."},"workingDir":{"Type":4,"Flags":0,"Description":"Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":61}},{"3":{"ItemType":68}},{"3":{"ItemType":82}},{"3":{"ItemType":94}},{"3":{"ItemType":96}},{"3":{"ItemType":104}},{"2":{"Name":"IoK8SApiCoreV1HostAlias","Properties":{"hostnames":{"Type":114,"Flags":0,"Description":"Hostnames for the above IP address."},"ip":{"Type":4,"Flags":0,"Description":"IP address of the host file entry."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":113}},{"2":{"Name":"IoK8SApiCoreV1LocalObjectReference","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}}}},{"3":{"ItemType":116}},{"3":{"ItemType":58}},{"2":{"Name":"IoK8SApiCoreV1PodSpecNodeSelector","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PodOS","Properties":{"name":{"Type":4,"Flags":1,"Description":"Name is the name of the operating system. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null"}}}},{"2":{"Name":"IoK8SApiCoreV1PodSpecOverhead","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PodReadinessGate","Properties":{"conditionType":{"Type":4,"Flags":1,"Description":"ConditionType refers to a condition in the pod's condition list with matching type."}}}},{"3":{"ItemType":122}},{"2":{"Name":"IoK8SApiCoreV1PodSecurityContext","Properties":{"fsGroup":{"Type":3,"Flags":0,"Description":"A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name is windows."},"fsGroupChangePolicy":{"Type":4,"Flags":0,"Description":"fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used. Note that this field cannot be set when spec.os.name is windows."},"runAsGroup":{"Type":3,"Flags":0,"Description":"The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows."},"runAsNonRoot":{"Type":2,"Flags":0,"Description":"Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."},"runAsUser":{"Type":3,"Flags":0,"Description":"The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows."},"seLinuxOptions":{"Type":91,"Flags":0,"Description":"SELinuxOptions are the labels to be applied to the container"},"seccompProfile":{"Type":92,"Flags":0,"Description":"SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set."},"supplementalGroups":{"Type":125,"Flags":0,"Description":"A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container. Note that this field cannot be set when spec.os.name is windows."},"sysctls":{"Type":127,"Flags":0,"Description":"Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows."},"windowsOptions":{"Type":93,"Flags":0,"Description":"WindowsSecurityContextOptions contain Windows-specific options and credentials."}}}},{"3":{"ItemType":3}},{"2":{"Name":"IoK8SApiCoreV1Sysctl","Properties":{"name":{"Type":4,"Flags":1,"Description":"Name of a property to set"},"value":{"Type":4,"Flags":1,"Description":"Value of a property to set"}}}},{"3":{"ItemType":126}},{"2":{"Name":"IoK8SApiCoreV1Toleration","Properties":{"effect":{"Type":4,"Flags":0,"Description":"Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute."},"key":{"Type":4,"Flags":0,"Description":"Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys."},"operator":{"Type":4,"Flags":0,"Description":"Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category."},"tolerationSeconds":{"Type":3,"Flags":0,"Description":"TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system."},"value":{"Type":4,"Flags":0,"Description":"Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string."}}}},{"3":{"ItemType":128}},{"2":{"Name":"IoK8SApiCoreV1TopologySpreadConstraint","Properties":{"labelSelector":{"Type":31,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"matchLabelKeys":{"Type":131,"Flags":0,"Description":"MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector."},"maxSkew":{"Type":3,"Flags":1,"Description":"MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. The global minimum is the minimum number of matching pods in an eligible domain or zero if the number of eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | | P P | P P | P | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed."},"minDomains":{"Type":3,"Flags":0,"Description":"MinDomains indicates a minimum number of eligible domains. When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number of eligible domains is less than minDomains, scheduler won't schedule more than maxSkew Pods to those domains. If value is nil, the constraint behaves as if MinDomains is equal to 1. Valid values are integers greater than 0. When value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same labelSelector spread as 2/2/2: | zone1 | zone2 | zone3 | | P P | P P | P P | The number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0. In this situation, new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will violate MaxSkew.\n\nThis is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default)."},"nodeAffinityPolicy":{"Type":4,"Flags":0,"Description":"NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\nIf this value is nil, the behavior is equivalent to the Honor policy. This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread feature flag."},"nodeTaintsPolicy":{"Type":4,"Flags":0,"Description":"NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included.\n\nIf this value is nil, the behavior is equivalent to the Ignore policy. This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread feature flag."},"topologyKey":{"Type":4,"Flags":1,"Description":"TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. We define a domain as a particular instance of a topology. Also, we define an eligible domain as a domain whose nodes meet the requirements of nodeAffinityPolicy and nodeTaintsPolicy. e.g. If TopologyKey is \"kubernetes.io/hostname\", each Node is a domain of that topology. And, if TopologyKey is \"topology.kubernetes.io/zone\", each zone is a domain of that topology. It's a required field."},"whenUnsatisfiable":{"Type":4,"Flags":1,"Description":"WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assignment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":130}},{"2":{"Name":"IoK8SApiCoreV1Volume","Properties":{"awsElasticBlockStore":{"Type":134,"Flags":0,"Description":"Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling."},"azureDisk":{"Type":135,"Flags":0,"Description":"AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."},"azureFile":{"Type":136,"Flags":0,"Description":"AzureFile represents an Azure File Service mount on the host and bind mount to the pod."},"cephfs":{"Type":137,"Flags":0,"Description":"Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling."},"cinder":{"Type":139,"Flags":0,"Description":"Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling."},"configMap":{"Type":140,"Flags":0,"Description":"Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling."},"csi":{"Type":143,"Flags":0,"Description":"Represents a source location of a volume to mount, managed by an external CSI driver"},"downwardAPI":{"Type":145,"Flags":0,"Description":"DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling."},"emptyDir":{"Type":148,"Flags":0,"Description":"Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling."},"ephemeral":{"Type":149,"Flags":0,"Description":"Represents an ephemeral volume that is handled by a normal storage driver."},"fc":{"Type":154,"Flags":0,"Description":"Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling."},"flexVolume":{"Type":157,"Flags":0,"Description":"FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin."},"flocker":{"Type":159,"Flags":0,"Description":"Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling."},"gcePersistentDisk":{"Type":160,"Flags":0,"Description":"Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling."},"gitRepo":{"Type":161,"Flags":0,"Description":"Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container."},"glusterfs":{"Type":162,"Flags":0,"Description":"Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling."},"hostPath":{"Type":163,"Flags":0,"Description":"Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling."},"iscsi":{"Type":164,"Flags":0,"Description":"Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling."},"name":{"Type":4,"Flags":1,"Description":"name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"nfs":{"Type":166,"Flags":0,"Description":"Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling."},"persistentVolumeClaim":{"Type":167,"Flags":0,"Description":"PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system)."},"photonPersistentDisk":{"Type":168,"Flags":0,"Description":"Represents a Photon Controller persistent disk resource."},"portworxVolume":{"Type":169,"Flags":0,"Description":"PortworxVolumeSource represents a Portworx volume resource."},"projected":{"Type":170,"Flags":0,"Description":"Represents a projected volume source"},"quobyte":{"Type":180,"Flags":0,"Description":"Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling."},"rbd":{"Type":181,"Flags":0,"Description":"Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling."},"scaleIO":{"Type":183,"Flags":0,"Description":"ScaleIOVolumeSource represents a persistent ScaleIO volume"},"secret":{"Type":184,"Flags":0,"Description":"Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling."},"storageos":{"Type":186,"Flags":0,"Description":"Represents a StorageOS persistent volume resource."},"vsphereVolume":{"Type":187,"Flags":0,"Description":"Represents a vSphere volume resource."}}}},{"2":{"Name":"IoK8SApiCoreV1AWSElasticBlockStoreVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"},"partition":{"Type":3,"Flags":0,"Description":"partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty)."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"},"volumeID":{"Type":4,"Flags":1,"Description":"volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"}}}},{"2":{"Name":"IoK8SApiCoreV1AzureDiskVolumeSource","Properties":{"cachingMode":{"Type":4,"Flags":0,"Description":"cachingMode is the Host Caching mode: None, Read Only, Read Write."},"diskName":{"Type":4,"Flags":1,"Description":"diskName is the Name of the data disk in the blob storage"},"diskURI":{"Type":4,"Flags":1,"Description":"diskURI is the URI of data disk in the blob storage"},"fsType":{"Type":4,"Flags":0,"Description":"fsType is Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"kind":{"Type":4,"Flags":0,"Description":"kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."}}}},{"2":{"Name":"IoK8SApiCoreV1AzureFileVolumeSource","Properties":{"readOnly":{"Type":2,"Flags":0,"Description":"readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretName":{"Type":4,"Flags":1,"Description":"secretName is the name of secret that contains Azure Storage Account Name and Key"},"shareName":{"Type":4,"Flags":1,"Description":"shareName is the azure share Name"}}}},{"2":{"Name":"IoK8SApiCoreV1CephFSVolumeSource","Properties":{"monitors":{"Type":138,"Flags":1,"Description":"monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"path":{"Type":4,"Flags":0,"Description":"path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"secretFile":{"Type":4,"Flags":0,"Description":"secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"secretRef":{"Type":116,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"user":{"Type":4,"Flags":0,"Description":"user is optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1CinderVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"},"secretRef":{"Type":116,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"volumeID":{"Type":4,"Flags":1,"Description":"volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"items":{"Type":142,"Flags":0,"Description":"items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"optional specify whether the ConfigMap or its keys must be defined"}}}},{"2":{"Name":"IoK8SApiCoreV1KeyToPath","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the key to project."},"mode":{"Type":3,"Flags":0,"Description":"mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"path":{"Type":4,"Flags":1,"Description":"path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'."}}}},{"3":{"ItemType":141}},{"2":{"Name":"IoK8SApiCoreV1CSIVolumeSource","Properties":{"driver":{"Type":4,"Flags":1,"Description":"driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster."},"fsType":{"Type":4,"Flags":0,"Description":"fsType to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply."},"nodePublishSecretRef":{"Type":116,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly specifies a read-only configuration for the volume. Defaults to false (read/write)."},"volumeAttributes":{"Type":144,"Flags":0,"Description":"volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values."}}}},{"2":{"Name":"IoK8SApiCoreV1CSIVolumeSourceVolumeAttributes","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1DownwardAPIVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"items":{"Type":147,"Flags":0,"Description":"Items is a list of downward API volume file"}}}},{"2":{"Name":"IoK8SApiCoreV1DownwardAPIVolumeFile","Properties":{"fieldRef":{"Type":64,"Flags":0,"Description":"ObjectFieldSelector selects an APIVersioned field of an object."},"mode":{"Type":3,"Flags":0,"Description":"Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"path":{"Type":4,"Flags":1,"Description":"Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'"},"resourceFieldRef":{"Type":65,"Flags":0,"Description":"ResourceFieldSelector represents container resources (cpu, memory) and their output format"}}}},{"3":{"ItemType":146}},{"2":{"Name":"IoK8SApiCoreV1EmptyDirVolumeSource","Properties":{"medium":{"Type":4,"Flags":0,"Description":"medium represents what type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir"},"sizeLimit":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."}}}},{"2":{"Name":"IoK8SApiCoreV1EphemeralVolumeSource","Properties":{"volumeClaimTemplate":{"Type":150,"Flags":0,"Description":"PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource."}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimTemplate","Properties":{"metadata":{"Type":15,"Flags":0,"Description":"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."},"spec":{"Type":151,"Flags":1,"Description":"PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes"}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimSpec","Properties":{"accessModes":{"Type":152,"Flags":0,"Description":"accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"},"dataSource":{"Type":153,"Flags":0,"Description":"TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace."},"dataSourceRef":{"Type":153,"Flags":0,"Description":"TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace."},"resources":{"Type":84,"Flags":0,"Description":"ResourceRequirements describes the compute resource requirements."},"selector":{"Type":31,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"storageClassName":{"Type":4,"Flags":0,"Description":"storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1"},"volumeMode":{"Type":4,"Flags":0,"Description":"volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec."},"volumeName":{"Type":4,"Flags":0,"Description":"volumeName is the binding reference to the PersistentVolume backing this claim."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1TypedLocalObjectReference","Properties":{"apiGroup":{"Type":4,"Flags":0,"Description":"APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required."},"kind":{"Type":4,"Flags":1,"Description":"Kind is the type of resource being referenced"},"name":{"Type":4,"Flags":1,"Description":"Name is the name of resource being referenced"}}}},{"2":{"Name":"IoK8SApiCoreV1FCVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"lun":{"Type":3,"Flags":0,"Description":"lun is Optional: FC target lun number"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"targetWWNs":{"Type":155,"Flags":0,"Description":"targetWWNs is Optional: FC target worldwide names (WWNs)"},"wwids":{"Type":156,"Flags":0,"Description":"wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1FlexVolumeSource","Properties":{"driver":{"Type":4,"Flags":1,"Description":"driver is the name of the driver to use for this volume."},"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script."},"options":{"Type":158,"Flags":0,"Description":"options is Optional: this field holds extra command options if any."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":116,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."}}}},{"2":{"Name":"IoK8SApiCoreV1FlexVolumeSourceOptions","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1FlockerVolumeSource","Properties":{"datasetName":{"Type":4,"Flags":0,"Description":"datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated"},"datasetUUID":{"Type":4,"Flags":0,"Description":"datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset"}}}},{"2":{"Name":"IoK8SApiCoreV1GCEPersistentDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"partition":{"Type":3,"Flags":0,"Description":"partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"pdName":{"Type":4,"Flags":1,"Description":"pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"}}}},{"2":{"Name":"IoK8SApiCoreV1GitRepoVolumeSource","Properties":{"directory":{"Type":4,"Flags":0,"Description":"directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name."},"repository":{"Type":4,"Flags":1,"Description":"repository is the URL"},"revision":{"Type":4,"Flags":0,"Description":"revision is the commit hash for the specified revision."}}}},{"2":{"Name":"IoK8SApiCoreV1GlusterfsVolumeSource","Properties":{"endpoints":{"Type":4,"Flags":1,"Description":"endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"path":{"Type":4,"Flags":1,"Description":"path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"}}}},{"2":{"Name":"IoK8SApiCoreV1HostPathVolumeSource","Properties":{"path":{"Type":4,"Flags":1,"Description":"path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"},"type":{"Type":4,"Flags":0,"Description":"type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"}}}},{"2":{"Name":"IoK8SApiCoreV1IscsiVolumeSource","Properties":{"chapAuthDiscovery":{"Type":2,"Flags":0,"Description":"chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication"},"chapAuthSession":{"Type":2,"Flags":0,"Description":"chapAuthSession defines whether support iSCSI Session CHAP authentication"},"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi"},"initiatorName":{"Type":4,"Flags":0,"Description":"initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection."},"iqn":{"Type":4,"Flags":1,"Description":"iqn is the target iSCSI Qualified Name."},"iscsiInterface":{"Type":4,"Flags":0,"Description":"iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."},"lun":{"Type":3,"Flags":1,"Description":"lun represents iSCSI Target Lun number."},"portals":{"Type":165,"Flags":0,"Description":"portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."},"secretRef":{"Type":116,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"targetPortal":{"Type":4,"Flags":1,"Description":"targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1NFSVolumeSource","Properties":{"path":{"Type":4,"Flags":1,"Description":"path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"},"server":{"Type":4,"Flags":1,"Description":"server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimVolumeSource","Properties":{"claimName":{"Type":4,"Flags":1,"Description":"claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly Will force the ReadOnly setting in VolumeMounts. Default false."}}}},{"2":{"Name":"IoK8SApiCoreV1PhotonPersistentDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"pdID":{"Type":4,"Flags":1,"Description":"pdID is the ID that identifies Photon Controller persistent disk"}}}},{"2":{"Name":"IoK8SApiCoreV1PortworxVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"volumeID":{"Type":4,"Flags":1,"Description":"volumeID uniquely identifies a Portworx volume"}}}},{"2":{"Name":"IoK8SApiCoreV1ProjectedVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"sources":{"Type":179,"Flags":0,"Description":"sources is the list of volume projections"}}}},{"2":{"Name":"IoK8SApiCoreV1VolumeProjection","Properties":{"configMap":{"Type":172,"Flags":0,"Description":"Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode."},"downwardAPI":{"Type":174,"Flags":0,"Description":"Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode."},"secret":{"Type":176,"Flags":0,"Description":"Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode."},"serviceAccountToken":{"Type":178,"Flags":0,"Description":"ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise)."}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapProjection","Properties":{"items":{"Type":173,"Flags":0,"Description":"items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"optional specify whether the ConfigMap or its keys must be defined"}}}},{"3":{"ItemType":141}},{"2":{"Name":"IoK8SApiCoreV1DownwardAPIProjection","Properties":{"items":{"Type":175,"Flags":0,"Description":"Items is a list of DownwardAPIVolume file"}}}},{"3":{"ItemType":146}},{"2":{"Name":"IoK8SApiCoreV1SecretProjection","Properties":{"items":{"Type":177,"Flags":0,"Description":"items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"optional field specify whether the Secret or its key must be defined"}}}},{"3":{"ItemType":141}},{"2":{"Name":"IoK8SApiCoreV1ServiceAccountTokenProjection","Properties":{"audience":{"Type":4,"Flags":0,"Description":"audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver."},"expirationSeconds":{"Type":3,"Flags":0,"Description":"expirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes."},"path":{"Type":4,"Flags":1,"Description":"path is the path relative to the mount point of the file to project the token into."}}}},{"3":{"ItemType":171}},{"2":{"Name":"IoK8SApiCoreV1QuobyteVolumeSource","Properties":{"group":{"Type":4,"Flags":0,"Description":"group to map volume access to Default is no group"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false."},"registry":{"Type":4,"Flags":1,"Description":"registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes"},"tenant":{"Type":4,"Flags":0,"Description":"tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin"},"user":{"Type":4,"Flags":0,"Description":"user to map volume access to Defaults to serivceaccount user"},"volume":{"Type":4,"Flags":1,"Description":"volume is a string that references an already created Quobyte volume by name."}}}},{"2":{"Name":"IoK8SApiCoreV1RBDVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd"},"image":{"Type":4,"Flags":1,"Description":"image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"keyring":{"Type":4,"Flags":0,"Description":"keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"monitors":{"Type":182,"Flags":1,"Description":"monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"pool":{"Type":4,"Flags":0,"Description":"pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"secretRef":{"Type":116,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"user":{"Type":4,"Flags":0,"Description":"user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1ScaleIOVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"."},"gateway":{"Type":4,"Flags":1,"Description":"gateway is the host address of the ScaleIO API Gateway."},"protectionDomain":{"Type":4,"Flags":0,"Description":"protectionDomain is the name of the ScaleIO Protection Domain for the configured storage."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":116,"Flags":1,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"sslEnabled":{"Type":2,"Flags":0,"Description":"sslEnabled Flag enable/disable SSL communication with Gateway, default false"},"storageMode":{"Type":4,"Flags":0,"Description":"storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned."},"storagePool":{"Type":4,"Flags":0,"Description":"storagePool is the ScaleIO Storage Pool associated with the protection domain."},"system":{"Type":4,"Flags":1,"Description":"system is the name of the storage system as configured in ScaleIO."},"volumeName":{"Type":4,"Flags":0,"Description":"volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source."}}}},{"2":{"Name":"IoK8SApiCoreV1SecretVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"items":{"Type":185,"Flags":0,"Description":"items If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"optional":{"Type":2,"Flags":0,"Description":"optional field specify whether the Secret or its keys must be defined"},"secretName":{"Type":4,"Flags":0,"Description":"secretName is the name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret"}}}},{"3":{"ItemType":141}},{"2":{"Name":"IoK8SApiCoreV1StorageOSVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":116,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"volumeName":{"Type":4,"Flags":0,"Description":"volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace."},"volumeNamespace":{"Type":4,"Flags":0,"Description":"volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created."}}}},{"2":{"Name":"IoK8SApiCoreV1VsphereVirtualDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"storagePolicyID":{"Type":4,"Flags":0,"Description":"storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName."},"storagePolicyName":{"Type":4,"Flags":0,"Description":"storagePolicyName is the storage Policy Based Management (SPBM) profile name."},"volumePath":{"Type":4,"Flags":1,"Description":"volumePath is the path that identifies vSphere volume vmdk"}}}},{"3":{"ItemType":133}},{"2":{"Name":"IoK8SApiBatchV1CronJobStatus","Properties":{"active":{"Type":191,"Flags":0,"Description":"A list of pointers to currently running jobs."},"lastScheduleTime":{"Type":4,"Flags":0,"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."},"lastSuccessfulTime":{"Type":4,"Flags":0,"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."}}}},{"2":{"Name":"IoK8SApiCoreV1ObjectReference","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"API version of the referent."},"fieldPath":{"Type":4,"Flags":0,"Description":"If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object."},"kind":{"Type":4,"Flags":0,"Description":"Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"namespace":{"Type":4,"Flags":0,"Description":"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"},"resourceVersion":{"Type":4,"Flags":0,"Description":"Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"},"uid":{"Type":4,"Flags":0,"Description":"UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids"}}}},{"3":{"ItemType":190}},{"2":{"Name":"batch/CronJob","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":0,"Description":"CronJobSpec describes how the job execution will look like and when it will actually run."},"status":{"Type":189,"Flags":0,"Description":"CronJobStatus represents the current state of a cron job."}}}},{"4":{"Name":"batch/CronJob@v1","ScopeType":0,"Body":192,"Flags":0}},{"6":{"Value":"Job"}},{"6":{"Value":"batch/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":196,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":197,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiBatchV1JobStatus","Properties":{"active":{"Type":3,"Flags":0,"Description":"The number of pending and running pods."},"completedIndexes":{"Type":4,"Flags":0,"Description":"CompletedIndexes holds the completed indexes when .spec.completionMode = \"Indexed\" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\"."},"completionTime":{"Type":4,"Flags":0,"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."},"conditions":{"Type":201,"Flags":0,"Description":"The latest available observations of an object's current state. When a Job fails, one of the conditions will have type \"Failed\" and status true. When a Job is suspended, one of the conditions will have type \"Suspended\" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type \"Complete\" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/"},"failed":{"Type":3,"Flags":0,"Description":"The number of pods which reached phase Failed."},"ready":{"Type":3,"Flags":0,"Description":"The number of pods which have a Ready condition.\n\nThis field is beta-level. The job controller populates the field when the feature gate JobReadyPods is enabled (enabled by default)."},"startTime":{"Type":4,"Flags":0,"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."},"succeeded":{"Type":3,"Flags":0,"Description":"The number of pods which reached phase Succeeded."},"uncountedTerminatedPods":{"Type":202,"Flags":0,"Description":"UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters."}}}},{"2":{"Name":"IoK8SApiBatchV1JobCondition","Properties":{"lastProbeTime":{"Type":4,"Flags":0,"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."},"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"Human readable message indicating details about last transition."},"reason":{"Type":4,"Flags":0,"Description":"(brief) reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"Status of the condition, one of True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"Type of job condition, Complete or Failed."}}}},{"3":{"ItemType":200}},{"2":{"Name":"IoK8SApiBatchV1UncountedTerminatedPods","Properties":{"failed":{"Type":203,"Flags":0,"Description":"Failed holds UIDs of failed Pods."},"succeeded":{"Type":204,"Flags":0,"Description":"Succeeded holds UIDs of succeeded Pods."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"batch/Job","Properties":{"kind":{"Type":194,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":195,"Flags":10,"Description":"The api version."},"metadata":{"Type":198,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":23,"Flags":0,"Description":"JobSpec describes how the job execution will look like."},"status":{"Type":199,"Flags":0,"Description":"JobStatus represents the current state of a Job."}}}},{"4":{"Name":"batch/Job@v1","ScopeType":0,"Body":205,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "CronJob" + }, + { + "$type": "StringLiteralType", + "value": "batch/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiBatchV1CronJobSpec", + "properties": { + "concurrencyPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one" + }, + "failedJobsHistoryLimit": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1." + }, + "jobTemplate": { + "type": { + "$ref": "#/8" + }, + "flags": 1, + "description": "JobTemplateSpec describes the data a Job should have when created from a template" + }, + "schedule": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron." + }, + "startingDeadlineSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "successfulJobsHistoryLimit": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3." + }, + "suspend": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false." + }, + "timeZone": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones This is beta field and must be enabled via the `CronJobTimeZone` feature gate." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiBatchV1JobTemplateSpec", + "properties": { + "metadata": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create." + }, + "spec": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "JobSpec describes how the job execution will look like." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ObjectMeta", + "properties": { + "annotations": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations" + }, + "creationTimestamp": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "deletionGracePeriodSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only." + }, + "deletionTimestamp": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "finalizers": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list." + }, + "generateName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will return a 409.\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency" + }, + "generation": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only." + }, + "labels": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels" + }, + "managedFields": { + "type": { + "$ref": "#/15" + }, + "flags": 0, + "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces" + }, + "ownerReferences": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller." + }, + "resourceVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + }, + "selfLink": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system." + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ObjectMetaAnnotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ObjectMetaLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ManagedFieldsEntry", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted." + }, + "fieldsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"" + }, + "fieldsV1": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "Any object" + }, + "manager": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Manager is an identifier of the workflow managing these fields." + }, + "operation": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'." + }, + "subresource": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource." + }, + "time": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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": "AnyType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/13" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1OwnerReference", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "API version of the referent." + }, + "blockOwnerDeletion": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned." + }, + "controller": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "If true, this reference points to the managing controller." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names" + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids" + } + } + }, + { + "$type": "BooleanType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/16" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiBatchV1JobSpec", + "properties": { + "activeDeadlineSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again." + }, + "backoffLimit": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Specifies the number of retries before marking this job failed. Defaults to 6" + }, + "completionMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "CompletionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.\n\n`NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.\n\n`Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.\n\nMore completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job." + }, + "completions": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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/" + }, + "manualSelector": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "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" + }, + "parallelism": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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/" + }, + "podFailurePolicy": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "PodFailurePolicy describes how failed pods influence the backoffLimit." + }, + "selector": { + "type": { + "$ref": "#/27" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "suspend": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false." + }, + "template": { + "type": { + "$ref": "#/32" + }, + "flags": 1, + "description": "PodTemplateSpec describes the data a pod should have when created from a template" + }, + "ttlSecondsAfterFinished": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiBatchV1PodFailurePolicy", + "properties": { + "rules": { + "type": { + "$ref": "#/26" + }, + "flags": 1, + "description": "A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiBatchV1PodFailurePolicyRule", + "properties": { + "action": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are: - FailJob: indicates that the pod's job is marked as Failed and all\n running pods are terminated.\n- Ignore: indicates that the counter towards the .backoffLimit is not\n incremented and a replacement pod is created.\n- Count: indicates that the pod is handled in the default way - the\n counter towards the .backoffLimit is incremented.\nAdditional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule." + }, + "onExitCodes": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check." + }, + "onPodConditions": { + "type": { + "$ref": "#/25" + }, + "flags": 1, + "description": "Represents the requirement on the pod conditions. The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiBatchV1PodFailurePolicyOnExitCodesRequirement", + "properties": { + "containerName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are: - In: the requirement is satisfied if at least one container exit code\n (might be multiple if there are multiple containers not restricted\n by the 'containerName' field) is in the set of specified values.\n- NotIn: the requirement is satisfied if at least one container exit code\n (might be multiple if there are multiple containers not restricted\n by the 'containerName' field) is not in the set of specified values.\nAdditional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied." + }, + "values": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/7" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiBatchV1PodFailurePolicyOnPodConditionsPattern", + "properties": { + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/24" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/21" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelector", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/30" + }, + "flags": 0, + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." + }, + "matchLabels": { + "type": { + "$ref": "#/31" + }, + "flags": 0, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/28" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodTemplateSpec", + "properties": { + "metadata": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create." + }, + "spec": { + "type": { + "$ref": "#/33" + }, + "flags": 0, + "description": "PodSpec is a description of a pod." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSpec", + "properties": { + "activeDeadlineSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer." + }, + "affinity": { + "type": { + "$ref": "#/34" + }, + "flags": 0, + "description": "Affinity is a group of affinity scheduling rules." + }, + "automountServiceAccountToken": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted." + }, + "containers": { + "type": { + "$ref": "#/94" + }, + "flags": 1, + "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated." + }, + "dnsConfig": { + "type": { + "$ref": "#/95" + }, + "flags": 0, + "description": "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy." + }, + "dnsPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'." + }, + "enableServiceLinks": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true." + }, + "ephemeralContainers": { + "type": { + "$ref": "#/108" + }, + "flags": 0, + "description": "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource." + }, + "hostAliases": { + "type": { + "$ref": "#/111" + }, + "flags": 0, + "description": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods." + }, + "hostIPC": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Use the host's ipc namespace. Optional: Default to false." + }, + "hostNetwork": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false." + }, + "hostPID": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Use the host's pid namespace. Optional: Default to false." + }, + "hostUsers": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Use the host's user namespace. Optional: Default to true. If set to true or not present, the pod will be run in the host user namespace, useful for when the pod needs a feature only available to the host user namespace, such as loading a kernel module with CAP_SYS_MODULE. When set to false, a new userns is created for the pod. Setting false is useful for mitigating container breakout vulnerabilities even allowing users to run their containers as root without actually having root privileges on the host. This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature." + }, + "hostname": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value." + }, + "imagePullSecrets": { + "type": { + "$ref": "#/113" + }, + "flags": 0, + "description": "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod" + }, + "initContainers": { + "type": { + "$ref": "#/114" + }, + "flags": 0, + "description": "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/" + }, + "nodeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements." + }, + "nodeSelector": { + "type": { + "$ref": "#/115" + }, + "flags": 0, + "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/" + }, + "os": { + "type": { + "$ref": "#/116" + }, + "flags": 0, + "description": "PodOS defines the OS parameters of a pod." + }, + "overhead": { + "type": { + "$ref": "#/117" + }, + "flags": 0, + "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md" + }, + "preemptionPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset." + }, + "priority": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority." + }, + "priorityClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default." + }, + "readinessGates": { + "type": { + "$ref": "#/119" + }, + "flags": 0, + "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/580-pod-readiness-gates" + }, + "restartPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy" + }, + "runtimeClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class" + }, + "schedulerName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler." + }, + "securityContext": { + "type": { + "$ref": "#/120" + }, + "flags": 0, + "description": "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext." + }, + "serviceAccount": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead." + }, + "serviceAccountName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/" + }, + "setHostnameAsFQDN": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false." + }, + "shareProcessNamespace": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false." + }, + "subdomain": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all." + }, + "terminationGracePeriodSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds." + }, + "tolerations": { + "type": { + "$ref": "#/125" + }, + "flags": 0, + "description": "If specified, the pod's tolerations." + }, + "topologySpreadConstraints": { + "type": { + "$ref": "#/128" + }, + "flags": 0, + "description": "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed." + }, + "volumes": { + "type": { + "$ref": "#/184" + }, + "flags": 0, + "description": "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Affinity", + "properties": { + "nodeAffinity": { + "type": { + "$ref": "#/35" + }, + "flags": 0, + "description": "Node affinity is a group of node affinity scheduling rules." + }, + "podAffinity": { + "type": { + "$ref": "#/45" + }, + "flags": 0, + "description": "Pod affinity is a group of inter pod affinity scheduling rules." + }, + "podAntiAffinity": { + "type": { + "$ref": "#/51" + }, + "flags": 0, + "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeAffinity", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/42" + }, + "flags": 0, + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred." + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/43" + }, + "flags": 0, + "description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PreferredSchedulingTerm", + "properties": { + "preference": { + "type": { + "$ref": "#/37" + }, + "flags": 1, + "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm." + }, + "weight": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelectorTerm", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/40" + }, + "flags": 0, + "description": "A list of node selector requirements by node's labels." + }, + "matchFields": { + "type": { + "$ref": "#/41" + }, + "flags": 0, + "description": "A list of node selector requirements by node's fields." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + }, + "values": { + "type": { + "$ref": "#/39" + }, + "flags": 0, + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/38" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/38" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/36" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelector", + "properties": { + "nodeSelectorTerms": { + "type": { + "$ref": "#/44" + }, + "flags": 1, + "description": "Required. A list of node selector terms. The terms are ORed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/37" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodAffinity", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/49" + }, + "flags": 0, + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred." + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/50" + }, + "flags": 0, + "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1WeightedPodAffinityTerm", + "properties": { + "podAffinityTerm": { + "type": { + "$ref": "#/47" + }, + "flags": 1, + "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running" + }, + "weight": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodAffinityTerm", + "properties": { + "labelSelector": { + "type": { + "$ref": "#/27" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "namespaceSelector": { + "type": { + "$ref": "#/27" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "namespaces": { + "type": { + "$ref": "#/48" + }, + "flags": 0, + "description": "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." + }, + "topologyKey": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/46" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/47" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodAntiAffinity", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/52" + }, + "flags": 0, + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred." + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/53" + }, + "flags": 0, + "description": "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/46" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/47" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Container", + "properties": { + "args": { + "type": { + "$ref": "#/55" + }, + "flags": 0, + "description": "Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "command": { + "type": { + "$ref": "#/56" + }, + "flags": 0, + "description": "Entrypoint array. Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "env": { + "type": { + "$ref": "#/63" + }, + "flags": 0, + "description": "List of environment variables to set in the container. Cannot be updated." + }, + "envFrom": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated." + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets." + }, + "imagePullPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images" + }, + "lifecycle": { + "type": { + "$ref": "#/68" + }, + "flags": 0, + "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted." + }, + "livenessProbe": { + "type": { + "$ref": "#/76" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated." + }, + "ports": { + "type": { + "$ref": "#/79" + }, + "flags": 0, + "description": "List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated." + }, + "readinessProbe": { + "type": { + "$ref": "#/76" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "resources": { + "type": { + "$ref": "#/80" + }, + "flags": 0, + "description": "ResourceRequirements describes the compute resource requirements." + }, + "securityContext": { + "type": { + "$ref": "#/83" + }, + "flags": 0, + "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence." + }, + "startupProbe": { + "type": { + "$ref": "#/76" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "stdin": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false." + }, + "stdinOnce": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false" + }, + "terminationMessagePath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated." + }, + "terminationMessagePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated." + }, + "tty": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false." + }, + "volumeDevices": { + "type": { + "$ref": "#/91" + }, + "flags": 0, + "description": "volumeDevices is the list of block devices to be used by the container." + }, + "volumeMounts": { + "type": { + "$ref": "#/93" + }, + "flags": 0, + "description": "Pod volumes to mount into the container's filesystem. Cannot be updated." + }, + "workingDir": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EnvVar", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the environment variable. Must be a C_IDENTIFIER." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\"." + }, + "valueFrom": { + "type": { + "$ref": "#/58" + }, + "flags": 0, + "description": "EnvVarSource represents a source for the value of an EnvVar." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EnvVarSource", + "properties": { + "configMapKeyRef": { + "type": { + "$ref": "#/59" + }, + "flags": 0, + "description": "Selects a key from a ConfigMap." + }, + "fieldRef": { + "type": { + "$ref": "#/60" + }, + "flags": 0, + "description": "ObjectFieldSelector selects an APIVersioned field of an object." + }, + "resourceFieldRef": { + "type": { + "$ref": "#/61" + }, + "flags": 0, + "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format" + }, + "secretKeyRef": { + "type": { + "$ref": "#/62" + }, + "flags": 0, + "description": "SecretKeySelector selects a key of a Secret." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapKeySelector", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The key to select." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Specify whether the ConfigMap or its key must be defined" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ObjectFieldSelector", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." + }, + "fieldPath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path of the field to select in the specified API version." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceFieldSelector", + "properties": { + "containerName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container name: required for volumes, optional for env vars" + }, + "divisor": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + }, + "resource": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Required: resource to select" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretKeySelector", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The key of the secret to select from. Must be a valid secret key." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Specify whether the Secret or its key must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/57" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EnvFromSource", + "properties": { + "configMapRef": { + "type": { + "$ref": "#/65" + }, + "flags": 0, + "description": "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables." + }, + "prefix": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER." + }, + "secretRef": { + "type": { + "$ref": "#/66" + }, + "flags": 0, + "description": "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapEnvSource", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Specify whether the ConfigMap must be defined" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretEnvSource", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Specify whether the Secret must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/64" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Lifecycle", + "properties": { + "postStart": { + "type": { + "$ref": "#/69" + }, + "flags": 0, + "description": "LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified." + }, + "preStop": { + "type": { + "$ref": "#/69" + }, + "flags": 0, + "description": "LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LifecycleHandler", + "properties": { + "exec": { + "type": { + "$ref": "#/70" + }, + "flags": 0, + "description": "ExecAction describes a \"run in container\" action." + }, + "httpGet": { + "type": { + "$ref": "#/72" + }, + "flags": 0, + "description": "HTTPGetAction describes an action based on HTTP Get requests." + }, + "tcpSocket": { + "type": { + "$ref": "#/75" + }, + "flags": 0, + "description": "TCPSocketAction describes an action based on opening a socket" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ExecAction", + "properties": { + "command": { + "type": { + "$ref": "#/71" + }, + "flags": 0, + "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HttpGetAction", + "properties": { + "host": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead." + }, + "httpHeaders": { + "type": { + "$ref": "#/74" + }, + "flags": 0, + "description": "Custom headers to set in the request. HTTP allows repeated headers." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Path to access on the HTTP server." + }, + "port": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + }, + "scheme": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Scheme to use for connecting to the host. Defaults to HTTP." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HttpHeader", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The header field name" + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The header field value" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/73" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TCPSocketAction", + "properties": { + "host": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Host name to connect to, defaults to the pod IP." + }, + "port": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Probe", + "properties": { + "exec": { + "type": { + "$ref": "#/70" + }, + "flags": 0, + "description": "ExecAction describes a \"run in container\" action." + }, + "failureThreshold": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." + }, + "grpc": { + "type": { + "$ref": "#/77" + }, + "flags": 0 + }, + "httpGet": { + "type": { + "$ref": "#/72" + }, + "flags": 0, + "description": "HTTPGetAction describes an action based on HTTP Get requests." + }, + "initialDelaySeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + }, + "periodSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." + }, + "successThreshold": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1." + }, + "tcpSocket": { + "type": { + "$ref": "#/75" + }, + "flags": 0, + "description": "TCPSocketAction describes an action based on opening a socket" + }, + "terminationGracePeriodSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset." + }, + "timeoutSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GrpcAction", + "properties": { + "port": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535." + }, + "service": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ContainerPort", + "properties": { + "containerPort": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536." + }, + "hostIP": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "What host IP to bind the external port to." + }, + "hostPort": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services." + }, + "protocol": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\"." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/78" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceRequirements", + "properties": { + "limits": { + "type": { + "$ref": "#/81" + }, + "flags": 0, + "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" + }, + "requests": { + "type": { + "$ref": "#/82" + }, + "flags": 0, + "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceRequirementsLimits", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceRequirementsRequests", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecurityContext", + "properties": { + "allowPrivilegeEscalation": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows." + }, + "capabilities": { + "type": { + "$ref": "#/84" + }, + "flags": 0, + "description": "Adds and removes POSIX capabilities from running containers." + }, + "privileged": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows." + }, + "procMount": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows." + }, + "readOnlyRootFilesystem": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows." + }, + "runAsGroup": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows." + }, + "runAsNonRoot": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + }, + "runAsUser": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows." + }, + "seLinuxOptions": { + "type": { + "$ref": "#/87" + }, + "flags": 0, + "description": "SELinuxOptions are the labels to be applied to the container" + }, + "seccompProfile": { + "type": { + "$ref": "#/88" + }, + "flags": 0, + "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set." + }, + "windowsOptions": { + "type": { + "$ref": "#/89" + }, + "flags": 0, + "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Capabilities", + "properties": { + "add": { + "type": { + "$ref": "#/85" + }, + "flags": 0, + "description": "Added capabilities" + }, + "drop": { + "type": { + "$ref": "#/86" + }, + "flags": 0, + "description": "Removed capabilities" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SELinuxOptions", + "properties": { + "level": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Level is SELinux level label that applies to the container." + }, + "role": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Role is a SELinux role label that applies to the container." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Type is a SELinux type label that applies to the container." + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "User is a SELinux user label that applies to the container." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SeccompProfile", + "properties": { + "localhostProfile": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is \"Localhost\"." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1WindowsSecurityContextOptions", + "properties": { + "gmsaCredentialSpec": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field." + }, + "gmsaCredentialSpecName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use." + }, + "hostProcess": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "HostProcess determines if a container should be run as a 'Host Process' container. This field is alpha-level and will only be honored by components that enable the WindowsHostProcessContainers feature flag. Setting this field without the feature flag will result in errors when validating the Pod. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true." + }, + "runAsUserName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeDevice", + "properties": { + "devicePath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "devicePath is the path inside of the container that the device will be mapped to." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name must match the name of a persistentVolumeClaim in the pod" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/90" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeMount", + "properties": { + "mountPath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path within the container at which the volume should be mounted. Must not contain ':'." + }, + "mountPropagation": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "This must match the Name of a Volume." + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false." + }, + "subPath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root)." + }, + "subPathExpr": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/92" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/54" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodDNSConfig", + "properties": { + "nameservers": { + "type": { + "$ref": "#/96" + }, + "flags": 0, + "description": "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed." + }, + "options": { + "type": { + "$ref": "#/98" + }, + "flags": 0, + "description": "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy." + }, + "searches": { + "type": { + "$ref": "#/99" + }, + "flags": 0, + "description": "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodDNSConfigOption", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Required." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/97" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EphemeralContainer", + "properties": { + "args": { + "type": { + "$ref": "#/101" + }, + "flags": 0, + "description": "Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "command": { + "type": { + "$ref": "#/102" + }, + "flags": 0, + "description": "Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "env": { + "type": { + "$ref": "#/103" + }, + "flags": 0, + "description": "List of environment variables to set in the container. Cannot be updated." + }, + "envFrom": { + "type": { + "$ref": "#/104" + }, + "flags": 0, + "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated." + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container image name. More info: https://kubernetes.io/docs/concepts/containers/images" + }, + "imagePullPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images" + }, + "lifecycle": { + "type": { + "$ref": "#/68" + }, + "flags": 0, + "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted." + }, + "livenessProbe": { + "type": { + "$ref": "#/76" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers." + }, + "ports": { + "type": { + "$ref": "#/105" + }, + "flags": 0, + "description": "Ports are not allowed for ephemeral containers." + }, + "readinessProbe": { + "type": { + "$ref": "#/76" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "resources": { + "type": { + "$ref": "#/80" + }, + "flags": 0, + "description": "ResourceRequirements describes the compute resource requirements." + }, + "securityContext": { + "type": { + "$ref": "#/83" + }, + "flags": 0, + "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence." + }, + "startupProbe": { + "type": { + "$ref": "#/76" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "stdin": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false." + }, + "stdinOnce": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false" + }, + "targetContainerName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container uses the namespaces configured in the Pod spec.\n\nThe container runtime must implement support for this feature. If the runtime does not support namespace targeting then the result of setting this field is undefined." + }, + "terminationMessagePath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated." + }, + "terminationMessagePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated." + }, + "tty": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false." + }, + "volumeDevices": { + "type": { + "$ref": "#/106" + }, + "flags": 0, + "description": "volumeDevices is the list of block devices to be used by the container." + }, + "volumeMounts": { + "type": { + "$ref": "#/107" + }, + "flags": 0, + "description": "Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated." + }, + "workingDir": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/57" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/64" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/78" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/90" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/92" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/100" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HostAlias", + "properties": { + "hostnames": { + "type": { + "$ref": "#/110" + }, + "flags": 0, + "description": "Hostnames for the above IP address." + }, + "ip": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IP address of the host file entry." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/109" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LocalObjectReference", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/112" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/54" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSpecNodeSelector", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodOS", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the name of the operating system. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSpecOverhead", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodReadinessGate", + "properties": { + "conditionType": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "ConditionType refers to a condition in the pod's condition list with matching type." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/118" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSecurityContext", + "properties": { + "fsGroup": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name is windows." + }, + "fsGroupChangePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used. Note that this field cannot be set when spec.os.name is windows." + }, + "runAsGroup": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows." + }, + "runAsNonRoot": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + }, + "runAsUser": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows." + }, + "seLinuxOptions": { + "type": { + "$ref": "#/87" + }, + "flags": 0, + "description": "SELinuxOptions are the labels to be applied to the container" + }, + "seccompProfile": { + "type": { + "$ref": "#/88" + }, + "flags": 0, + "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set." + }, + "supplementalGroups": { + "type": { + "$ref": "#/121" + }, + "flags": 0, + "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container. Note that this field cannot be set when spec.os.name is windows." + }, + "sysctls": { + "type": { + "$ref": "#/123" + }, + "flags": 0, + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows." + }, + "windowsOptions": { + "type": { + "$ref": "#/89" + }, + "flags": 0, + "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/7" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Sysctl", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of a property to set" + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Value of a property to set" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/122" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Toleration", + "properties": { + "effect": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute." + }, + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category." + }, + "tolerationSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/124" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TopologySpreadConstraint", + "properties": { + "labelSelector": { + "type": { + "$ref": "#/27" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "matchLabelKeys": { + "type": { + "$ref": "#/127" + }, + "flags": 0, + "description": "MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector." + }, + "maxSkew": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. The global minimum is the minimum number of matching pods in an eligible domain or zero if the number of eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | | P P | P P | P | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed." + }, + "minDomains": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "MinDomains indicates a minimum number of eligible domains. When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number of eligible domains is less than minDomains, scheduler won't schedule more than maxSkew Pods to those domains. If value is nil, the constraint behaves as if MinDomains is equal to 1. Valid values are integers greater than 0. When value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same labelSelector spread as 2/2/2: | zone1 | zone2 | zone3 | | P P | P P | P P | The number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0. In this situation, new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will violate MaxSkew.\n\nThis is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default)." + }, + "nodeAffinityPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\nIf this value is nil, the behavior is equivalent to the Honor policy. This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread feature flag." + }, + "nodeTaintsPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included.\n\nIf this value is nil, the behavior is equivalent to the Ignore policy. This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread feature flag." + }, + "topologyKey": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. We define a domain as a particular instance of a topology. Also, we define an eligible domain as a domain whose nodes meet the requirements of nodeAffinityPolicy and nodeTaintsPolicy. e.g. If TopologyKey is \"kubernetes.io/hostname\", each Node is a domain of that topology. And, if TopologyKey is \"topology.kubernetes.io/zone\", each zone is a domain of that topology. It's a required field." + }, + "whenUnsatisfiable": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assignment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/126" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Volume", + "properties": { + "awsElasticBlockStore": { + "type": { + "$ref": "#/130" + }, + "flags": 0, + "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling." + }, + "azureDisk": { + "type": { + "$ref": "#/131" + }, + "flags": 0, + "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." + }, + "azureFile": { + "type": { + "$ref": "#/132" + }, + "flags": 0, + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod." + }, + "cephfs": { + "type": { + "$ref": "#/133" + }, + "flags": 0, + "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling." + }, + "cinder": { + "type": { + "$ref": "#/135" + }, + "flags": 0, + "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling." + }, + "configMap": { + "type": { + "$ref": "#/136" + }, + "flags": 0, + "description": "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling." + }, + "csi": { + "type": { + "$ref": "#/139" + }, + "flags": 0, + "description": "Represents a source location of a volume to mount, managed by an external CSI driver" + }, + "downwardAPI": { + "type": { + "$ref": "#/141" + }, + "flags": 0, + "description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling." + }, + "emptyDir": { + "type": { + "$ref": "#/144" + }, + "flags": 0, + "description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling." + }, + "ephemeral": { + "type": { + "$ref": "#/145" + }, + "flags": 0, + "description": "Represents an ephemeral volume that is handled by a normal storage driver." + }, + "fc": { + "type": { + "$ref": "#/150" + }, + "flags": 0, + "description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling." + }, + "flexVolume": { + "type": { + "$ref": "#/153" + }, + "flags": 0, + "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin." + }, + "flocker": { + "type": { + "$ref": "#/155" + }, + "flags": 0, + "description": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling." + }, + "gcePersistentDisk": { + "type": { + "$ref": "#/156" + }, + "flags": 0, + "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling." + }, + "gitRepo": { + "type": { + "$ref": "#/157" + }, + "flags": 0, + "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container." + }, + "glusterfs": { + "type": { + "$ref": "#/158" + }, + "flags": 0, + "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling." + }, + "hostPath": { + "type": { + "$ref": "#/159" + }, + "flags": 0, + "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling." + }, + "iscsi": { + "type": { + "$ref": "#/160" + }, + "flags": 0, + "description": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "nfs": { + "type": { + "$ref": "#/162" + }, + "flags": 0, + "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling." + }, + "persistentVolumeClaim": { + "type": { + "$ref": "#/163" + }, + "flags": 0, + "description": "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system)." + }, + "photonPersistentDisk": { + "type": { + "$ref": "#/164" + }, + "flags": 0, + "description": "Represents a Photon Controller persistent disk resource." + }, + "portworxVolume": { + "type": { + "$ref": "#/165" + }, + "flags": 0, + "description": "PortworxVolumeSource represents a Portworx volume resource." + }, + "projected": { + "type": { + "$ref": "#/166" + }, + "flags": 0, + "description": "Represents a projected volume source" + }, + "quobyte": { + "type": { + "$ref": "#/176" + }, + "flags": 0, + "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling." + }, + "rbd": { + "type": { + "$ref": "#/177" + }, + "flags": 0, + "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling." + }, + "scaleIO": { + "type": { + "$ref": "#/179" + }, + "flags": 0, + "description": "ScaleIOVolumeSource represents a persistent ScaleIO volume" + }, + "secret": { + "type": { + "$ref": "#/180" + }, + "flags": 0, + "description": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling." + }, + "storageos": { + "type": { + "$ref": "#/182" + }, + "flags": 0, + "description": "Represents a StorageOS persistent volume resource." + }, + "vsphereVolume": { + "type": { + "$ref": "#/183" + }, + "flags": 0, + "description": "Represents a vSphere volume resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AWSElasticBlockStoreVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + }, + "partition": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty)." + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AzureDiskVolumeSource", + "properties": { + "cachingMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "cachingMode is the Host Caching mode: None, Read Only, Read Write." + }, + "diskName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "diskName is the Name of the data disk in the blob storage" + }, + "diskURI": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "diskURI is the URI of data disk in the blob storage" + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared" + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AzureFileVolumeSource", + "properties": { + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "secretName is the name of secret that contains Azure Storage Account Name and Key" + }, + "shareName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "shareName is the azure share Name" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CephFSVolumeSource", + "properties": { + "monitors": { + "type": { + "$ref": "#/134" + }, + "flags": 1, + "description": "monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /" + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "secretFile": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "secretRef": { + "type": { + "$ref": "#/112" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "user is optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CinderVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + }, + "secretRef": { + "type": { + "$ref": "#/112" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "items": { + "type": { + "$ref": "#/138" + }, + "flags": 0, + "description": "items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "optional specify whether the ConfigMap or its keys must be defined" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1KeyToPath", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the key to project." + }, + "mode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/137" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CSIVolumeSource", + "properties": { + "driver": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster." + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply." + }, + "nodePublishSecretRef": { + "type": { + "$ref": "#/112" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "readOnly specifies a read-only configuration for the volume. Defaults to false (read/write)." + }, + "volumeAttributes": { + "type": { + "$ref": "#/140" + }, + "flags": 0, + "description": "volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CSIVolumeSourceVolumeAttributes", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1DownwardAPIVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "items": { + "type": { + "$ref": "#/143" + }, + "flags": 0, + "description": "Items is a list of downward API volume file" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1DownwardAPIVolumeFile", + "properties": { + "fieldRef": { + "type": { + "$ref": "#/60" + }, + "flags": 0, + "description": "ObjectFieldSelector selects an APIVersioned field of an object." + }, + "mode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'" + }, + "resourceFieldRef": { + "type": { + "$ref": "#/61" + }, + "flags": 0, + "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/142" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EmptyDirVolumeSource", + "properties": { + "medium": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "medium represents what type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir" + }, + "sizeLimit": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EphemeralVolumeSource", + "properties": { + "volumeClaimTemplate": { + "type": { + "$ref": "#/146" + }, + "flags": 0, + "description": "PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimTemplate", + "properties": { + "metadata": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create." + }, + "spec": { + "type": { + "$ref": "#/147" + }, + "flags": 1, + "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimSpec", + "properties": { + "accessModes": { + "type": { + "$ref": "#/148" + }, + "flags": 0, + "description": "accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1" + }, + "dataSource": { + "type": { + "$ref": "#/149" + }, + "flags": 0, + "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace." + }, + "dataSourceRef": { + "type": { + "$ref": "#/149" + }, + "flags": 0, + "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace." + }, + "resources": { + "type": { + "$ref": "#/80" + }, + "flags": 0, + "description": "ResourceRequirements describes the compute resource requirements." + }, + "selector": { + "type": { + "$ref": "#/27" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "storageClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" + }, + "volumeMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeName is the binding reference to the PersistentVolume backing this claim." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TypedLocalObjectReference", + "properties": { + "apiGroup": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind is the type of resource being referenced" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the name of resource being referenced" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FCVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "lun": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "lun is Optional: FC target lun number" + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "targetWWNs": { + "type": { + "$ref": "#/151" + }, + "flags": 0, + "description": "targetWWNs is Optional: FC target worldwide names (WWNs)" + }, + "wwids": { + "type": { + "$ref": "#/152" + }, + "flags": 0, + "description": "wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlexVolumeSource", + "properties": { + "driver": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "driver is the name of the driver to use for this volume." + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script." + }, + "options": { + "type": { + "$ref": "#/154" + }, + "flags": 0, + "description": "options is Optional: this field holds extra command options if any." + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/112" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlexVolumeSourceOptions", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlockerVolumeSource", + "properties": { + "datasetName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated" + }, + "datasetUUID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GCEPersistentDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "partition": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "pdName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GitRepoVolumeSource", + "properties": { + "directory": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name." + }, + "repository": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "repository is the URL" + }, + "revision": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "revision is the commit hash for the specified revision." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GlusterfsVolumeSource", + "properties": { + "endpoints": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HostPathVolumeSource", + "properties": { + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1IscsiVolumeSource", + "properties": { + "chapAuthDiscovery": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication" + }, + "chapAuthSession": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "chapAuthSession defines whether support iSCSI Session CHAP authentication" + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi" + }, + "initiatorName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection." + }, + "iqn": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "iqn is the target iSCSI Qualified Name." + }, + "iscsiInterface": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)." + }, + "lun": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "lun represents iSCSI Target Lun number." + }, + "portals": { + "type": { + "$ref": "#/161" + }, + "flags": 0, + "description": "portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)." + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false." + }, + "secretRef": { + "type": { + "$ref": "#/112" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "targetPortal": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NFSVolumeSource", + "properties": { + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "readOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + }, + "server": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimVolumeSource", + "properties": { + "claimName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "readOnly Will force the ReadOnly setting in VolumeMounts. Default false." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PhotonPersistentDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "pdID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "pdID is the ID that identifies Photon Controller persistent disk" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PortworxVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volumeID uniquely identifies a Portworx volume" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ProjectedVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "sources": { + "type": { + "$ref": "#/175" + }, + "flags": 0, + "description": "sources is the list of volume projections" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeProjection", + "properties": { + "configMap": { + "type": { + "$ref": "#/168" + }, + "flags": 0, + "description": "Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode." + }, + "downwardAPI": { + "type": { + "$ref": "#/170" + }, + "flags": 0, + "description": "Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode." + }, + "secret": { + "type": { + "$ref": "#/172" + }, + "flags": 0, + "description": "Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode." + }, + "serviceAccountToken": { + "type": { + "$ref": "#/174" + }, + "flags": 0, + "description": "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise)." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapProjection", + "properties": { + "items": { + "type": { + "$ref": "#/169" + }, + "flags": 0, + "description": "items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "optional specify whether the ConfigMap or its keys must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/137" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1DownwardAPIProjection", + "properties": { + "items": { + "type": { + "$ref": "#/171" + }, + "flags": 0, + "description": "Items is a list of DownwardAPIVolume file" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/142" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretProjection", + "properties": { + "items": { + "type": { + "$ref": "#/173" + }, + "flags": 0, + "description": "items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "optional field specify whether the Secret or its key must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/137" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ServiceAccountTokenProjection", + "properties": { + "audience": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver." + }, + "expirationSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "expirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "path is the path relative to the mount point of the file to project the token into." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/167" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1QuobyteVolumeSource", + "properties": { + "group": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "group to map volume access to Default is no group" + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false." + }, + "registry": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes" + }, + "tenant": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin" + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "user to map volume access to Defaults to serivceaccount user" + }, + "volume": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volume is a string that references an already created Quobyte volume by name." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1RBDVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd" + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "keyring": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "monitors": { + "type": { + "$ref": "#/178" + }, + "flags": 1, + "description": "monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "pool": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "secretRef": { + "type": { + "$ref": "#/112" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ScaleIOVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"." + }, + "gateway": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "gateway is the host address of the ScaleIO API Gateway." + }, + "protectionDomain": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "protectionDomain is the name of the ScaleIO Protection Domain for the configured storage." + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/112" + }, + "flags": 1, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "sslEnabled": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "sslEnabled Flag enable/disable SSL communication with Gateway, default false" + }, + "storageMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned." + }, + "storagePool": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "storagePool is the ScaleIO Storage Pool associated with the protection domain." + }, + "system": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "system is the name of the storage system as configured in ScaleIO." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "items": { + "type": { + "$ref": "#/181" + }, + "flags": 0, + "description": "items If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "optional": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "optional field specify whether the Secret or its keys must be defined" + }, + "secretName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "secretName is the name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/137" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1StorageOSVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/112" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace." + }, + "volumeNamespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VsphereVirtualDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "storagePolicyID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName." + }, + "storagePolicyName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "storagePolicyName is the storage Policy Based Management (SPBM) profile name." + }, + "volumePath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volumePath is the path that identifies vSphere volume vmdk" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/129" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiBatchV1CronJobStatus", + "properties": { + "active": { + "type": { + "$ref": "#/187" + }, + "flags": 0, + "description": "A list of pointers to currently running jobs." + }, + "lastScheduleTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "lastSuccessfulTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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": "ObjectType", + "name": "IoK8SApiCoreV1ObjectReference", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "API version of the referent." + }, + "fieldPath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + }, + "resourceVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/186" + } + }, + { + "$type": "ObjectType", + "name": "batch/CronJob", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "CronJobSpec describes how the job execution will look like and when it will actually run." + }, + "status": { + "type": { + "$ref": "#/185" + }, + "flags": 0, + "description": "CronJobStatus represents the current state of a cron job." + } + } + }, + { + "$type": "ResourceType", + "name": "batch/CronJob@v1", + "scopeType": 0, + "body": { + "$ref": "#/188" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "Job" + }, + { + "$type": "StringLiteralType", + "value": "batch/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/192" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/193" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiBatchV1JobStatus", + "properties": { + "active": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The number of pending and running pods." + }, + "completedIndexes": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "CompletedIndexes holds the completed indexes when .spec.completionMode = \"Indexed\" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\"." + }, + "completionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "conditions": { + "type": { + "$ref": "#/197" + }, + "flags": 0, + "description": "The latest available observations of an object's current state. When a Job fails, one of the conditions will have type \"Failed\" and status true. When a Job is suspended, one of the conditions will have type \"Suspended\" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type \"Complete\" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/" + }, + "failed": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The number of pods which reached phase Failed." + }, + "ready": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The number of pods which have a Ready condition.\n\nThis field is beta-level. The job controller populates the field when the feature gate JobReadyPods is enabled (enabled by default)." + }, + "startTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "succeeded": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The number of pods which reached phase Succeeded." + }, + "uncountedTerminatedPods": { + "type": { + "$ref": "#/198" + }, + "flags": 0, + "description": "UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiBatchV1JobCondition", + "properties": { + "lastProbeTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Human readable message indicating details about last transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "(brief) reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Status of the condition, one of True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type of job condition, Complete or Failed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/196" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiBatchV1UncountedTerminatedPods", + "properties": { + "failed": { + "type": { + "$ref": "#/199" + }, + "flags": 0, + "description": "Failed holds UIDs of failed Pods." + }, + "succeeded": { + "type": { + "$ref": "#/200" + }, + "flags": 0, + "description": "Succeeded holds UIDs of succeeded Pods." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "batch/Job", + "properties": { + "kind": { + "type": { + "$ref": "#/190" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/191" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/194" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "JobSpec describes how the job execution will look like." + }, + "status": { + "type": { + "$ref": "#/195" + }, + "flags": 0, + "description": "JobStatus represents the current state of a Job." + } + } + }, + { + "$type": "ResourceType", + "name": "batch/Job@v1", + "scopeType": 0, + "body": { + "$ref": "#/201" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/generated/kubernetes/certificates.k8s.io/v1/types.json b/generated/kubernetes/certificates.k8s.io/v1/types.json index 0c9ea69e..23dd5e27 100644 --- a/generated/kubernetes/certificates.k8s.io/v1/types.json +++ b/generated/kubernetes/certificates.k8s.io/v1/types.json @@ -1 +1,274 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"CertificateSigningRequest"}},{"6":{"Value":"certificates.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCertificatesV1CertificateSigningRequestSpec","Properties":{"expirationSeconds":{"Type":3,"Flags":0,"Description":"expirationSeconds is the requested duration of validity of the issued certificate. The certificate signer may issue a certificate with a different validity duration so a client must check the delta between the notBefore and and notAfter fields in the issued certificate to determine the actual duration.\n\nThe v1.22+ in-tree implementations of the well-known Kubernetes signers will honor this field as long as the requested duration is not greater than the maximum duration they will honor per the --cluster-signing-duration CLI flag to the Kubernetes controller manager.\n\nCertificate signers may not honor this field for various reasons:\n\n 1. Old signer that is unaware of the field (such as the in-tree\n implementations prior to v1.22)\n 2. Signer whose configured maximum is shorter than the requested duration\n 3. Signer whose configured minimum is longer than the requested duration\n\nThe minimum valid value for expirationSeconds is 600, i.e. 10 minutes."},"extra":{"Type":15,"Flags":0,"Description":"extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."},"groups":{"Type":16,"Flags":0,"Description":"groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."},"request":{"Type":0,"Flags":1,"Description":"request contains an x509 certificate signing request encoded in a \"CERTIFICATE REQUEST\" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded."},"signerName":{"Type":4,"Flags":1,"Description":"signerName indicates the requested signer, and is a qualified name.\n\nList/watch requests for CertificateSigningRequests can filter on this field using a \"spec.signerName=NAME\" fieldSelector.\n\nWell-known Kubernetes signers are:\n 1. \"kubernetes.io/kube-apiserver-client\": issues client certificates that can be used to authenticate to kube-apiserver.\n Requests for this signer are never auto-approved by kube-controller-manager, can be issued by the \"csrsigning\" controller in kube-controller-manager.\n 2. \"kubernetes.io/kube-apiserver-client-kubelet\": issues client certificates that kubelets use to authenticate to kube-apiserver.\n Requests for this signer can be auto-approved by the \"csrapproving\" controller in kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager.\n 3. \"kubernetes.io/kubelet-serving\" issues serving certificates that kubelets use to serve TLS endpoints, which kube-apiserver can connect to securely.\n Requests for this signer are never auto-approved by kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager.\n\nMore details are available at https://k8s.io/docs/reference/access-authn-authz/certificate-signing-requests/#kubernetes-signers\n\nCustom signerNames can also be specified. The signer defines:\n 1. Trust distribution: how trust (CA bundles) are distributed.\n 2. Permitted subjects: and behavior when a disallowed subject is requested.\n 3. Required, permitted, or forbidden x509 extensions in the request (including whether subjectAltNames are allowed, which types, restrictions on allowed values) and behavior when a disallowed extension is requested.\n 4. Required, permitted, or forbidden key usages / extended key usages.\n 5. Expiration/certificate lifetime: whether it is fixed by the signer, configurable by the admin.\n 6. Whether or not requests for CA certificates are allowed."},"uid":{"Type":4,"Flags":0,"Description":"uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."},"usages":{"Type":17,"Flags":0,"Description":"usages specifies a set of key usages requested in the issued certificate.\n\nRequests for TLS client certificates typically request: \"digital signature\", \"key encipherment\", \"client auth\".\n\nRequests for TLS serving certificates typically request: \"key encipherment\", \"digital signature\", \"server auth\".\n\nValid values are:\n \"signing\", \"digital signature\", \"content commitment\",\n \"key encipherment\", \"key agreement\", \"data encipherment\",\n \"cert sign\", \"crl sign\", \"encipher only\", \"decipher only\", \"any\",\n \"server auth\", \"client auth\",\n \"code signing\", \"email protection\", \"s/mime\",\n \"ipsec end system\", \"ipsec tunnel\", \"ipsec user\",\n \"timestamping\", \"ocsp signing\", \"microsoft sgc\", \"netscape sgc\""},"username":{"Type":4,"Flags":0,"Description":"username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCertificatesV1CertificateSigningRequestSpecExtra","Properties":{},"AdditionalProperties":14}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCertificatesV1CertificateSigningRequestStatus","Properties":{"certificate":{"Type":0,"Flags":0,"Description":"certificate is populated with an issued certificate by the signer after an Approved condition is present. This field is set via the /status subresource. Once populated, this field is immutable.\n\nIf the certificate signing request is denied, a condition of type \"Denied\" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type \"Failed\" is added and this field remains empty.\n\nValidation requirements:\n 1. certificate must contain one or more PEM blocks.\n 2. All PEM blocks must have the \"CERTIFICATE\" label, contain no headers, and the encoded data\n must be a BER-encoded ASN.1 Certificate structure as described in section 4 of RFC5280.\n 3. Non-PEM content may appear before or after the \"CERTIFICATE\" PEM blocks and is unvalidated,\n to allow for explanatory text as described in section 5.2 of RFC7468.\n\nIf more than one PEM block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes.\n\nThe certificate is encoded in PEM format.\n\nWhen serialized as JSON or YAML, the data is additionally base64-encoded, so it consists of:\n\n base64(\n -----BEGIN CERTIFICATE-----\n ...\n -----END CERTIFICATE-----\n )"},"conditions":{"Type":20,"Flags":0,"Description":"conditions applied to the request. Known conditions are \"Approved\", \"Denied\", and \"Failed\"."}}}},{"2":{"Name":"IoK8SApiCertificatesV1CertificateSigningRequestCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"lastUpdateTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"message contains a human readable message with details about the request state"},"reason":{"Type":4,"Flags":0,"Description":"reason indicates a brief reason for the request state"},"status":{"Type":4,"Flags":1,"Description":"status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be \"False\" or \"Unknown\"."},"type":{"Type":4,"Flags":1,"Description":"type of the condition. Known conditions are \"Approved\", \"Denied\", and \"Failed\".\n\nAn \"Approved\" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer.\n\nA \"Denied\" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer.\n\nA \"Failed\" condition is added via the /status subresource, indicating the signer failed to issue the certificate.\n\nApproved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added.\n\nOnly one condition of a given type is allowed."}}}},{"3":{"ItemType":19}},{"2":{"Name":"certificates.k8s.io/CertificateSigningRequest","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":1,"Description":"CertificateSigningRequestSpec contains the certificate request."},"status":{"Type":18,"Flags":0,"Description":"CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate."}}}},{"4":{"Name":"certificates.k8s.io/CertificateSigningRequest@v1","ScopeType":0,"Body":21,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "CertificateSigningRequest" + }, + { + "$type": "StringLiteralType", + "value": "certificates.k8s.io/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCertificatesV1CertificateSigningRequestSpec", + "properties": { + "expirationSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "expirationSeconds is the requested duration of validity of the issued certificate. The certificate signer may issue a certificate with a different validity duration so a client must check the delta between the notBefore and and notAfter fields in the issued certificate to determine the actual duration.\n\nThe v1.22+ in-tree implementations of the well-known Kubernetes signers will honor this field as long as the requested duration is not greater than the maximum duration they will honor per the --cluster-signing-duration CLI flag to the Kubernetes controller manager.\n\nCertificate signers may not honor this field for various reasons:\n\n 1. Old signer that is unaware of the field (such as the in-tree\n implementations prior to v1.22)\n 2. Signer whose configured maximum is shorter than the requested duration\n 3. Signer whose configured minimum is longer than the requested duration\n\nThe minimum valid value for expirationSeconds is 600, i.e. 10 minutes." + }, + "extra": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable." + }, + "groups": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable." + }, + "request": { + "type": { + "$ref": "#/11" + }, + "flags": 1, + "description": "request contains an x509 certificate signing request encoded in a \"CERTIFICATE REQUEST\" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded." + }, + "signerName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "signerName indicates the requested signer, and is a qualified name.\n\nList/watch requests for CertificateSigningRequests can filter on this field using a \"spec.signerName=NAME\" fieldSelector.\n\nWell-known Kubernetes signers are:\n 1. \"kubernetes.io/kube-apiserver-client\": issues client certificates that can be used to authenticate to kube-apiserver.\n Requests for this signer are never auto-approved by kube-controller-manager, can be issued by the \"csrsigning\" controller in kube-controller-manager.\n 2. \"kubernetes.io/kube-apiserver-client-kubelet\": issues client certificates that kubelets use to authenticate to kube-apiserver.\n Requests for this signer can be auto-approved by the \"csrapproving\" controller in kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager.\n 3. \"kubernetes.io/kubelet-serving\" issues serving certificates that kubelets use to serve TLS endpoints, which kube-apiserver can connect to securely.\n Requests for this signer are never auto-approved by kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager.\n\nMore details are available at https://k8s.io/docs/reference/access-authn-authz/certificate-signing-requests/#kubernetes-signers\n\nCustom signerNames can also be specified. The signer defines:\n 1. Trust distribution: how trust (CA bundles) are distributed.\n 2. Permitted subjects: and behavior when a disallowed subject is requested.\n 3. Required, permitted, or forbidden x509 extensions in the request (including whether subjectAltNames are allowed, which types, restrictions on allowed values) and behavior when a disallowed extension is requested.\n 4. Required, permitted, or forbidden key usages / extended key usages.\n 5. Expiration/certificate lifetime: whether it is fixed by the signer, configurable by the admin.\n 6. Whether or not requests for CA certificates are allowed." + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable." + }, + "usages": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "usages specifies a set of key usages requested in the issued certificate.\n\nRequests for TLS client certificates typically request: \"digital signature\", \"key encipherment\", \"client auth\".\n\nRequests for TLS serving certificates typically request: \"key encipherment\", \"digital signature\", \"server auth\".\n\nValid values are:\n \"signing\", \"digital signature\", \"content commitment\",\n \"key encipherment\", \"key agreement\", \"data encipherment\",\n \"cert sign\", \"crl sign\", \"encipher only\", \"decipher only\", \"any\",\n \"server auth\", \"client auth\",\n \"code signing\", \"email protection\", \"s/mime\",\n \"ipsec end system\", \"ipsec tunnel\", \"ipsec user\",\n \"timestamping\", \"ocsp signing\", \"microsoft sgc\", \"netscape sgc\"" + }, + "username": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCertificatesV1CertificateSigningRequestSpecExtra", + "properties": {}, + "additionalProperties": { + "$ref": "#/8" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "AnyType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCertificatesV1CertificateSigningRequestStatus", + "properties": { + "certificate": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "certificate is populated with an issued certificate by the signer after an Approved condition is present. This field is set via the /status subresource. Once populated, this field is immutable.\n\nIf the certificate signing request is denied, a condition of type \"Denied\" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type \"Failed\" is added and this field remains empty.\n\nValidation requirements:\n 1. certificate must contain one or more PEM blocks.\n 2. All PEM blocks must have the \"CERTIFICATE\" label, contain no headers, and the encoded data\n must be a BER-encoded ASN.1 Certificate structure as described in section 4 of RFC5280.\n 3. Non-PEM content may appear before or after the \"CERTIFICATE\" PEM blocks and is unvalidated,\n to allow for explanatory text as described in section 5.2 of RFC7468.\n\nIf more than one PEM block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes.\n\nThe certificate is encoded in PEM format.\n\nWhen serialized as JSON or YAML, the data is additionally base64-encoded, so it consists of:\n\n base64(\n -----BEGIN CERTIFICATE-----\n ...\n -----END CERTIFICATE-----\n )" + }, + "conditions": { + "type": { + "$ref": "#/15" + }, + "flags": 0, + "description": "conditions applied to the request. Known conditions are \"Approved\", \"Denied\", and \"Failed\"." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCertificatesV1CertificateSigningRequestCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "lastUpdateTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "message contains a human readable message with details about the request state" + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "reason indicates a brief reason for the request state" + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be \"False\" or \"Unknown\"." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type of the condition. Known conditions are \"Approved\", \"Denied\", and \"Failed\".\n\nAn \"Approved\" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer.\n\nA \"Denied\" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer.\n\nA \"Failed\" condition is added via the /status subresource, indicating the signer failed to issue the certificate.\n\nApproved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added.\n\nOnly one condition of a given type is allowed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/14" + } + }, + { + "$type": "ObjectType", + "name": "certificates.k8s.io/CertificateSigningRequest", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 1, + "description": "CertificateSigningRequestSpec contains the certificate request." + }, + "status": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate." + } + } + }, + { + "$type": "ResourceType", + "name": "certificates.k8s.io/CertificateSigningRequest@v1", + "scopeType": 0, + "body": { + "$ref": "#/16" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/generated/kubernetes/coordination.k8s.io/v1/types.json b/generated/kubernetes/coordination.k8s.io/v1/types.json index 31f41325..c8693fa9 100644 --- a/generated/kubernetes/coordination.k8s.io/v1/types.json +++ b/generated/kubernetes/coordination.k8s.io/v1/types.json @@ -1 +1,150 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"Lease"}},{"6":{"Value":"coordination.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoordinationV1LeaseSpec","Properties":{"acquireTime":{"Type":4,"Flags":0,"Description":"MicroTime is version of Time with microsecond level precision."},"holderIdentity":{"Type":4,"Flags":0,"Description":"holderIdentity contains the identity of the holder of a current lease."},"leaseDurationSeconds":{"Type":3,"Flags":0,"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."},"leaseTransitions":{"Type":3,"Flags":0,"Description":"leaseTransitions is the number of transitions of a lease between holders."},"renewTime":{"Type":4,"Flags":0,"Description":"MicroTime is version of Time with microsecond level precision."}}}},{"2":{"Name":"coordination.k8s.io/Lease","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":0,"Description":"LeaseSpec is a specification of a Lease."}}}},{"4":{"Name":"coordination.k8s.io/Lease@v1","ScopeType":0,"Body":14,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "Lease" + }, + { + "$type": "StringLiteralType", + "value": "coordination.k8s.io/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoordinationV1LeaseSpec", + "properties": { + "acquireTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "MicroTime is version of Time with microsecond level precision." + }, + "holderIdentity": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "holderIdentity contains the identity of the holder of a current lease." + }, + "leaseDurationSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "leaseTransitions": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "leaseTransitions is the number of transitions of a lease between holders." + }, + "renewTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "MicroTime is version of Time with microsecond level precision." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ObjectType", + "name": "coordination.k8s.io/Lease", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "LeaseSpec is a specification of a Lease." + } + } + }, + { + "$type": "ResourceType", + "name": "coordination.k8s.io/Lease@v1", + "scopeType": 0, + "body": { + "$ref": "#/8" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/generated/kubernetes/core/v1/types.json b/generated/kubernetes/core/v1/types.json index fb5523c6..1eebbfc8 100644 --- a/generated/kubernetes/core/v1/types.json +++ b/generated/kubernetes/core/v1/types.json @@ -1 +1,8892 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"ConfigMap"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapBinaryData","Properties":{},"AdditionalProperties":0}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapData","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"core/ConfigMap","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"binaryData":{"Type":13,"Flags":0,"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."},"data":{"Type":14,"Flags":0,"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."},"immutable":{"Type":2,"Flags":0,"Description":"Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil."}}}},{"4":{"Name":"core/ConfigMap@v1","ScopeType":0,"Body":15,"Flags":0}},{"6":{"Value":"Endpoints"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":19,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":20,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1EndpointSubset","Properties":{"addresses":{"Type":25,"Flags":0,"Description":"IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize."},"notReadyAddresses":{"Type":26,"Flags":0,"Description":"IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check."},"ports":{"Type":28,"Flags":0,"Description":"Port numbers available on the related IP addresses."}}}},{"2":{"Name":"IoK8SApiCoreV1EndpointAddress","Properties":{"hostname":{"Type":4,"Flags":0,"Description":"The Hostname of this endpoint"},"ip":{"Type":4,"Flags":1,"Description":"The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready."},"nodeName":{"Type":4,"Flags":0,"Description":"Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node."},"targetRef":{"Type":24,"Flags":0,"Description":"ObjectReference contains enough information to let you inspect or modify the referred object."}}}},{"2":{"Name":"IoK8SApiCoreV1ObjectReference","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"API version of the referent."},"fieldPath":{"Type":4,"Flags":0,"Description":"If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object."},"kind":{"Type":4,"Flags":0,"Description":"Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"namespace":{"Type":4,"Flags":0,"Description":"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"},"resourceVersion":{"Type":4,"Flags":0,"Description":"Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"},"uid":{"Type":4,"Flags":0,"Description":"UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids"}}}},{"3":{"ItemType":23}},{"3":{"ItemType":23}},{"2":{"Name":"IoK8SApiCoreV1EndpointPort","Properties":{"appProtocol":{"Type":4,"Flags":0,"Description":"The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol."},"name":{"Type":4,"Flags":0,"Description":"The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined."},"port":{"Type":3,"Flags":1,"Description":"The port number of the endpoint."},"protocol":{"Type":4,"Flags":0,"Description":"The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP."}}}},{"3":{"ItemType":27}},{"3":{"ItemType":22}},{"2":{"Name":"core/Endpoints","Properties":{"kind":{"Type":17,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":18,"Flags":10,"Description":"The api version."},"metadata":{"Type":21,"Flags":1,"Description":"The resource metadata."},"subsets":{"Type":29,"Flags":0,"Description":"The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service."}}}},{"4":{"Name":"core/Endpoints@v1","ScopeType":0,"Body":30,"Flags":0}},{"6":{"Value":"Event"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":34,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":35,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1EventSeries","Properties":{"count":{"Type":3,"Flags":0,"Description":"Number of occurrences in this series up to the last heartbeat time"},"lastObservedTime":{"Type":4,"Flags":0,"Description":"MicroTime is version of Time with microsecond level precision."}}}},{"2":{"Name":"IoK8SApiCoreV1EventSource","Properties":{"component":{"Type":4,"Flags":0,"Description":"Component from which the event is generated."},"host":{"Type":4,"Flags":0,"Description":"Node name on which the event is generated."}}}},{"2":{"Name":"core/Event","Properties":{"kind":{"Type":32,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":33,"Flags":10,"Description":"The api version."},"metadata":{"Type":36,"Flags":1,"Description":"The resource metadata."},"action":{"Type":4,"Flags":0,"Description":"What action was taken/failed regarding to the Regarding object."},"count":{"Type":3,"Flags":0,"Description":"The number of times this event has occurred."},"eventTime":{"Type":4,"Flags":0,"Description":"MicroTime is version of Time with microsecond level precision."},"firstTimestamp":{"Type":4,"Flags":0,"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."},"involvedObject":{"Type":24,"Flags":1,"Description":"ObjectReference contains enough information to let you inspect or modify the referred object."},"lastTimestamp":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"A human-readable description of the status of this operation."},"reason":{"Type":4,"Flags":0,"Description":"This should be a short, machine understandable string that gives the reason for the transition into the object's current status."},"related":{"Type":24,"Flags":0,"Description":"ObjectReference contains enough information to let you inspect or modify the referred object."},"reportingComponent":{"Type":4,"Flags":0,"Description":"Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`."},"reportingInstance":{"Type":4,"Flags":0,"Description":"ID of the controller instance, e.g. `kubelet-xyzf`."},"series":{"Type":37,"Flags":0,"Description":"EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time."},"source":{"Type":38,"Flags":0,"Description":"EventSource contains information for an event."},"type":{"Type":4,"Flags":0,"Description":"Type of this event (Normal, Warning), new types could be added in the future"}}}},{"4":{"Name":"core/Event@v1","ScopeType":0,"Body":39,"Flags":0}},{"6":{"Value":"LimitRange"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":43,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":44,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1LimitRangeSpec","Properties":{"limits":{"Type":53,"Flags":1,"Description":"Limits is the list of LimitRangeItem objects that are enforced."}}}},{"2":{"Name":"IoK8SApiCoreV1LimitRangeItem","Properties":{"default":{"Type":48,"Flags":0,"Description":"Default resource requirement limit value by resource name if resource limit is omitted."},"defaultRequest":{"Type":49,"Flags":0,"Description":"DefaultRequest is the default resource requirement request value by resource name if resource request is omitted."},"max":{"Type":50,"Flags":0,"Description":"Max usage constraints on this kind by resource name."},"maxLimitRequestRatio":{"Type":51,"Flags":0,"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."},"min":{"Type":52,"Flags":0,"Description":"Min usage constraints on this kind by resource name."},"type":{"Type":4,"Flags":1,"Description":"Type of resource that this limit applies to."}}}},{"2":{"Name":"IoK8SApiCoreV1LimitRangeItemDefault","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1LimitRangeItemDefaultRequest","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1LimitRangeItemMax","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1LimitRangeItemMaxLimitRequestRatio","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1LimitRangeItemMin","Properties":{},"AdditionalProperties":4}},{"3":{"ItemType":47}},{"2":{"Name":"core/LimitRange","Properties":{"kind":{"Type":41,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":42,"Flags":10,"Description":"The api version."},"metadata":{"Type":45,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":46,"Flags":0,"Description":"LimitRangeSpec defines a min/max usage limit for resources that match on kind."}}}},{"4":{"Name":"core/LimitRange@v1","ScopeType":0,"Body":54,"Flags":0}},{"6":{"Value":"PersistentVolumeClaim"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":58,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":59,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimSpec","Properties":{"accessModes":{"Type":62,"Flags":0,"Description":"accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"},"dataSource":{"Type":63,"Flags":0,"Description":"TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace."},"dataSourceRef":{"Type":63,"Flags":0,"Description":"TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace."},"resources":{"Type":64,"Flags":0,"Description":"ResourceRequirements describes the compute resource requirements."},"selector":{"Type":67,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"storageClassName":{"Type":4,"Flags":0,"Description":"storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1"},"volumeMode":{"Type":4,"Flags":0,"Description":"volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec."},"volumeName":{"Type":4,"Flags":0,"Description":"volumeName is the binding reference to the PersistentVolume backing this claim."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1TypedLocalObjectReference","Properties":{"apiGroup":{"Type":4,"Flags":0,"Description":"APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required."},"kind":{"Type":4,"Flags":1,"Description":"Kind is the type of resource being referenced"},"name":{"Type":4,"Flags":1,"Description":"Name is the name of resource being referenced"}}}},{"2":{"Name":"IoK8SApiCoreV1ResourceRequirements","Properties":{"limits":{"Type":65,"Flags":0,"Description":"Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"},"requests":{"Type":66,"Flags":0,"Description":"Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"}}}},{"2":{"Name":"IoK8SApiCoreV1ResourceRequirementsLimits","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1ResourceRequirementsRequests","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelector","Properties":{"matchExpressions":{"Type":70,"Flags":0,"Description":"matchExpressions is a list of label selector requirements. The requirements are ANDed."},"matchLabels":{"Type":71,"Flags":0,"Description":"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."},"values":{"Type":69,"Flags":0,"Description":"values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":68}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimStatus","Properties":{"accessModes":{"Type":73,"Flags":0,"Description":"accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"},"allocatedResources":{"Type":74,"Flags":0,"Description":"allocatedResources is the storage resource within AllocatedResources tracks the capacity allocated to a PVC. It may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature."},"capacity":{"Type":75,"Flags":0,"Description":"capacity represents the actual resources of the underlying volume."},"conditions":{"Type":77,"Flags":0,"Description":"conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'."},"phase":{"Type":4,"Flags":0,"Description":"phase represents the current phase of PersistentVolumeClaim."},"resizeStatus":{"Type":4,"Flags":0,"Description":"resizeStatus stores status of resize operation. ResizeStatus is not set by default but when expansion is complete resizeStatus is set to empty string by resize controller or kubelet. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimStatusAllocatedResources","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimStatusCapacity","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimCondition","Properties":{"lastProbeTime":{"Type":4,"Flags":0,"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."},"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"message is the human-readable message indicating details about last transition."},"reason":{"Type":4,"Flags":0,"Description":"reason is a unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized."},"status":{"Type":4,"Flags":1},"type":{"Type":4,"Flags":1}}}},{"3":{"ItemType":76}},{"2":{"Name":"core/PersistentVolumeClaim","Properties":{"kind":{"Type":56,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":57,"Flags":10,"Description":"The api version."},"metadata":{"Type":60,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":61,"Flags":0,"Description":"PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes"},"status":{"Type":72,"Flags":0,"Description":"PersistentVolumeClaimStatus is the current status of a persistent volume claim."}}}},{"4":{"Name":"core/PersistentVolumeClaim@v1","ScopeType":0,"Body":78,"Flags":0}},{"6":{"Value":"Pod"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":82,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":83,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1PodSpec","Properties":{"activeDeadlineSeconds":{"Type":3,"Flags":0,"Description":"Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer."},"affinity":{"Type":86,"Flags":0,"Description":"Affinity is a group of affinity scheduling rules."},"automountServiceAccountToken":{"Type":2,"Flags":0,"Description":"AutomountServiceAccountToken indicates whether a service account token should be automatically mounted."},"containers":{"Type":143,"Flags":1,"Description":"List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated."},"dnsConfig":{"Type":144,"Flags":0,"Description":"PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy."},"dnsPolicy":{"Type":4,"Flags":0,"Description":"Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'."},"enableServiceLinks":{"Type":2,"Flags":0,"Description":"EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true."},"ephemeralContainers":{"Type":157,"Flags":0,"Description":"List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource."},"hostAliases":{"Type":160,"Flags":0,"Description":"HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods."},"hostIPC":{"Type":2,"Flags":0,"Description":"Use the host's ipc namespace. Optional: Default to false."},"hostNetwork":{"Type":2,"Flags":0,"Description":"Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false."},"hostPID":{"Type":2,"Flags":0,"Description":"Use the host's pid namespace. Optional: Default to false."},"hostUsers":{"Type":2,"Flags":0,"Description":"Use the host's user namespace. Optional: Default to true. If set to true or not present, the pod will be run in the host user namespace, useful for when the pod needs a feature only available to the host user namespace, such as loading a kernel module with CAP_SYS_MODULE. When set to false, a new userns is created for the pod. Setting false is useful for mitigating container breakout vulnerabilities even allowing users to run their containers as root without actually having root privileges on the host. This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature."},"hostname":{"Type":4,"Flags":0,"Description":"Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value."},"imagePullSecrets":{"Type":162,"Flags":0,"Description":"ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod"},"initContainers":{"Type":163,"Flags":0,"Description":"List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/"},"nodeName":{"Type":4,"Flags":0,"Description":"NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements."},"nodeSelector":{"Type":164,"Flags":0,"Description":"NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/"},"os":{"Type":165,"Flags":0,"Description":"PodOS defines the OS parameters of a pod."},"overhead":{"Type":166,"Flags":0,"Description":"Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md"},"preemptionPolicy":{"Type":4,"Flags":0,"Description":"PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset."},"priority":{"Type":3,"Flags":0,"Description":"The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority."},"priorityClassName":{"Type":4,"Flags":0,"Description":"If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default."},"readinessGates":{"Type":168,"Flags":0,"Description":"If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/580-pod-readiness-gates"},"restartPolicy":{"Type":4,"Flags":0,"Description":"Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy"},"runtimeClassName":{"Type":4,"Flags":0,"Description":"RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class"},"schedulerName":{"Type":4,"Flags":0,"Description":"If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler."},"securityContext":{"Type":169,"Flags":0,"Description":"PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext."},"serviceAccount":{"Type":4,"Flags":0,"Description":"DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead."},"serviceAccountName":{"Type":4,"Flags":0,"Description":"ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/"},"setHostnameAsFQDN":{"Type":2,"Flags":0,"Description":"If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false."},"shareProcessNamespace":{"Type":2,"Flags":0,"Description":"Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false."},"subdomain":{"Type":4,"Flags":0,"Description":"If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all."},"terminationGracePeriodSeconds":{"Type":3,"Flags":0,"Description":"Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds."},"tolerations":{"Type":174,"Flags":0,"Description":"If specified, the pod's tolerations."},"topologySpreadConstraints":{"Type":177,"Flags":0,"Description":"TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed."},"volumes":{"Type":238,"Flags":0,"Description":"List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes"}}}},{"2":{"Name":"IoK8SApiCoreV1Affinity","Properties":{"nodeAffinity":{"Type":87,"Flags":0,"Description":"Node affinity is a group of node affinity scheduling rules."},"podAffinity":{"Type":97,"Flags":0,"Description":"Pod affinity is a group of inter pod affinity scheduling rules."},"podAntiAffinity":{"Type":103,"Flags":0,"Description":"Pod anti affinity is a group of inter pod anti affinity scheduling rules."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeAffinity","Properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"Type":94,"Flags":0,"Description":"The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred."},"requiredDuringSchedulingIgnoredDuringExecution":{"Type":95,"Flags":0,"Description":"A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms."}}}},{"2":{"Name":"IoK8SApiCoreV1PreferredSchedulingTerm","Properties":{"preference":{"Type":89,"Flags":1,"Description":"A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm."},"weight":{"Type":3,"Flags":1,"Description":"Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelectorTerm","Properties":{"matchExpressions":{"Type":92,"Flags":0,"Description":"A list of node selector requirements by node's labels."},"matchFields":{"Type":93,"Flags":0,"Description":"A list of node selector requirements by node's fields."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"The label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."},"values":{"Type":91,"Flags":0,"Description":"An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":90}},{"3":{"ItemType":90}},{"3":{"ItemType":88}},{"2":{"Name":"IoK8SApiCoreV1NodeSelector","Properties":{"nodeSelectorTerms":{"Type":96,"Flags":1,"Description":"Required. A list of node selector terms. The terms are ORed."}}}},{"3":{"ItemType":89}},{"2":{"Name":"IoK8SApiCoreV1PodAffinity","Properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"Type":101,"Flags":0,"Description":"The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred."},"requiredDuringSchedulingIgnoredDuringExecution":{"Type":102,"Flags":0,"Description":"If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."}}}},{"2":{"Name":"IoK8SApiCoreV1WeightedPodAffinityTerm","Properties":{"podAffinityTerm":{"Type":99,"Flags":1,"Description":"Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running"},"weight":{"Type":3,"Flags":1,"Description":"weight associated with matching the corresponding podAffinityTerm, in the range 1-100."}}}},{"2":{"Name":"IoK8SApiCoreV1PodAffinityTerm","Properties":{"labelSelector":{"Type":67,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"namespaceSelector":{"Type":67,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"namespaces":{"Type":100,"Flags":0,"Description":"namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\"."},"topologyKey":{"Type":4,"Flags":1,"Description":"This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":98}},{"3":{"ItemType":99}},{"2":{"Name":"IoK8SApiCoreV1PodAntiAffinity","Properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"Type":104,"Flags":0,"Description":"The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred."},"requiredDuringSchedulingIgnoredDuringExecution":{"Type":105,"Flags":0,"Description":"If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."}}}},{"3":{"ItemType":98}},{"3":{"ItemType":99}},{"2":{"Name":"IoK8SApiCoreV1Container","Properties":{"args":{"Type":107,"Flags":0,"Description":"Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"command":{"Type":108,"Flags":0,"Description":"Entrypoint array. Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"env":{"Type":115,"Flags":0,"Description":"List of environment variables to set in the container. Cannot be updated."},"envFrom":{"Type":119,"Flags":0,"Description":"List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."},"image":{"Type":4,"Flags":0,"Description":"Container image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets."},"imagePullPolicy":{"Type":4,"Flags":0,"Description":"Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"},"lifecycle":{"Type":120,"Flags":0,"Description":"Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted."},"livenessProbe":{"Type":128,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"name":{"Type":4,"Flags":1,"Description":"Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated."},"ports":{"Type":131,"Flags":0,"Description":"List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated."},"readinessProbe":{"Type":128,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"resources":{"Type":64,"Flags":0,"Description":"ResourceRequirements describes the compute resource requirements."},"securityContext":{"Type":132,"Flags":0,"Description":"SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence."},"startupProbe":{"Type":128,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"stdin":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."},"stdinOnce":{"Type":2,"Flags":0,"Description":"Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"},"terminationMessagePath":{"Type":4,"Flags":0,"Description":"Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."},"terminationMessagePolicy":{"Type":4,"Flags":0,"Description":"Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."},"tty":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."},"volumeDevices":{"Type":140,"Flags":0,"Description":"volumeDevices is the list of block devices to be used by the container."},"volumeMounts":{"Type":142,"Flags":0,"Description":"Pod volumes to mount into the container's filesystem. Cannot be updated."},"workingDir":{"Type":4,"Flags":0,"Description":"Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1EnvVar","Properties":{"name":{"Type":4,"Flags":1,"Description":"Name of the environment variable. Must be a C_IDENTIFIER."},"value":{"Type":4,"Flags":0,"Description":"Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\"."},"valueFrom":{"Type":110,"Flags":0,"Description":"EnvVarSource represents a source for the value of an EnvVar."}}}},{"2":{"Name":"IoK8SApiCoreV1EnvVarSource","Properties":{"configMapKeyRef":{"Type":111,"Flags":0,"Description":"Selects a key from a ConfigMap."},"fieldRef":{"Type":112,"Flags":0,"Description":"ObjectFieldSelector selects an APIVersioned field of an object."},"resourceFieldRef":{"Type":113,"Flags":0,"Description":"ResourceFieldSelector represents container resources (cpu, memory) and their output format"},"secretKeyRef":{"Type":114,"Flags":0,"Description":"SecretKeySelector selects a key of a Secret."}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapKeySelector","Properties":{"key":{"Type":4,"Flags":1,"Description":"The key to select."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the ConfigMap or its key must be defined"}}}},{"2":{"Name":"IoK8SApiCoreV1ObjectFieldSelector","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"Version of the schema the FieldPath is written in terms of, defaults to \"v1\"."},"fieldPath":{"Type":4,"Flags":1,"Description":"Path of the field to select in the specified API version."}}}},{"2":{"Name":"IoK8SApiCoreV1ResourceFieldSelector","Properties":{"containerName":{"Type":4,"Flags":0,"Description":"Container name: required for volumes, optional for env vars"},"divisor":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."},"resource":{"Type":4,"Flags":1,"Description":"Required: resource to select"}}}},{"2":{"Name":"IoK8SApiCoreV1SecretKeySelector","Properties":{"key":{"Type":4,"Flags":1,"Description":"The key of the secret to select from. Must be a valid secret key."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the Secret or its key must be defined"}}}},{"3":{"ItemType":109}},{"2":{"Name":"IoK8SApiCoreV1EnvFromSource","Properties":{"configMapRef":{"Type":117,"Flags":0,"Description":"ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables."},"prefix":{"Type":4,"Flags":0,"Description":"An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER."},"secretRef":{"Type":118,"Flags":0,"Description":"SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables."}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapEnvSource","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the ConfigMap must be defined"}}}},{"2":{"Name":"IoK8SApiCoreV1SecretEnvSource","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the Secret must be defined"}}}},{"3":{"ItemType":116}},{"2":{"Name":"IoK8SApiCoreV1Lifecycle","Properties":{"postStart":{"Type":121,"Flags":0,"Description":"LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified."},"preStop":{"Type":121,"Flags":0,"Description":"LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified."}}}},{"2":{"Name":"IoK8SApiCoreV1LifecycleHandler","Properties":{"exec":{"Type":122,"Flags":0,"Description":"ExecAction describes a \"run in container\" action."},"httpGet":{"Type":124,"Flags":0,"Description":"HTTPGetAction describes an action based on HTTP Get requests."},"tcpSocket":{"Type":127,"Flags":0,"Description":"TCPSocketAction describes an action based on opening a socket"}}}},{"2":{"Name":"IoK8SApiCoreV1ExecAction","Properties":{"command":{"Type":123,"Flags":0,"Description":"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1HttpGetAction","Properties":{"host":{"Type":4,"Flags":0,"Description":"Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead."},"httpHeaders":{"Type":126,"Flags":0,"Description":"Custom headers to set in the request. HTTP allows repeated headers."},"path":{"Type":4,"Flags":0,"Description":"Path to access on the HTTP server."},"port":{"Type":4,"Flags":1,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."},"scheme":{"Type":4,"Flags":0,"Description":"Scheme to use for connecting to the host. Defaults to HTTP."}}}},{"2":{"Name":"IoK8SApiCoreV1HttpHeader","Properties":{"name":{"Type":4,"Flags":1,"Description":"The header field name"},"value":{"Type":4,"Flags":1,"Description":"The header field value"}}}},{"3":{"ItemType":125}},{"2":{"Name":"IoK8SApiCoreV1TCPSocketAction","Properties":{"host":{"Type":4,"Flags":0,"Description":"Optional: Host name to connect to, defaults to the pod IP."},"port":{"Type":4,"Flags":1,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."}}}},{"2":{"Name":"IoK8SApiCoreV1Probe","Properties":{"exec":{"Type":122,"Flags":0,"Description":"ExecAction describes a \"run in container\" action."},"failureThreshold":{"Type":3,"Flags":0,"Description":"Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1."},"grpc":{"Type":129,"Flags":0},"httpGet":{"Type":124,"Flags":0,"Description":"HTTPGetAction describes an action based on HTTP Get requests."},"initialDelaySeconds":{"Type":3,"Flags":0,"Description":"Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"},"periodSeconds":{"Type":3,"Flags":0,"Description":"How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."},"successThreshold":{"Type":3,"Flags":0,"Description":"Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1."},"tcpSocket":{"Type":127,"Flags":0,"Description":"TCPSocketAction describes an action based on opening a socket"},"terminationGracePeriodSeconds":{"Type":3,"Flags":0,"Description":"Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset."},"timeoutSeconds":{"Type":3,"Flags":0,"Description":"Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}}}},{"2":{"Name":"IoK8SApiCoreV1GrpcAction","Properties":{"port":{"Type":3,"Flags":1,"Description":"Port number of the gRPC service. Number must be in the range 1 to 65535."},"service":{"Type":4,"Flags":0,"Description":"Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC."}}}},{"2":{"Name":"IoK8SApiCoreV1ContainerPort","Properties":{"containerPort":{"Type":3,"Flags":1,"Description":"Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536."},"hostIP":{"Type":4,"Flags":0,"Description":"What host IP to bind the external port to."},"hostPort":{"Type":3,"Flags":0,"Description":"Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this."},"name":{"Type":4,"Flags":0,"Description":"If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services."},"protocol":{"Type":4,"Flags":0,"Description":"Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\"."}}}},{"3":{"ItemType":130}},{"2":{"Name":"IoK8SApiCoreV1SecurityContext","Properties":{"allowPrivilegeEscalation":{"Type":2,"Flags":0,"Description":"AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows."},"capabilities":{"Type":133,"Flags":0,"Description":"Adds and removes POSIX capabilities from running containers."},"privileged":{"Type":2,"Flags":0,"Description":"Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows."},"procMount":{"Type":4,"Flags":0,"Description":"procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows."},"readOnlyRootFilesystem":{"Type":2,"Flags":0,"Description":"Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows."},"runAsGroup":{"Type":3,"Flags":0,"Description":"The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows."},"runAsNonRoot":{"Type":2,"Flags":0,"Description":"Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."},"runAsUser":{"Type":3,"Flags":0,"Description":"The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows."},"seLinuxOptions":{"Type":136,"Flags":0,"Description":"SELinuxOptions are the labels to be applied to the container"},"seccompProfile":{"Type":137,"Flags":0,"Description":"SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set."},"windowsOptions":{"Type":138,"Flags":0,"Description":"WindowsSecurityContextOptions contain Windows-specific options and credentials."}}}},{"2":{"Name":"IoK8SApiCoreV1Capabilities","Properties":{"add":{"Type":134,"Flags":0,"Description":"Added capabilities"},"drop":{"Type":135,"Flags":0,"Description":"Removed capabilities"}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1SELinuxOptions","Properties":{"level":{"Type":4,"Flags":0,"Description":"Level is SELinux level label that applies to the container."},"role":{"Type":4,"Flags":0,"Description":"Role is a SELinux role label that applies to the container."},"type":{"Type":4,"Flags":0,"Description":"Type is a SELinux type label that applies to the container."},"user":{"Type":4,"Flags":0,"Description":"User is a SELinux user label that applies to the container."}}}},{"2":{"Name":"IoK8SApiCoreV1SeccompProfile","Properties":{"localhostProfile":{"Type":4,"Flags":0,"Description":"localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is \"Localhost\"."},"type":{"Type":4,"Flags":1,"Description":"type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied."}}}},{"2":{"Name":"IoK8SApiCoreV1WindowsSecurityContextOptions","Properties":{"gmsaCredentialSpec":{"Type":4,"Flags":0,"Description":"GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field."},"gmsaCredentialSpecName":{"Type":4,"Flags":0,"Description":"GMSACredentialSpecName is the name of the GMSA credential spec to use."},"hostProcess":{"Type":2,"Flags":0,"Description":"HostProcess determines if a container should be run as a 'Host Process' container. This field is alpha-level and will only be honored by components that enable the WindowsHostProcessContainers feature flag. Setting this field without the feature flag will result in errors when validating the Pod. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true."},"runAsUserName":{"Type":4,"Flags":0,"Description":"The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."}}}},{"2":{"Name":"IoK8SApiCoreV1VolumeDevice","Properties":{"devicePath":{"Type":4,"Flags":1,"Description":"devicePath is the path inside of the container that the device will be mapped to."},"name":{"Type":4,"Flags":1,"Description":"name must match the name of a persistentVolumeClaim in the pod"}}}},{"3":{"ItemType":139}},{"2":{"Name":"IoK8SApiCoreV1VolumeMount","Properties":{"mountPath":{"Type":4,"Flags":1,"Description":"Path within the container at which the volume should be mounted. Must not contain ':'."},"mountPropagation":{"Type":4,"Flags":0,"Description":"mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10."},"name":{"Type":4,"Flags":1,"Description":"This must match the Name of a Volume."},"readOnly":{"Type":2,"Flags":0,"Description":"Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false."},"subPath":{"Type":4,"Flags":0,"Description":"Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root)."},"subPathExpr":{"Type":4,"Flags":0,"Description":"Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive."}}}},{"3":{"ItemType":141}},{"3":{"ItemType":106}},{"2":{"Name":"IoK8SApiCoreV1PodDNSConfig","Properties":{"nameservers":{"Type":145,"Flags":0,"Description":"A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed."},"options":{"Type":147,"Flags":0,"Description":"A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy."},"searches":{"Type":148,"Flags":0,"Description":"A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1PodDNSConfigOption","Properties":{"name":{"Type":4,"Flags":0,"Description":"Required."},"value":{"Type":4,"Flags":0}}}},{"3":{"ItemType":146}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1EphemeralContainer","Properties":{"args":{"Type":150,"Flags":0,"Description":"Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"command":{"Type":151,"Flags":0,"Description":"Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"env":{"Type":152,"Flags":0,"Description":"List of environment variables to set in the container. Cannot be updated."},"envFrom":{"Type":153,"Flags":0,"Description":"List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."},"image":{"Type":4,"Flags":0,"Description":"Container image name. More info: https://kubernetes.io/docs/concepts/containers/images"},"imagePullPolicy":{"Type":4,"Flags":0,"Description":"Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"},"lifecycle":{"Type":120,"Flags":0,"Description":"Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted."},"livenessProbe":{"Type":128,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"name":{"Type":4,"Flags":1,"Description":"Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers."},"ports":{"Type":154,"Flags":0,"Description":"Ports are not allowed for ephemeral containers."},"readinessProbe":{"Type":128,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"resources":{"Type":64,"Flags":0,"Description":"ResourceRequirements describes the compute resource requirements."},"securityContext":{"Type":132,"Flags":0,"Description":"SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence."},"startupProbe":{"Type":128,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"stdin":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."},"stdinOnce":{"Type":2,"Flags":0,"Description":"Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"},"targetContainerName":{"Type":4,"Flags":0,"Description":"If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container uses the namespaces configured in the Pod spec.\n\nThe container runtime must implement support for this feature. If the runtime does not support namespace targeting then the result of setting this field is undefined."},"terminationMessagePath":{"Type":4,"Flags":0,"Description":"Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."},"terminationMessagePolicy":{"Type":4,"Flags":0,"Description":"Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."},"tty":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."},"volumeDevices":{"Type":155,"Flags":0,"Description":"volumeDevices is the list of block devices to be used by the container."},"volumeMounts":{"Type":156,"Flags":0,"Description":"Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated."},"workingDir":{"Type":4,"Flags":0,"Description":"Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":109}},{"3":{"ItemType":116}},{"3":{"ItemType":130}},{"3":{"ItemType":139}},{"3":{"ItemType":141}},{"3":{"ItemType":149}},{"2":{"Name":"IoK8SApiCoreV1HostAlias","Properties":{"hostnames":{"Type":159,"Flags":0,"Description":"Hostnames for the above IP address."},"ip":{"Type":4,"Flags":0,"Description":"IP address of the host file entry."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":158}},{"2":{"Name":"IoK8SApiCoreV1LocalObjectReference","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}}}},{"3":{"ItemType":161}},{"3":{"ItemType":106}},{"2":{"Name":"IoK8SApiCoreV1PodSpecNodeSelector","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PodOS","Properties":{"name":{"Type":4,"Flags":1,"Description":"Name is the name of the operating system. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null"}}}},{"2":{"Name":"IoK8SApiCoreV1PodSpecOverhead","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PodReadinessGate","Properties":{"conditionType":{"Type":4,"Flags":1,"Description":"ConditionType refers to a condition in the pod's condition list with matching type."}}}},{"3":{"ItemType":167}},{"2":{"Name":"IoK8SApiCoreV1PodSecurityContext","Properties":{"fsGroup":{"Type":3,"Flags":0,"Description":"A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name is windows."},"fsGroupChangePolicy":{"Type":4,"Flags":0,"Description":"fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used. Note that this field cannot be set when spec.os.name is windows."},"runAsGroup":{"Type":3,"Flags":0,"Description":"The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows."},"runAsNonRoot":{"Type":2,"Flags":0,"Description":"Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."},"runAsUser":{"Type":3,"Flags":0,"Description":"The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows."},"seLinuxOptions":{"Type":136,"Flags":0,"Description":"SELinuxOptions are the labels to be applied to the container"},"seccompProfile":{"Type":137,"Flags":0,"Description":"SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set."},"supplementalGroups":{"Type":170,"Flags":0,"Description":"A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container. Note that this field cannot be set when spec.os.name is windows."},"sysctls":{"Type":172,"Flags":0,"Description":"Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows."},"windowsOptions":{"Type":138,"Flags":0,"Description":"WindowsSecurityContextOptions contain Windows-specific options and credentials."}}}},{"3":{"ItemType":3}},{"2":{"Name":"IoK8SApiCoreV1Sysctl","Properties":{"name":{"Type":4,"Flags":1,"Description":"Name of a property to set"},"value":{"Type":4,"Flags":1,"Description":"Value of a property to set"}}}},{"3":{"ItemType":171}},{"2":{"Name":"IoK8SApiCoreV1Toleration","Properties":{"effect":{"Type":4,"Flags":0,"Description":"Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute."},"key":{"Type":4,"Flags":0,"Description":"Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys."},"operator":{"Type":4,"Flags":0,"Description":"Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category."},"tolerationSeconds":{"Type":3,"Flags":0,"Description":"TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system."},"value":{"Type":4,"Flags":0,"Description":"Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string."}}}},{"3":{"ItemType":173}},{"2":{"Name":"IoK8SApiCoreV1TopologySpreadConstraint","Properties":{"labelSelector":{"Type":67,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"matchLabelKeys":{"Type":176,"Flags":0,"Description":"MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector."},"maxSkew":{"Type":3,"Flags":1,"Description":"MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. The global minimum is the minimum number of matching pods in an eligible domain or zero if the number of eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | | P P | P P | P | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed."},"minDomains":{"Type":3,"Flags":0,"Description":"MinDomains indicates a minimum number of eligible domains. When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number of eligible domains is less than minDomains, scheduler won't schedule more than maxSkew Pods to those domains. If value is nil, the constraint behaves as if MinDomains is equal to 1. Valid values are integers greater than 0. When value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same labelSelector spread as 2/2/2: | zone1 | zone2 | zone3 | | P P | P P | P P | The number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0. In this situation, new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will violate MaxSkew.\n\nThis is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default)."},"nodeAffinityPolicy":{"Type":4,"Flags":0,"Description":"NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\nIf this value is nil, the behavior is equivalent to the Honor policy. This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread feature flag."},"nodeTaintsPolicy":{"Type":4,"Flags":0,"Description":"NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included.\n\nIf this value is nil, the behavior is equivalent to the Ignore policy. This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread feature flag."},"topologyKey":{"Type":4,"Flags":1,"Description":"TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. We define a domain as a particular instance of a topology. Also, we define an eligible domain as a domain whose nodes meet the requirements of nodeAffinityPolicy and nodeTaintsPolicy. e.g. If TopologyKey is \"kubernetes.io/hostname\", each Node is a domain of that topology. And, if TopologyKey is \"topology.kubernetes.io/zone\", each zone is a domain of that topology. It's a required field."},"whenUnsatisfiable":{"Type":4,"Flags":1,"Description":"WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assignment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":175}},{"2":{"Name":"IoK8SApiCoreV1Volume","Properties":{"awsElasticBlockStore":{"Type":179,"Flags":0,"Description":"Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling."},"azureDisk":{"Type":180,"Flags":0,"Description":"AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."},"azureFile":{"Type":181,"Flags":0,"Description":"AzureFile represents an Azure File Service mount on the host and bind mount to the pod."},"cephfs":{"Type":182,"Flags":0,"Description":"Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling."},"cinder":{"Type":184,"Flags":0,"Description":"Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling."},"configMap":{"Type":185,"Flags":0,"Description":"Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling."},"csi":{"Type":188,"Flags":0,"Description":"Represents a source location of a volume to mount, managed by an external CSI driver"},"downwardAPI":{"Type":190,"Flags":0,"Description":"DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling."},"emptyDir":{"Type":193,"Flags":0,"Description":"Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling."},"ephemeral":{"Type":194,"Flags":0,"Description":"Represents an ephemeral volume that is handled by a normal storage driver."},"fc":{"Type":204,"Flags":0,"Description":"Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling."},"flexVolume":{"Type":207,"Flags":0,"Description":"FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin."},"flocker":{"Type":209,"Flags":0,"Description":"Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling."},"gcePersistentDisk":{"Type":210,"Flags":0,"Description":"Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling."},"gitRepo":{"Type":211,"Flags":0,"Description":"Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container."},"glusterfs":{"Type":212,"Flags":0,"Description":"Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling."},"hostPath":{"Type":213,"Flags":0,"Description":"Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling."},"iscsi":{"Type":214,"Flags":0,"Description":"Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling."},"name":{"Type":4,"Flags":1,"Description":"name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"nfs":{"Type":216,"Flags":0,"Description":"Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling."},"persistentVolumeClaim":{"Type":217,"Flags":0,"Description":"PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system)."},"photonPersistentDisk":{"Type":218,"Flags":0,"Description":"Represents a Photon Controller persistent disk resource."},"portworxVolume":{"Type":219,"Flags":0,"Description":"PortworxVolumeSource represents a Portworx volume resource."},"projected":{"Type":220,"Flags":0,"Description":"Represents a projected volume source"},"quobyte":{"Type":230,"Flags":0,"Description":"Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling."},"rbd":{"Type":231,"Flags":0,"Description":"Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling."},"scaleIO":{"Type":233,"Flags":0,"Description":"ScaleIOVolumeSource represents a persistent ScaleIO volume"},"secret":{"Type":234,"Flags":0,"Description":"Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling."},"storageos":{"Type":236,"Flags":0,"Description":"Represents a StorageOS persistent volume resource."},"vsphereVolume":{"Type":237,"Flags":0,"Description":"Represents a vSphere volume resource."}}}},{"2":{"Name":"IoK8SApiCoreV1AWSElasticBlockStoreVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"},"partition":{"Type":3,"Flags":0,"Description":"partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty)."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"},"volumeID":{"Type":4,"Flags":1,"Description":"volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"}}}},{"2":{"Name":"IoK8SApiCoreV1AzureDiskVolumeSource","Properties":{"cachingMode":{"Type":4,"Flags":0,"Description":"cachingMode is the Host Caching mode: None, Read Only, Read Write."},"diskName":{"Type":4,"Flags":1,"Description":"diskName is the Name of the data disk in the blob storage"},"diskURI":{"Type":4,"Flags":1,"Description":"diskURI is the URI of data disk in the blob storage"},"fsType":{"Type":4,"Flags":0,"Description":"fsType is Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"kind":{"Type":4,"Flags":0,"Description":"kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."}}}},{"2":{"Name":"IoK8SApiCoreV1AzureFileVolumeSource","Properties":{"readOnly":{"Type":2,"Flags":0,"Description":"readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretName":{"Type":4,"Flags":1,"Description":"secretName is the name of secret that contains Azure Storage Account Name and Key"},"shareName":{"Type":4,"Flags":1,"Description":"shareName is the azure share Name"}}}},{"2":{"Name":"IoK8SApiCoreV1CephFSVolumeSource","Properties":{"monitors":{"Type":183,"Flags":1,"Description":"monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"path":{"Type":4,"Flags":0,"Description":"path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"secretFile":{"Type":4,"Flags":0,"Description":"secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"secretRef":{"Type":161,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"user":{"Type":4,"Flags":0,"Description":"user is optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1CinderVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"},"secretRef":{"Type":161,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"volumeID":{"Type":4,"Flags":1,"Description":"volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"items":{"Type":187,"Flags":0,"Description":"items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"optional specify whether the ConfigMap or its keys must be defined"}}}},{"2":{"Name":"IoK8SApiCoreV1KeyToPath","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the key to project."},"mode":{"Type":3,"Flags":0,"Description":"mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"path":{"Type":4,"Flags":1,"Description":"path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'."}}}},{"3":{"ItemType":186}},{"2":{"Name":"IoK8SApiCoreV1CSIVolumeSource","Properties":{"driver":{"Type":4,"Flags":1,"Description":"driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster."},"fsType":{"Type":4,"Flags":0,"Description":"fsType to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply."},"nodePublishSecretRef":{"Type":161,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly specifies a read-only configuration for the volume. Defaults to false (read/write)."},"volumeAttributes":{"Type":189,"Flags":0,"Description":"volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values."}}}},{"2":{"Name":"IoK8SApiCoreV1CSIVolumeSourceVolumeAttributes","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1DownwardAPIVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"items":{"Type":192,"Flags":0,"Description":"Items is a list of downward API volume file"}}}},{"2":{"Name":"IoK8SApiCoreV1DownwardAPIVolumeFile","Properties":{"fieldRef":{"Type":112,"Flags":0,"Description":"ObjectFieldSelector selects an APIVersioned field of an object."},"mode":{"Type":3,"Flags":0,"Description":"Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"path":{"Type":4,"Flags":1,"Description":"Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'"},"resourceFieldRef":{"Type":113,"Flags":0,"Description":"ResourceFieldSelector represents container resources (cpu, memory) and their output format"}}}},{"3":{"ItemType":191}},{"2":{"Name":"IoK8SApiCoreV1EmptyDirVolumeSource","Properties":{"medium":{"Type":4,"Flags":0,"Description":"medium represents what type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir"},"sizeLimit":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."}}}},{"2":{"Name":"IoK8SApiCoreV1EphemeralVolumeSource","Properties":{"volumeClaimTemplate":{"Type":195,"Flags":0,"Description":"PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource."}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimTemplate","Properties":{"metadata":{"Type":196,"Flags":0,"Description":"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."},"spec":{"Type":61,"Flags":1,"Description":"PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes"}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ObjectMeta","Properties":{"annotations":{"Type":197,"Flags":0,"Description":"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"},"creationTimestamp":{"Type":4,"Flags":0,"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."},"deletionGracePeriodSeconds":{"Type":3,"Flags":0,"Description":"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."},"deletionTimestamp":{"Type":4,"Flags":0,"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."},"finalizers":{"Type":198,"Flags":0,"Description":"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."},"generateName":{"Type":4,"Flags":0,"Description":"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will return a 409.\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency"},"generation":{"Type":3,"Flags":0,"Description":"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."},"labels":{"Type":199,"Flags":0,"Description":"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"},"managedFields":{"Type":201,"Flags":0,"Description":"ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object."},"name":{"Type":4,"Flags":0,"Description":"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"},"namespace":{"Type":4,"Flags":0,"Description":"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces"},"ownerReferences":{"Type":203,"Flags":0,"Description":"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."},"resourceVersion":{"Type":4,"Flags":0,"Description":"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"},"selfLink":{"Type":4,"Flags":0,"Description":"Deprecated: selfLink is a legacy read-only field that is no longer populated by the system."},"uid":{"Type":4,"Flags":0,"Description":"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ObjectMetaAnnotations","Properties":{},"AdditionalProperties":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ObjectMetaLabels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ManagedFieldsEntry","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted."},"fieldsType":{"Type":4,"Flags":0,"Description":"FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\""},"fieldsV1":{"Type":0,"Flags":0,"Description":"Any object"},"manager":{"Type":4,"Flags":0,"Description":"Manager is an identifier of the workflow managing these fields."},"operation":{"Type":4,"Flags":0,"Description":"Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'."},"subresource":{"Type":4,"Flags":0,"Description":"Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource."},"time":{"Type":4,"Flags":0,"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."}}}},{"3":{"ItemType":200}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1OwnerReference","Properties":{"apiVersion":{"Type":4,"Flags":1,"Description":"API version of the referent."},"blockOwnerDeletion":{"Type":2,"Flags":0,"Description":"If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned."},"controller":{"Type":2,"Flags":0,"Description":"If true, this reference points to the managing controller."},"kind":{"Type":4,"Flags":1,"Description":"Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"},"name":{"Type":4,"Flags":1,"Description":"Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names"},"uid":{"Type":4,"Flags":1,"Description":"UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"}}}},{"3":{"ItemType":202}},{"2":{"Name":"IoK8SApiCoreV1FCVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"lun":{"Type":3,"Flags":0,"Description":"lun is Optional: FC target lun number"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"targetWWNs":{"Type":205,"Flags":0,"Description":"targetWWNs is Optional: FC target worldwide names (WWNs)"},"wwids":{"Type":206,"Flags":0,"Description":"wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1FlexVolumeSource","Properties":{"driver":{"Type":4,"Flags":1,"Description":"driver is the name of the driver to use for this volume."},"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script."},"options":{"Type":208,"Flags":0,"Description":"options is Optional: this field holds extra command options if any."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":161,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."}}}},{"2":{"Name":"IoK8SApiCoreV1FlexVolumeSourceOptions","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1FlockerVolumeSource","Properties":{"datasetName":{"Type":4,"Flags":0,"Description":"datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated"},"datasetUUID":{"Type":4,"Flags":0,"Description":"datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset"}}}},{"2":{"Name":"IoK8SApiCoreV1GCEPersistentDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"partition":{"Type":3,"Flags":0,"Description":"partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"pdName":{"Type":4,"Flags":1,"Description":"pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"}}}},{"2":{"Name":"IoK8SApiCoreV1GitRepoVolumeSource","Properties":{"directory":{"Type":4,"Flags":0,"Description":"directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name."},"repository":{"Type":4,"Flags":1,"Description":"repository is the URL"},"revision":{"Type":4,"Flags":0,"Description":"revision is the commit hash for the specified revision."}}}},{"2":{"Name":"IoK8SApiCoreV1GlusterfsVolumeSource","Properties":{"endpoints":{"Type":4,"Flags":1,"Description":"endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"path":{"Type":4,"Flags":1,"Description":"path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"}}}},{"2":{"Name":"IoK8SApiCoreV1HostPathVolumeSource","Properties":{"path":{"Type":4,"Flags":1,"Description":"path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"},"type":{"Type":4,"Flags":0,"Description":"type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"}}}},{"2":{"Name":"IoK8SApiCoreV1IscsiVolumeSource","Properties":{"chapAuthDiscovery":{"Type":2,"Flags":0,"Description":"chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication"},"chapAuthSession":{"Type":2,"Flags":0,"Description":"chapAuthSession defines whether support iSCSI Session CHAP authentication"},"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi"},"initiatorName":{"Type":4,"Flags":0,"Description":"initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection."},"iqn":{"Type":4,"Flags":1,"Description":"iqn is the target iSCSI Qualified Name."},"iscsiInterface":{"Type":4,"Flags":0,"Description":"iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."},"lun":{"Type":3,"Flags":1,"Description":"lun represents iSCSI Target Lun number."},"portals":{"Type":215,"Flags":0,"Description":"portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."},"secretRef":{"Type":161,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"targetPortal":{"Type":4,"Flags":1,"Description":"targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1NFSVolumeSource","Properties":{"path":{"Type":4,"Flags":1,"Description":"path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"},"server":{"Type":4,"Flags":1,"Description":"server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimVolumeSource","Properties":{"claimName":{"Type":4,"Flags":1,"Description":"claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly Will force the ReadOnly setting in VolumeMounts. Default false."}}}},{"2":{"Name":"IoK8SApiCoreV1PhotonPersistentDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"pdID":{"Type":4,"Flags":1,"Description":"pdID is the ID that identifies Photon Controller persistent disk"}}}},{"2":{"Name":"IoK8SApiCoreV1PortworxVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"volumeID":{"Type":4,"Flags":1,"Description":"volumeID uniquely identifies a Portworx volume"}}}},{"2":{"Name":"IoK8SApiCoreV1ProjectedVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"sources":{"Type":229,"Flags":0,"Description":"sources is the list of volume projections"}}}},{"2":{"Name":"IoK8SApiCoreV1VolumeProjection","Properties":{"configMap":{"Type":222,"Flags":0,"Description":"Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode."},"downwardAPI":{"Type":224,"Flags":0,"Description":"Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode."},"secret":{"Type":226,"Flags":0,"Description":"Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode."},"serviceAccountToken":{"Type":228,"Flags":0,"Description":"ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise)."}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapProjection","Properties":{"items":{"Type":223,"Flags":0,"Description":"items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"optional specify whether the ConfigMap or its keys must be defined"}}}},{"3":{"ItemType":186}},{"2":{"Name":"IoK8SApiCoreV1DownwardAPIProjection","Properties":{"items":{"Type":225,"Flags":0,"Description":"Items is a list of DownwardAPIVolume file"}}}},{"3":{"ItemType":191}},{"2":{"Name":"IoK8SApiCoreV1SecretProjection","Properties":{"items":{"Type":227,"Flags":0,"Description":"items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"optional field specify whether the Secret or its key must be defined"}}}},{"3":{"ItemType":186}},{"2":{"Name":"IoK8SApiCoreV1ServiceAccountTokenProjection","Properties":{"audience":{"Type":4,"Flags":0,"Description":"audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver."},"expirationSeconds":{"Type":3,"Flags":0,"Description":"expirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes."},"path":{"Type":4,"Flags":1,"Description":"path is the path relative to the mount point of the file to project the token into."}}}},{"3":{"ItemType":221}},{"2":{"Name":"IoK8SApiCoreV1QuobyteVolumeSource","Properties":{"group":{"Type":4,"Flags":0,"Description":"group to map volume access to Default is no group"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false."},"registry":{"Type":4,"Flags":1,"Description":"registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes"},"tenant":{"Type":4,"Flags":0,"Description":"tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin"},"user":{"Type":4,"Flags":0,"Description":"user to map volume access to Defaults to serivceaccount user"},"volume":{"Type":4,"Flags":1,"Description":"volume is a string that references an already created Quobyte volume by name."}}}},{"2":{"Name":"IoK8SApiCoreV1RBDVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd"},"image":{"Type":4,"Flags":1,"Description":"image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"keyring":{"Type":4,"Flags":0,"Description":"keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"monitors":{"Type":232,"Flags":1,"Description":"monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"pool":{"Type":4,"Flags":0,"Description":"pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"secretRef":{"Type":161,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"user":{"Type":4,"Flags":0,"Description":"user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1ScaleIOVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"."},"gateway":{"Type":4,"Flags":1,"Description":"gateway is the host address of the ScaleIO API Gateway."},"protectionDomain":{"Type":4,"Flags":0,"Description":"protectionDomain is the name of the ScaleIO Protection Domain for the configured storage."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":161,"Flags":1,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"sslEnabled":{"Type":2,"Flags":0,"Description":"sslEnabled Flag enable/disable SSL communication with Gateway, default false"},"storageMode":{"Type":4,"Flags":0,"Description":"storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned."},"storagePool":{"Type":4,"Flags":0,"Description":"storagePool is the ScaleIO Storage Pool associated with the protection domain."},"system":{"Type":4,"Flags":1,"Description":"system is the name of the storage system as configured in ScaleIO."},"volumeName":{"Type":4,"Flags":0,"Description":"volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source."}}}},{"2":{"Name":"IoK8SApiCoreV1SecretVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"items":{"Type":235,"Flags":0,"Description":"items If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"optional":{"Type":2,"Flags":0,"Description":"optional field specify whether the Secret or its keys must be defined"},"secretName":{"Type":4,"Flags":0,"Description":"secretName is the name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret"}}}},{"3":{"ItemType":186}},{"2":{"Name":"IoK8SApiCoreV1StorageOSVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":161,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"volumeName":{"Type":4,"Flags":0,"Description":"volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace."},"volumeNamespace":{"Type":4,"Flags":0,"Description":"volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created."}}}},{"2":{"Name":"IoK8SApiCoreV1VsphereVirtualDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"storagePolicyID":{"Type":4,"Flags":0,"Description":"storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName."},"storagePolicyName":{"Type":4,"Flags":0,"Description":"storagePolicyName is the storage Policy Based Management (SPBM) profile name."},"volumePath":{"Type":4,"Flags":1,"Description":"volumePath is the path that identifies vSphere volume vmdk"}}}},{"3":{"ItemType":178}},{"2":{"Name":"IoK8SApiCoreV1PodStatus","Properties":{"conditions":{"Type":241,"Flags":0,"Description":"Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions"},"containerStatuses":{"Type":247,"Flags":0,"Description":"The list has one entry per container in the manifest. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status"},"ephemeralContainerStatuses":{"Type":248,"Flags":0,"Description":"Status for any ephemeral containers that have run in this pod."},"hostIP":{"Type":4,"Flags":0,"Description":"IP address of the host to which the pod is assigned. Empty if not yet scheduled."},"initContainerStatuses":{"Type":249,"Flags":0,"Description":"The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status"},"message":{"Type":4,"Flags":0,"Description":"A human readable message indicating details about why the pod is in this condition."},"nominatedNodeName":{"Type":4,"Flags":0,"Description":"nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled."},"phase":{"Type":4,"Flags":0,"Description":"The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values:\n\nPending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod.\n\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase"},"podIP":{"Type":4,"Flags":0,"Description":"IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated."},"podIPs":{"Type":251,"Flags":0,"Description":"podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet."},"qosClass":{"Type":4,"Flags":0,"Description":"The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md"},"reason":{"Type":4,"Flags":0,"Description":"A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'"},"startTime":{"Type":4,"Flags":0,"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."}}}},{"2":{"Name":"IoK8SApiCoreV1PodCondition","Properties":{"lastProbeTime":{"Type":4,"Flags":0,"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."},"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"Human-readable message indicating details about last transition."},"reason":{"Type":4,"Flags":0,"Description":"Unique, one-word, CamelCase reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions"},"type":{"Type":4,"Flags":1,"Description":"Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions"}}}},{"3":{"ItemType":240}},{"2":{"Name":"IoK8SApiCoreV1ContainerStatus","Properties":{"containerID":{"Type":4,"Flags":0,"Description":"Container's ID in the format '://'."},"image":{"Type":4,"Flags":1,"Description":"The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images."},"imageID":{"Type":4,"Flags":1,"Description":"ImageID of the container's image."},"lastState":{"Type":243,"Flags":0,"Description":"ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting."},"name":{"Type":4,"Flags":1,"Description":"This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated."},"ready":{"Type":2,"Flags":1,"Description":"Specifies whether the container has passed its readiness probe."},"restartCount":{"Type":3,"Flags":1,"Description":"The number of times the container has been restarted."},"started":{"Type":2,"Flags":0,"Description":"Specifies whether the container has passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. Is always true when no startupProbe is defined."},"state":{"Type":243,"Flags":0,"Description":"ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting."}}}},{"2":{"Name":"IoK8SApiCoreV1ContainerState","Properties":{"running":{"Type":244,"Flags":0,"Description":"ContainerStateRunning is a running state of a container."},"terminated":{"Type":245,"Flags":0,"Description":"ContainerStateTerminated is a terminated state of a container."},"waiting":{"Type":246,"Flags":0,"Description":"ContainerStateWaiting is a waiting state of a container."}}}},{"2":{"Name":"IoK8SApiCoreV1ContainerStateRunning","Properties":{"startedAt":{"Type":4,"Flags":0,"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."}}}},{"2":{"Name":"IoK8SApiCoreV1ContainerStateTerminated","Properties":{"containerID":{"Type":4,"Flags":0,"Description":"Container's ID in the format '://'"},"exitCode":{"Type":3,"Flags":1,"Description":"Exit status from the last termination of the container"},"finishedAt":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"Message regarding the last termination of the container"},"reason":{"Type":4,"Flags":0,"Description":"(brief) reason from the last termination of the container"},"signal":{"Type":3,"Flags":0,"Description":"Signal from the last termination of the container"},"startedAt":{"Type":4,"Flags":0,"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."}}}},{"2":{"Name":"IoK8SApiCoreV1ContainerStateWaiting","Properties":{"message":{"Type":4,"Flags":0,"Description":"Message regarding why the container is not yet running."},"reason":{"Type":4,"Flags":0,"Description":"(brief) reason the container is not yet running."}}}},{"3":{"ItemType":242}},{"3":{"ItemType":242}},{"3":{"ItemType":242}},{"2":{"Name":"IoK8SApiCoreV1PodIP","Properties":{"ip":{"Type":4,"Flags":0,"Description":"ip is an IP address (IPv4 or IPv6) assigned to the pod"}}}},{"3":{"ItemType":250}},{"2":{"Name":"core/Pod","Properties":{"kind":{"Type":80,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":81,"Flags":10,"Description":"The api version."},"metadata":{"Type":84,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":85,"Flags":0,"Description":"PodSpec is a description of a pod."},"status":{"Type":239,"Flags":0,"Description":"PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane."}}}},{"4":{"Name":"core/Pod@v1","ScopeType":0,"Body":252,"Flags":0}},{"6":{"Value":"PodTemplate"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":256,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":257,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1PodTemplateSpec","Properties":{"metadata":{"Type":196,"Flags":0,"Description":"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."},"spec":{"Type":85,"Flags":0,"Description":"PodSpec is a description of a pod."}}}},{"2":{"Name":"core/PodTemplate","Properties":{"kind":{"Type":254,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":255,"Flags":10,"Description":"The api version."},"metadata":{"Type":258,"Flags":1,"Description":"The resource metadata."},"template":{"Type":259,"Flags":0,"Description":"PodTemplateSpec describes the data a pod should have when created from a template"}}}},{"4":{"Name":"core/PodTemplate@v1","ScopeType":0,"Body":260,"Flags":0}},{"6":{"Value":"ReplicationController"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":264,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":265,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1ReplicationControllerSpec","Properties":{"minReadySeconds":{"Type":3,"Flags":0,"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)"},"replicas":{"Type":3,"Flags":0,"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"},"selector":{"Type":268,"Flags":0,"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"},"template":{"Type":259,"Flags":0,"Description":"PodTemplateSpec describes the data a pod should have when created from a template"}}}},{"2":{"Name":"IoK8SApiCoreV1ReplicationControllerSpecSelector","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1ReplicationControllerStatus","Properties":{"availableReplicas":{"Type":3,"Flags":0,"Description":"The number of available replicas (ready for at least minReadySeconds) for this replication controller."},"conditions":{"Type":271,"Flags":0,"Description":"Represents the latest available observations of a replication controller's current state."},"fullyLabeledReplicas":{"Type":3,"Flags":0,"Description":"The number of pods that have labels matching the labels of the pod template of the replication controller."},"observedGeneration":{"Type":3,"Flags":0,"Description":"ObservedGeneration reflects the generation of the most recently observed replication controller."},"readyReplicas":{"Type":3,"Flags":0,"Description":"The number of ready replicas for this replication controller."},"replicas":{"Type":3,"Flags":1,"Description":"Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller"}}}},{"2":{"Name":"IoK8SApiCoreV1ReplicationControllerCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"A human readable message indicating details about the transition."},"reason":{"Type":4,"Flags":0,"Description":"The reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"Status of the condition, one of True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"Type of replication controller condition."}}}},{"3":{"ItemType":270}},{"2":{"Name":"core/ReplicationController","Properties":{"kind":{"Type":262,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":263,"Flags":10,"Description":"The api version."},"metadata":{"Type":266,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":267,"Flags":0,"Description":"ReplicationControllerSpec is the specification of a replication controller."},"status":{"Type":269,"Flags":0,"Description":"ReplicationControllerStatus represents the current status of a replication controller."}}}},{"4":{"Name":"core/ReplicationController@v1","ScopeType":0,"Body":272,"Flags":0}},{"6":{"Value":"ResourceQuota"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":276,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":277,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1ResourceQuotaSpec","Properties":{"hard":{"Type":280,"Flags":0,"Description":"hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/"},"scopeSelector":{"Type":281,"Flags":0,"Description":"A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements."},"scopes":{"Type":285,"Flags":0,"Description":"A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects."}}}},{"2":{"Name":"IoK8SApiCoreV1ResourceQuotaSpecHard","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1ScopeSelector","Properties":{"matchExpressions":{"Type":284,"Flags":0,"Description":"A list of scope selector requirements by scope of the resources."}}}},{"2":{"Name":"IoK8SApiCoreV1ScopedResourceSelectorRequirement","Properties":{"operator":{"Type":4,"Flags":1,"Description":"Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist."},"scopeName":{"Type":4,"Flags":1,"Description":"The name of the scope that the selector applies to."},"values":{"Type":283,"Flags":0,"Description":"An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":282}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1ResourceQuotaStatus","Properties":{"hard":{"Type":287,"Flags":0,"Description":"Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/"},"used":{"Type":288,"Flags":0,"Description":"Used is the current observed total usage of the resource in the namespace."}}}},{"2":{"Name":"IoK8SApiCoreV1ResourceQuotaStatusHard","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1ResourceQuotaStatusUsed","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"core/ResourceQuota","Properties":{"kind":{"Type":274,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":275,"Flags":10,"Description":"The api version."},"metadata":{"Type":278,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":279,"Flags":0,"Description":"ResourceQuotaSpec defines the desired hard limits to enforce for Quota."},"status":{"Type":286,"Flags":0,"Description":"ResourceQuotaStatus defines the enforced hard limits and observed use."}}}},{"4":{"Name":"core/ResourceQuota@v1","ScopeType":0,"Body":289,"Flags":0}},{"6":{"Value":"Secret"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":293,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":294,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1SecretData","Properties":{},"AdditionalProperties":0}},{"2":{"Name":"IoK8SApiCoreV1SecretStringData","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"core/Secret","Properties":{"kind":{"Type":291,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":292,"Flags":10,"Description":"The api version."},"metadata":{"Type":295,"Flags":1,"Description":"The resource metadata."},"data":{"Type":296,"Flags":0,"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"},"immutable":{"Type":2,"Flags":0,"Description":"Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil."},"stringData":{"Type":297,"Flags":0,"Description":"stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API."},"type":{"Type":4,"Flags":0,"Description":"Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types"}}}},{"4":{"Name":"core/Secret@v1","ScopeType":0,"Body":298,"Flags":0}},{"6":{"Value":"ServiceAccount"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":302,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":303,"Flags":0,"Description":"The annotations for the resource."}}}},{"3":{"ItemType":161}},{"3":{"ItemType":24}},{"2":{"Name":"core/ServiceAccount","Properties":{"kind":{"Type":300,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":301,"Flags":10,"Description":"The api version."},"metadata":{"Type":304,"Flags":1,"Description":"The resource metadata."},"automountServiceAccountToken":{"Type":2,"Flags":0,"Description":"AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level."},"imagePullSecrets":{"Type":305,"Flags":0,"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"},"secrets":{"Type":306,"Flags":0,"Description":"Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a \"kubernetes.io/enforce-mountable-secrets\" annotation set to \"true\". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret"}}}},{"4":{"Name":"core/ServiceAccount@v1","ScopeType":0,"Body":307,"Flags":0}},{"6":{"Value":"Service"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":311,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":312,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1ServiceSpec","Properties":{"allocateLoadBalancerNodePorts":{"Type":2,"Flags":0,"Description":"allocateLoadBalancerNodePorts defines if NodePorts will be automatically allocated for services with type LoadBalancer. Default is \"true\". It may be set to \"false\" if the cluster load-balancer does not rely on NodePorts. If the caller requests specific NodePorts (by specifying a value), those requests will be respected, regardless of this field. This field may only be set for services with type LoadBalancer and will be cleared if the type is changed to any other type."},"clusterIP":{"Type":4,"Flags":0,"Description":"clusterIP is the IP address of the service and is usually assigned randomly. If an address is specified manually, is in-range (as per system configuration), and is not in use, it will be allocated to the service; otherwise creation of the service will fail. This field may not be changed through updates unless the type field is also being changed to ExternalName (which requires this field to be blank) or the type field is being changed from ExternalName (in which case this field may optionally be specified, as describe above). Valid values are \"None\", empty string (\"\"), or a valid IP address. Setting this to \"None\" makes a \"headless service\" (no virtual IP), which is useful when direct endpoint connections are preferred and proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. If this field is specified when creating a Service of type ExternalName, creation will fail. This field will be wiped when updating a Service to type ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies"},"clusterIPs":{"Type":315,"Flags":0,"Description":"ClusterIPs is a list of IP addresses assigned to this service, and are usually assigned randomly. If an address is specified manually, is in-range (as per system configuration), and is not in use, it will be allocated to the service; otherwise creation of the service will fail. This field may not be changed through updates unless the type field is also being changed to ExternalName (which requires this field to be empty) or the type field is being changed from ExternalName (in which case this field may optionally be specified, as describe above). Valid values are \"None\", empty string (\"\"), or a valid IP address. Setting this to \"None\" makes a \"headless service\" (no virtual IP), which is useful when direct endpoint connections are preferred and proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. If this field is specified when creating a Service of type ExternalName, creation will fail. This field will be wiped when updating a Service to type ExternalName. If this field is not specified, it will be initialized from the clusterIP field. If this field is specified, clients must ensure that clusterIPs[0] and clusterIP have the same value.\n\nThis field may hold a maximum of two entries (dual-stack IPs, in either order). These IPs must correspond to the values of the ipFamilies field. Both clusterIPs and ipFamilies are governed by the ipFamilyPolicy field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies"},"externalIPs":{"Type":316,"Flags":0,"Description":"externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system."},"externalName":{"Type":4,"Flags":0,"Description":"externalName is the external reference that discovery mechanisms will return as an alias for this service (e.g. a DNS CNAME record). No proxying will be involved. Must be a lowercase RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires `type` to be \"ExternalName\"."},"externalTrafficPolicy":{"Type":4,"Flags":0,"Description":"externalTrafficPolicy describes how nodes distribute service traffic they receive on one of the Service's \"externally-facing\" addresses (NodePorts, ExternalIPs, and LoadBalancer IPs). If set to \"Local\", the proxy will configure the service in a way that assumes that external load balancers will take care of balancing the service traffic between nodes, and so each node will deliver traffic only to the node-local endpoints of the service, without masquerading the client source IP. (Traffic mistakenly sent to a node with no endpoints will be dropped.) The default value, \"Cluster\", uses the standard behavior of routing to all endpoints evenly (possibly modified by topology and other features). Note that traffic sent to an External IP or LoadBalancer IP from within the cluster will always get \"Cluster\" semantics, but clients sending to a NodePort from within the cluster may need to take traffic policy into account when picking a node."},"healthCheckNodePort":{"Type":3,"Flags":0,"Description":"healthCheckNodePort specifies the healthcheck nodePort for the service. This only applies when type is set to LoadBalancer and externalTrafficPolicy is set to Local. If a value is specified, is in-range, and is not in use, it will be used. If not specified, a value will be automatically allocated. External systems (e.g. load-balancers) can use this port to determine if a given node holds endpoints for this service or not. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type). This field cannot be updated once set."},"internalTrafficPolicy":{"Type":4,"Flags":0,"Description":"InternalTrafficPolicy describes how nodes distribute service traffic they receive on the ClusterIP. If set to \"Local\", the proxy will assume that pods only want to talk to endpoints of the service on the same node as the pod, dropping the traffic if there are no local endpoints. The default value, \"Cluster\", uses the standard behavior of routing to all endpoints evenly (possibly modified by topology and other features)."},"ipFamilies":{"Type":317,"Flags":0,"Description":"IPFamilies is a list of IP families (e.g. IPv4, IPv6) assigned to this service. This field is usually assigned automatically based on cluster configuration and the ipFamilyPolicy field. If this field is specified manually, the requested family is available in the cluster, and ipFamilyPolicy allows it, it will be used; otherwise creation of the service will fail. This field is conditionally mutable: it allows for adding or removing a secondary IP family, but it does not allow changing the primary IP family of the Service. Valid values are \"IPv4\" and \"IPv6\". This field only applies to Services of types ClusterIP, NodePort, and LoadBalancer, and does apply to \"headless\" services. This field will be wiped when updating a Service to type ExternalName.\n\nThis field may hold a maximum of two entries (dual-stack families, in either order). These families must correspond to the values of the clusterIPs field, if specified. Both clusterIPs and ipFamilies are governed by the ipFamilyPolicy field."},"ipFamilyPolicy":{"Type":4,"Flags":0,"Description":"IPFamilyPolicy represents the dual-stack-ness requested or required by this Service. If there is no value provided, then this field will be set to SingleStack. Services can be \"SingleStack\" (a single IP family), \"PreferDualStack\" (two IP families on dual-stack configured clusters or a single IP family on single-stack clusters), or \"RequireDualStack\" (two IP families on dual-stack configured clusters, otherwise fail). The ipFamilies and clusterIPs fields depend on the value of this field. This field will be wiped when updating a service to type ExternalName."},"loadBalancerClass":{"Type":4,"Flags":0,"Description":"loadBalancerClass is the class of the load balancer implementation this Service belongs to. If specified, the value of this field must be a label-style identifier, with an optional prefix, e.g. \"internal-vip\" or \"example.com/internal-vip\". Unprefixed names are reserved for end-users. This field can only be set when the Service type is 'LoadBalancer'. If not set, the default load balancer implementation is used, today this is typically done through the cloud provider integration, but should apply for any default implementation. If set, it is assumed that a load balancer implementation is watching for Services with a matching class. Any default load balancer implementation (e.g. cloud providers) should ignore Services that set this field. This field can only be set when creating or updating a Service to type 'LoadBalancer'. Once set, it can not be changed. This field will be wiped when a service is updated to a non 'LoadBalancer' type."},"loadBalancerIP":{"Type":4,"Flags":0,"Description":"Only applies to Service Type: LoadBalancer. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature. Deprecated: This field was under-specified and its meaning varies across implementations, and it cannot support dual-stack. As of Kubernetes v1.24, users are encouraged to use implementation-specific annotations when available. This field may be removed in a future API version."},"loadBalancerSourceRanges":{"Type":318,"Flags":0,"Description":"If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/"},"ports":{"Type":320,"Flags":0,"Description":"The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies"},"publishNotReadyAddresses":{"Type":2,"Flags":0,"Description":"publishNotReadyAddresses indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready. The primary use case for setting this field is for a StatefulSet's Headless Service to propagate SRV DNS records for its Pods for the purpose of peer discovery. The Kubernetes controllers that generate Endpoints and EndpointSlice resources for Services interpret this to mean that all endpoints are considered \"ready\" even if the Pods themselves are not. Agents which consume only Kubernetes generated endpoints through the Endpoints or EndpointSlice resources can safely assume this behavior."},"selector":{"Type":321,"Flags":0,"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/"},"sessionAffinity":{"Type":4,"Flags":0,"Description":"Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies"},"sessionAffinityConfig":{"Type":322,"Flags":0,"Description":"SessionAffinityConfig represents the configurations of session affinity."},"type":{"Type":4,"Flags":0,"Description":"type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object or EndpointSlice objects. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a virtual IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the same endpoints as the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the same endpoints as the clusterIP. \"ExternalName\" aliases this service to the specified externalName. Several other fields do not apply to ExternalName services. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types"}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1ServicePort","Properties":{"appProtocol":{"Type":4,"Flags":0,"Description":"The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol."},"name":{"Type":4,"Flags":0,"Description":"The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service."},"nodePort":{"Type":3,"Flags":0,"Description":"The port on each node on which this service is exposed when type is NodePort or LoadBalancer. Usually assigned by the system. If a value is specified, in-range, and not in use it will be used, otherwise the operation will fail. If not specified, a port will be allocated if this Service requires one. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type from NodePort to ClusterIP). More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport"},"port":{"Type":3,"Flags":1,"Description":"The port that will be exposed by this service."},"protocol":{"Type":4,"Flags":0,"Description":"The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP."},"targetPort":{"Type":4,"Flags":0,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."}}}},{"3":{"ItemType":319}},{"2":{"Name":"IoK8SApiCoreV1ServiceSpecSelector","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1SessionAffinityConfig","Properties":{"clientIP":{"Type":323,"Flags":0,"Description":"ClientIPConfig represents the configurations of Client IP based session affinity."}}}},{"2":{"Name":"IoK8SApiCoreV1ClientIPConfig","Properties":{"timeoutSeconds":{"Type":3,"Flags":0,"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)."}}}},{"2":{"Name":"IoK8SApiCoreV1ServiceStatus","Properties":{"conditions":{"Type":326,"Flags":0,"Description":"Current service state"},"loadBalancer":{"Type":327,"Flags":0,"Description":"LoadBalancerStatus represents the status of a load-balancer."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1Condition","Properties":{"lastTransitionTime":{"Type":4,"Flags":1,"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."},"message":{"Type":4,"Flags":1,"Description":"message is a human readable message indicating details about the transition. This may be an empty string."},"observedGeneration":{"Type":3,"Flags":0,"Description":"observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance."},"reason":{"Type":4,"Flags":1,"Description":"reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty."},"status":{"Type":4,"Flags":1,"Description":"status of the condition, one of True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"type of condition in CamelCase or in foo.example.com/CamelCase."}}}},{"3":{"ItemType":325}},{"2":{"Name":"IoK8SApiCoreV1LoadBalancerStatus","Properties":{"ingress":{"Type":331,"Flags":0,"Description":"Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points."}}}},{"2":{"Name":"IoK8SApiCoreV1LoadBalancerIngress","Properties":{"hostname":{"Type":4,"Flags":0,"Description":"Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)"},"ip":{"Type":4,"Flags":0,"Description":"IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)"},"ports":{"Type":330,"Flags":0,"Description":"Ports is a list of records of service ports If used, every port defined in the service should have an entry in it"}}}},{"2":{"Name":"IoK8SApiCoreV1PortStatus","Properties":{"error":{"Type":4,"Flags":0,"Description":"Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use\n CamelCase names\n- cloud provider specific error values must have names that comply with the\n format foo.example.com/CamelCase."},"port":{"Type":3,"Flags":1,"Description":"Port is the port number of the service port of which status is recorded here"},"protocol":{"Type":4,"Flags":1,"Description":"Protocol is the protocol of the service port of which status is recorded here The supported values are: \"TCP\", \"UDP\", \"SCTP\""}}}},{"3":{"ItemType":329}},{"3":{"ItemType":328}},{"2":{"Name":"core/Service","Properties":{"kind":{"Type":309,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":310,"Flags":10,"Description":"The api version."},"metadata":{"Type":313,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":314,"Flags":0,"Description":"ServiceSpec describes the attributes that a user creates on a service."},"status":{"Type":324,"Flags":0,"Description":"ServiceStatus represents the current status of a service."}}}},{"4":{"Name":"core/Service@v1","ScopeType":0,"Body":332,"Flags":0}},{"6":{"Value":"Namespace"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":336,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":337,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1NamespaceSpec","Properties":{"finalizers":{"Type":340,"Flags":0,"Description":"Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1NamespaceStatus","Properties":{"conditions":{"Type":343,"Flags":0,"Description":"Represents the latest available observations of a namespace's current state."},"phase":{"Type":4,"Flags":0,"Description":"Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/"}}}},{"2":{"Name":"IoK8SApiCoreV1NamespaceCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0},"reason":{"Type":4,"Flags":0},"status":{"Type":4,"Flags":1,"Description":"Status of the condition, one of True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"Type of namespace controller condition."}}}},{"3":{"ItemType":342}},{"2":{"Name":"core/Namespace","Properties":{"kind":{"Type":334,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":335,"Flags":10,"Description":"The api version."},"metadata":{"Type":338,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":339,"Flags":0,"Description":"NamespaceSpec describes the attributes on a Namespace."},"status":{"Type":341,"Flags":0,"Description":"NamespaceStatus is information about the current status of a Namespace."}}}},{"4":{"Name":"core/Namespace@v1","ScopeType":0,"Body":344,"Flags":0}},{"6":{"Value":"Node"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":348,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":349,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSpec","Properties":{"configSource":{"Type":352,"Flags":0,"Description":"NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22"},"externalID":{"Type":4,"Flags":0,"Description":"Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966"},"podCIDR":{"Type":4,"Flags":0,"Description":"PodCIDR represents the pod IP range assigned to the node."},"podCIDRs":{"Type":354,"Flags":0,"Description":"podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6."},"providerID":{"Type":4,"Flags":0,"Description":"ID of the node assigned by the cloud provider in the format: ://"},"taints":{"Type":356,"Flags":0,"Description":"If specified, the node's taints."},"unschedulable":{"Type":2,"Flags":0,"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"}}}},{"2":{"Name":"IoK8SApiCoreV1NodeConfigSource","Properties":{"configMap":{"Type":353,"Flags":0,"Description":"ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration"}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapNodeConfigSource","Properties":{"kubeletConfigKey":{"Type":4,"Flags":1,"Description":"KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases."},"name":{"Type":4,"Flags":1,"Description":"Name is the metadata.name of the referenced ConfigMap. This field is required in all cases."},"namespace":{"Type":4,"Flags":1,"Description":"Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases."},"resourceVersion":{"Type":4,"Flags":0,"Description":"ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status."},"uid":{"Type":4,"Flags":0,"Description":"UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1Taint","Properties":{"effect":{"Type":4,"Flags":1,"Description":"Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute."},"key":{"Type":4,"Flags":1,"Description":"Required. The taint key to be applied to a node."},"timeAdded":{"Type":4,"Flags":0,"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."},"value":{"Type":4,"Flags":0,"Description":"The taint value corresponding to the taint key."}}}},{"3":{"ItemType":355}},{"2":{"Name":"IoK8SApiCoreV1NodeStatus","Properties":{"addresses":{"Type":359,"Flags":0,"Description":"List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See http://pr.k8s.io/79391 for an example."},"allocatable":{"Type":360,"Flags":0,"Description":"Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity."},"capacity":{"Type":361,"Flags":0,"Description":"Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity"},"conditions":{"Type":363,"Flags":0,"Description":"Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition"},"config":{"Type":364,"Flags":0,"Description":"NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource."},"daemonEndpoints":{"Type":365,"Flags":0,"Description":"NodeDaemonEndpoints lists ports opened by daemons running on the Node."},"images":{"Type":369,"Flags":0,"Description":"List of container images on this node"},"nodeInfo":{"Type":370,"Flags":0,"Description":"NodeSystemInfo is a set of ids/uuids to uniquely identify the node."},"phase":{"Type":4,"Flags":0,"Description":"NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated."},"volumesAttached":{"Type":372,"Flags":0,"Description":"List of volumes that are attached to the node."},"volumesInUse":{"Type":373,"Flags":0,"Description":"List of attachable volumes in use (mounted) by the node."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeAddress","Properties":{"address":{"Type":4,"Flags":1,"Description":"The node address."},"type":{"Type":4,"Flags":1,"Description":"Node address type, one of Hostname, ExternalIP or InternalIP."}}}},{"3":{"ItemType":358}},{"2":{"Name":"IoK8SApiCoreV1NodeStatusAllocatable","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1NodeStatusCapacity","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1NodeCondition","Properties":{"lastHeartbeatTime":{"Type":4,"Flags":0,"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."},"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"Human readable message indicating details about last transition."},"reason":{"Type":4,"Flags":0,"Description":"(brief) reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"Status of the condition, one of True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"Type of node condition."}}}},{"3":{"ItemType":362}},{"2":{"Name":"IoK8SApiCoreV1NodeConfigStatus","Properties":{"active":{"Type":352,"Flags":0,"Description":"NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22"},"assigned":{"Type":352,"Flags":0,"Description":"NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22"},"error":{"Type":4,"Flags":0,"Description":"Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions."},"lastKnownGood":{"Type":352,"Flags":0,"Description":"NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22"}}}},{"2":{"Name":"IoK8SApiCoreV1NodeDaemonEndpoints","Properties":{"kubeletEndpoint":{"Type":366,"Flags":0,"Description":"DaemonEndpoint contains information about a single Daemon endpoint."}}}},{"2":{"Name":"IoK8SApiCoreV1DaemonEndpoint","Properties":{"Port":{"Type":3,"Flags":1,"Description":"Port number of the given endpoint."}}}},{"2":{"Name":"IoK8SApiCoreV1ContainerImage","Properties":{"names":{"Type":368,"Flags":0,"Description":"Names by which this image is known. e.g. [\"kubernetes.example/hyperkube:v1.0.7\", \"cloud-vendor.registry.example/cloud-vendor/hyperkube:v1.0.7\"]"},"sizeBytes":{"Type":3,"Flags":0,"Description":"The size of the image in bytes."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":367}},{"2":{"Name":"IoK8SApiCoreV1NodeSystemInfo","Properties":{"architecture":{"Type":4,"Flags":1,"Description":"The Architecture reported by the node"},"bootID":{"Type":4,"Flags":1,"Description":"Boot ID reported by the node."},"containerRuntimeVersion":{"Type":4,"Flags":1,"Description":"ContainerRuntime Version reported by the node through runtime remote API (e.g. containerd://1.4.2)."},"kernelVersion":{"Type":4,"Flags":1,"Description":"Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64)."},"kubeProxyVersion":{"Type":4,"Flags":1,"Description":"KubeProxy Version reported by the node."},"kubeletVersion":{"Type":4,"Flags":1,"Description":"Kubelet Version reported by the node."},"machineID":{"Type":4,"Flags":1,"Description":"MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html"},"operatingSystem":{"Type":4,"Flags":1,"Description":"The Operating System reported by the node"},"osImage":{"Type":4,"Flags":1,"Description":"OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy))."},"systemUUID":{"Type":4,"Flags":1,"Description":"SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid"}}}},{"2":{"Name":"IoK8SApiCoreV1AttachedVolume","Properties":{"devicePath":{"Type":4,"Flags":1,"Description":"DevicePath represents the device path where the volume should be available"},"name":{"Type":4,"Flags":1,"Description":"Name of the attached volume"}}}},{"3":{"ItemType":371}},{"3":{"ItemType":4}},{"2":{"Name":"core/Node","Properties":{"kind":{"Type":346,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":347,"Flags":10,"Description":"The api version."},"metadata":{"Type":350,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":351,"Flags":0,"Description":"NodeSpec describes the attributes that a node is created with."},"status":{"Type":357,"Flags":0,"Description":"NodeStatus is information about the current status of a node."}}}},{"4":{"Name":"core/Node@v1","ScopeType":0,"Body":374,"Flags":0}},{"6":{"Value":"PersistentVolume"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":378,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":379,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeSpec","Properties":{"accessModes":{"Type":382,"Flags":0,"Description":"accessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes"},"awsElasticBlockStore":{"Type":179,"Flags":0,"Description":"Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling."},"azureDisk":{"Type":180,"Flags":0,"Description":"AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."},"azureFile":{"Type":383,"Flags":0,"Description":"AzureFile represents an Azure File Service mount on the host and bind mount to the pod."},"capacity":{"Type":384,"Flags":0,"Description":"capacity is the description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity"},"cephfs":{"Type":385,"Flags":0,"Description":"Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling."},"cinder":{"Type":388,"Flags":0,"Description":"Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling."},"claimRef":{"Type":24,"Flags":0,"Description":"ObjectReference contains enough information to let you inspect or modify the referred object."},"csi":{"Type":389,"Flags":0,"Description":"Represents storage that is managed by an external CSI volume driver (Beta feature)"},"fc":{"Type":204,"Flags":0,"Description":"Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling."},"flexVolume":{"Type":391,"Flags":0,"Description":"FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin."},"flocker":{"Type":209,"Flags":0,"Description":"Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling."},"gcePersistentDisk":{"Type":210,"Flags":0,"Description":"Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling."},"glusterfs":{"Type":393,"Flags":0,"Description":"Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling."},"hostPath":{"Type":213,"Flags":0,"Description":"Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling."},"iscsi":{"Type":394,"Flags":0,"Description":"ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling."},"local":{"Type":396,"Flags":0,"Description":"Local represents directly-attached storage with node affinity (Beta feature)"},"mountOptions":{"Type":397,"Flags":0,"Description":"mountOptions is the list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options"},"nfs":{"Type":216,"Flags":0,"Description":"Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling."},"nodeAffinity":{"Type":398,"Flags":0,"Description":"VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from."},"persistentVolumeReclaimPolicy":{"Type":4,"Flags":0,"Description":"persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming"},"photonPersistentDisk":{"Type":218,"Flags":0,"Description":"Represents a Photon Controller persistent disk resource."},"portworxVolume":{"Type":219,"Flags":0,"Description":"PortworxVolumeSource represents a Portworx volume resource."},"quobyte":{"Type":230,"Flags":0,"Description":"Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling."},"rbd":{"Type":399,"Flags":0,"Description":"Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling."},"scaleIO":{"Type":401,"Flags":0,"Description":"ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume"},"storageClassName":{"Type":4,"Flags":0,"Description":"storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass."},"storageos":{"Type":402,"Flags":0,"Description":"Represents a StorageOS persistent volume resource."},"volumeMode":{"Type":4,"Flags":0,"Description":"volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec."},"vsphereVolume":{"Type":237,"Flags":0,"Description":"Represents a vSphere volume resource."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1AzureFilePersistentVolumeSource","Properties":{"readOnly":{"Type":2,"Flags":0,"Description":"readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretName":{"Type":4,"Flags":1,"Description":"secretName is the name of secret that contains Azure Storage Account Name and Key"},"secretNamespace":{"Type":4,"Flags":0,"Description":"secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod"},"shareName":{"Type":4,"Flags":1,"Description":"shareName is the azure Share Name"}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeSpecCapacity","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1CephFSPersistentVolumeSource","Properties":{"monitors":{"Type":386,"Flags":1,"Description":"monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"path":{"Type":4,"Flags":0,"Description":"path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"secretFile":{"Type":4,"Flags":0,"Description":"secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"secretRef":{"Type":387,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"user":{"Type":4,"Flags":0,"Description":"user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1SecretReference","Properties":{"name":{"Type":4,"Flags":0,"Description":"name is unique within a namespace to reference a secret resource."},"namespace":{"Type":4,"Flags":0,"Description":"namespace defines the space within which the secret name must be unique."}}}},{"2":{"Name":"IoK8SApiCoreV1CinderPersistentVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"},"secretRef":{"Type":387,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"volumeID":{"Type":4,"Flags":1,"Description":"volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"}}}},{"2":{"Name":"IoK8SApiCoreV1CSIPersistentVolumeSource","Properties":{"controllerExpandSecretRef":{"Type":387,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"controllerPublishSecretRef":{"Type":387,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"driver":{"Type":4,"Flags":1,"Description":"driver is the name of the driver to use for this volume. Required."},"fsType":{"Type":4,"Flags":0,"Description":"fsType to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\"."},"nodeExpandSecretRef":{"Type":387,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"nodePublishSecretRef":{"Type":387,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"nodeStageSecretRef":{"Type":387,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write)."},"volumeAttributes":{"Type":390,"Flags":0,"Description":"volumeAttributes of the volume to publish."},"volumeHandle":{"Type":4,"Flags":1,"Description":"volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required."}}}},{"2":{"Name":"IoK8SApiCoreV1CSIPersistentVolumeSourceVolumeAttributes","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1FlexPersistentVolumeSource","Properties":{"driver":{"Type":4,"Flags":1,"Description":"driver is the name of the driver to use for this volume."},"fsType":{"Type":4,"Flags":0,"Description":"fsType is the Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script."},"options":{"Type":392,"Flags":0,"Description":"options is Optional: this field holds extra command options if any."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":387,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"}}}},{"2":{"Name":"IoK8SApiCoreV1FlexPersistentVolumeSourceOptions","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1GlusterfsPersistentVolumeSource","Properties":{"endpoints":{"Type":4,"Flags":1,"Description":"endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"endpointsNamespace":{"Type":4,"Flags":0,"Description":"endpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"path":{"Type":4,"Flags":1,"Description":"path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"}}}},{"2":{"Name":"IoK8SApiCoreV1IscsiPersistentVolumeSource","Properties":{"chapAuthDiscovery":{"Type":2,"Flags":0,"Description":"chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication"},"chapAuthSession":{"Type":2,"Flags":0,"Description":"chapAuthSession defines whether support iSCSI Session CHAP authentication"},"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi"},"initiatorName":{"Type":4,"Flags":0,"Description":"initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection."},"iqn":{"Type":4,"Flags":1,"Description":"iqn is Target iSCSI Qualified Name."},"iscsiInterface":{"Type":4,"Flags":0,"Description":"iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."},"lun":{"Type":3,"Flags":1,"Description":"lun is iSCSI Target Lun number."},"portals":{"Type":395,"Flags":0,"Description":"portals is the iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."},"secretRef":{"Type":387,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"targetPortal":{"Type":4,"Flags":1,"Description":"targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1LocalVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a filesystem if unspecified."},"path":{"Type":4,"Flags":1,"Description":"path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...)."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1VolumeNodeAffinity","Properties":{"required":{"Type":95,"Flags":0,"Description":"A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms."}}}},{"2":{"Name":"IoK8SApiCoreV1RBDPersistentVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd"},"image":{"Type":4,"Flags":1,"Description":"image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"keyring":{"Type":4,"Flags":0,"Description":"keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"monitors":{"Type":400,"Flags":1,"Description":"monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"pool":{"Type":4,"Flags":0,"Description":"pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"secretRef":{"Type":387,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"user":{"Type":4,"Flags":0,"Description":"user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1ScaleIOPersistentVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\""},"gateway":{"Type":4,"Flags":1,"Description":"gateway is the host address of the ScaleIO API Gateway."},"protectionDomain":{"Type":4,"Flags":0,"Description":"protectionDomain is the name of the ScaleIO Protection Domain for the configured storage."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":387,"Flags":1,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"sslEnabled":{"Type":2,"Flags":0,"Description":"sslEnabled is the flag to enable/disable SSL communication with Gateway, default false"},"storageMode":{"Type":4,"Flags":0,"Description":"storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned."},"storagePool":{"Type":4,"Flags":0,"Description":"storagePool is the ScaleIO Storage Pool associated with the protection domain."},"system":{"Type":4,"Flags":1,"Description":"system is the name of the storage system as configured in ScaleIO."},"volumeName":{"Type":4,"Flags":0,"Description":"volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source."}}}},{"2":{"Name":"IoK8SApiCoreV1StorageOSPersistentVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":24,"Flags":0,"Description":"ObjectReference contains enough information to let you inspect or modify the referred object."},"volumeName":{"Type":4,"Flags":0,"Description":"volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace."},"volumeNamespace":{"Type":4,"Flags":0,"Description":"volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created."}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeStatus","Properties":{"message":{"Type":4,"Flags":0,"Description":"message is a human-readable message indicating details about why the volume is in this state."},"phase":{"Type":4,"Flags":0,"Description":"phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase"},"reason":{"Type":4,"Flags":0,"Description":"reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI."}}}},{"2":{"Name":"core/PersistentVolume","Properties":{"kind":{"Type":376,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":377,"Flags":10,"Description":"The api version."},"metadata":{"Type":380,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":381,"Flags":0,"Description":"PersistentVolumeSpec is the specification of a persistent volume."},"status":{"Type":403,"Flags":0,"Description":"PersistentVolumeStatus is the current status of a persistent volume."}}}},{"4":{"Name":"core/PersistentVolume@v1","ScopeType":0,"Body":404,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "ConfigMap" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "AnyType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapBinaryData", + "properties": {}, + "additionalProperties": { + "$ref": "#/6" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapData", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "BooleanType" + }, + { + "$type": "ObjectType", + "name": "core/ConfigMap", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "binaryData": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "data": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "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." + }, + "immutable": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil." + } + } + }, + { + "$type": "ResourceType", + "name": "core/ConfigMap@v1", + "scopeType": 0, + "body": { + "$ref": "#/10" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "Endpoints" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/15" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EndpointSubset", + "properties": { + "addresses": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize." + }, + "notReadyAddresses": { + "type": { + "$ref": "#/21" + }, + "flags": 0, + "description": "IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check." + }, + "ports": { + "type": { + "$ref": "#/24" + }, + "flags": 0, + "description": "Port numbers available on the related IP addresses." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EndpointAddress", + "properties": { + "hostname": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The Hostname of this endpoint" + }, + "ip": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready." + }, + "nodeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node." + }, + "targetRef": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "ObjectReference contains enough information to let you inspect or modify the referred object." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ObjectReference", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "API version of the referent." + }, + "fieldPath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + }, + "resourceVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/18" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/18" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EndpointPort", + "properties": { + "appProtocol": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined." + }, + "port": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "The port number of the endpoint." + }, + "protocol": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/22" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/17" + } + }, + { + "$type": "ObjectType", + "name": "core/Endpoints", + "properties": { + "kind": { + "type": { + "$ref": "#/12" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/13" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "The resource metadata." + }, + "subsets": { + "type": { + "$ref": "#/25" + }, + "flags": 0, + "description": "The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service." + } + } + }, + { + "$type": "ResourceType", + "name": "core/Endpoints@v1", + "scopeType": 0, + "body": { + "$ref": "#/26" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "Event" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/30" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/31" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EventSeries", + "properties": { + "count": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Number of occurrences in this series up to the last heartbeat time" + }, + "lastObservedTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "MicroTime is version of Time with microsecond level precision." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EventSource", + "properties": { + "component": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Component from which the event is generated." + }, + "host": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Node name on which the event is generated." + } + } + }, + { + "$type": "ObjectType", + "name": "core/Event", + "properties": { + "kind": { + "type": { + "$ref": "#/28" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/29" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/32" + }, + "flags": 1, + "description": "The resource metadata." + }, + "action": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "What action was taken/failed regarding to the Regarding object." + }, + "count": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "The number of times this event has occurred." + }, + "eventTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "MicroTime is version of Time with microsecond level precision." + }, + "firstTimestamp": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "involvedObject": { + "type": { + "$ref": "#/19" + }, + "flags": 1, + "description": "ObjectReference contains enough information to let you inspect or modify the referred object." + }, + "lastTimestamp": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "A human-readable description of the status of this operation." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "This should be a short, machine understandable string that gives the reason for the transition into the object's current status." + }, + "related": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "ObjectReference contains enough information to let you inspect or modify the referred object." + }, + "reportingComponent": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`." + }, + "reportingInstance": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "ID of the controller instance, e.g. `kubelet-xyzf`." + }, + "series": { + "type": { + "$ref": "#/33" + }, + "flags": 0, + "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time." + }, + "source": { + "type": { + "$ref": "#/34" + }, + "flags": 0, + "description": "EventSource contains information for an event." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Type of this event (Normal, Warning), new types could be added in the future" + } + } + }, + { + "$type": "ResourceType", + "name": "core/Event@v1", + "scopeType": 0, + "body": { + "$ref": "#/35" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "LimitRange" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/39" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/40" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LimitRangeSpec", + "properties": { + "limits": { + "type": { + "$ref": "#/49" + }, + "flags": 1, + "description": "Limits is the list of LimitRangeItem objects that are enforced." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LimitRangeItem", + "properties": { + "default": { + "type": { + "$ref": "#/44" + }, + "flags": 0, + "description": "Default resource requirement limit value by resource name if resource limit is omitted." + }, + "defaultRequest": { + "type": { + "$ref": "#/45" + }, + "flags": 0, + "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted." + }, + "max": { + "type": { + "$ref": "#/46" + }, + "flags": 0, + "description": "Max usage constraints on this kind by resource name." + }, + "maxLimitRequestRatio": { + "type": { + "$ref": "#/47" + }, + "flags": 0, + "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." + }, + "min": { + "type": { + "$ref": "#/48" + }, + "flags": 0, + "description": "Min usage constraints on this kind by resource name." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type of resource that this limit applies to." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LimitRangeItemDefault", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LimitRangeItemDefaultRequest", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LimitRangeItemMax", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LimitRangeItemMaxLimitRequestRatio", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LimitRangeItemMin", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/43" + } + }, + { + "$type": "ObjectType", + "name": "core/LimitRange", + "properties": { + "kind": { + "type": { + "$ref": "#/37" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/38" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/41" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/42" + }, + "flags": 0, + "description": "LimitRangeSpec defines a min/max usage limit for resources that match on kind." + } + } + }, + { + "$type": "ResourceType", + "name": "core/LimitRange@v1", + "scopeType": 0, + "body": { + "$ref": "#/50" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "PersistentVolumeClaim" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/54" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/55" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimSpec", + "properties": { + "accessModes": { + "type": { + "$ref": "#/58" + }, + "flags": 0, + "description": "accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1" + }, + "dataSource": { + "type": { + "$ref": "#/59" + }, + "flags": 0, + "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace." + }, + "dataSourceRef": { + "type": { + "$ref": "#/59" + }, + "flags": 0, + "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace." + }, + "resources": { + "type": { + "$ref": "#/60" + }, + "flags": 0, + "description": "ResourceRequirements describes the compute resource requirements." + }, + "selector": { + "type": { + "$ref": "#/63" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "storageClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" + }, + "volumeMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeName is the binding reference to the PersistentVolume backing this claim." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TypedLocalObjectReference", + "properties": { + "apiGroup": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind is the type of resource being referenced" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the name of resource being referenced" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceRequirements", + "properties": { + "limits": { + "type": { + "$ref": "#/61" + }, + "flags": 0, + "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" + }, + "requests": { + "type": { + "$ref": "#/62" + }, + "flags": 0, + "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceRequirementsLimits", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceRequirementsRequests", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelector", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/66" + }, + "flags": 0, + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." + }, + "matchLabels": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": { + "$ref": "#/65" + }, + "flags": 0, + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/64" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimStatus", + "properties": { + "accessModes": { + "type": { + "$ref": "#/69" + }, + "flags": 0, + "description": "accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1" + }, + "allocatedResources": { + "type": { + "$ref": "#/70" + }, + "flags": 0, + "description": "allocatedResources is the storage resource within AllocatedResources tracks the capacity allocated to a PVC. It may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature." + }, + "capacity": { + "type": { + "$ref": "#/71" + }, + "flags": 0, + "description": "capacity represents the actual resources of the underlying volume." + }, + "conditions": { + "type": { + "$ref": "#/73" + }, + "flags": 0, + "description": "conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'." + }, + "phase": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "phase represents the current phase of PersistentVolumeClaim." + }, + "resizeStatus": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "resizeStatus stores status of resize operation. ResizeStatus is not set by default but when expansion is complete resizeStatus is set to empty string by resize controller or kubelet. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimStatusAllocatedResources", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimStatusCapacity", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimCondition", + "properties": { + "lastProbeTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "message is the human-readable message indicating details about last transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "reason is a unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/72" + } + }, + { + "$type": "ObjectType", + "name": "core/PersistentVolumeClaim", + "properties": { + "kind": { + "type": { + "$ref": "#/52" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/53" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/56" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/57" + }, + "flags": 0, + "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes" + }, + "status": { + "type": { + "$ref": "#/68" + }, + "flags": 0, + "description": "PersistentVolumeClaimStatus is the current status of a persistent volume claim." + } + } + }, + { + "$type": "ResourceType", + "name": "core/PersistentVolumeClaim@v1", + "scopeType": 0, + "body": { + "$ref": "#/74" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "Pod" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/78" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/79" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSpec", + "properties": { + "activeDeadlineSeconds": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer." + }, + "affinity": { + "type": { + "$ref": "#/82" + }, + "flags": 0, + "description": "Affinity is a group of affinity scheduling rules." + }, + "automountServiceAccountToken": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted." + }, + "containers": { + "type": { + "$ref": "#/139" + }, + "flags": 1, + "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated." + }, + "dnsConfig": { + "type": { + "$ref": "#/140" + }, + "flags": 0, + "description": "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy." + }, + "dnsPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'." + }, + "enableServiceLinks": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true." + }, + "ephemeralContainers": { + "type": { + "$ref": "#/153" + }, + "flags": 0, + "description": "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource." + }, + "hostAliases": { + "type": { + "$ref": "#/156" + }, + "flags": 0, + "description": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods." + }, + "hostIPC": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Use the host's ipc namespace. Optional: Default to false." + }, + "hostNetwork": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false." + }, + "hostPID": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Use the host's pid namespace. Optional: Default to false." + }, + "hostUsers": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Use the host's user namespace. Optional: Default to true. If set to true or not present, the pod will be run in the host user namespace, useful for when the pod needs a feature only available to the host user namespace, such as loading a kernel module with CAP_SYS_MODULE. When set to false, a new userns is created for the pod. Setting false is useful for mitigating container breakout vulnerabilities even allowing users to run their containers as root without actually having root privileges on the host. This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature." + }, + "hostname": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value." + }, + "imagePullSecrets": { + "type": { + "$ref": "#/158" + }, + "flags": 0, + "description": "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod" + }, + "initContainers": { + "type": { + "$ref": "#/159" + }, + "flags": 0, + "description": "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/" + }, + "nodeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements." + }, + "nodeSelector": { + "type": { + "$ref": "#/160" + }, + "flags": 0, + "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/" + }, + "os": { + "type": { + "$ref": "#/161" + }, + "flags": 0, + "description": "PodOS defines the OS parameters of a pod." + }, + "overhead": { + "type": { + "$ref": "#/162" + }, + "flags": 0, + "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md" + }, + "preemptionPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset." + }, + "priority": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority." + }, + "priorityClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default." + }, + "readinessGates": { + "type": { + "$ref": "#/164" + }, + "flags": 0, + "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/580-pod-readiness-gates" + }, + "restartPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy" + }, + "runtimeClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class" + }, + "schedulerName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler." + }, + "securityContext": { + "type": { + "$ref": "#/165" + }, + "flags": 0, + "description": "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext." + }, + "serviceAccount": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead." + }, + "serviceAccountName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/" + }, + "setHostnameAsFQDN": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false." + }, + "shareProcessNamespace": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false." + }, + "subdomain": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all." + }, + "terminationGracePeriodSeconds": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds." + }, + "tolerations": { + "type": { + "$ref": "#/170" + }, + "flags": 0, + "description": "If specified, the pod's tolerations." + }, + "topologySpreadConstraints": { + "type": { + "$ref": "#/173" + }, + "flags": 0, + "description": "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed." + }, + "volumes": { + "type": { + "$ref": "#/234" + }, + "flags": 0, + "description": "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Affinity", + "properties": { + "nodeAffinity": { + "type": { + "$ref": "#/83" + }, + "flags": 0, + "description": "Node affinity is a group of node affinity scheduling rules." + }, + "podAffinity": { + "type": { + "$ref": "#/93" + }, + "flags": 0, + "description": "Pod affinity is a group of inter pod affinity scheduling rules." + }, + "podAntiAffinity": { + "type": { + "$ref": "#/99" + }, + "flags": 0, + "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeAffinity", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/90" + }, + "flags": 0, + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred." + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/91" + }, + "flags": 0, + "description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PreferredSchedulingTerm", + "properties": { + "preference": { + "type": { + "$ref": "#/85" + }, + "flags": 1, + "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm." + }, + "weight": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelectorTerm", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/88" + }, + "flags": 0, + "description": "A list of node selector requirements by node's labels." + }, + "matchFields": { + "type": { + "$ref": "#/89" + }, + "flags": 0, + "description": "A list of node selector requirements by node's fields." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + }, + "values": { + "type": { + "$ref": "#/87" + }, + "flags": 0, + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/86" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/86" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/84" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelector", + "properties": { + "nodeSelectorTerms": { + "type": { + "$ref": "#/92" + }, + "flags": 1, + "description": "Required. A list of node selector terms. The terms are ORed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/85" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodAffinity", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/97" + }, + "flags": 0, + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred." + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/98" + }, + "flags": 0, + "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1WeightedPodAffinityTerm", + "properties": { + "podAffinityTerm": { + "type": { + "$ref": "#/95" + }, + "flags": 1, + "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running" + }, + "weight": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodAffinityTerm", + "properties": { + "labelSelector": { + "type": { + "$ref": "#/63" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "namespaceSelector": { + "type": { + "$ref": "#/63" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "namespaces": { + "type": { + "$ref": "#/96" + }, + "flags": 0, + "description": "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\"." + }, + "topologyKey": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/94" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/95" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodAntiAffinity", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/100" + }, + "flags": 0, + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred." + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/101" + }, + "flags": 0, + "description": "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/94" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/95" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Container", + "properties": { + "args": { + "type": { + "$ref": "#/103" + }, + "flags": 0, + "description": "Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "command": { + "type": { + "$ref": "#/104" + }, + "flags": 0, + "description": "Entrypoint array. Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "env": { + "type": { + "$ref": "#/111" + }, + "flags": 0, + "description": "List of environment variables to set in the container. Cannot be updated." + }, + "envFrom": { + "type": { + "$ref": "#/115" + }, + "flags": 0, + "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated." + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets." + }, + "imagePullPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images" + }, + "lifecycle": { + "type": { + "$ref": "#/116" + }, + "flags": 0, + "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted." + }, + "livenessProbe": { + "type": { + "$ref": "#/124" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated." + }, + "ports": { + "type": { + "$ref": "#/127" + }, + "flags": 0, + "description": "List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated." + }, + "readinessProbe": { + "type": { + "$ref": "#/124" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "resources": { + "type": { + "$ref": "#/60" + }, + "flags": 0, + "description": "ResourceRequirements describes the compute resource requirements." + }, + "securityContext": { + "type": { + "$ref": "#/128" + }, + "flags": 0, + "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence." + }, + "startupProbe": { + "type": { + "$ref": "#/124" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "stdin": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false." + }, + "stdinOnce": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false" + }, + "terminationMessagePath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated." + }, + "terminationMessagePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated." + }, + "tty": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false." + }, + "volumeDevices": { + "type": { + "$ref": "#/136" + }, + "flags": 0, + "description": "volumeDevices is the list of block devices to be used by the container." + }, + "volumeMounts": { + "type": { + "$ref": "#/138" + }, + "flags": 0, + "description": "Pod volumes to mount into the container's filesystem. Cannot be updated." + }, + "workingDir": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EnvVar", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the environment variable. Must be a C_IDENTIFIER." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\"." + }, + "valueFrom": { + "type": { + "$ref": "#/106" + }, + "flags": 0, + "description": "EnvVarSource represents a source for the value of an EnvVar." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EnvVarSource", + "properties": { + "configMapKeyRef": { + "type": { + "$ref": "#/107" + }, + "flags": 0, + "description": "Selects a key from a ConfigMap." + }, + "fieldRef": { + "type": { + "$ref": "#/108" + }, + "flags": 0, + "description": "ObjectFieldSelector selects an APIVersioned field of an object." + }, + "resourceFieldRef": { + "type": { + "$ref": "#/109" + }, + "flags": 0, + "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format" + }, + "secretKeyRef": { + "type": { + "$ref": "#/110" + }, + "flags": 0, + "description": "SecretKeySelector selects a key of a Secret." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapKeySelector", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The key to select." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Specify whether the ConfigMap or its key must be defined" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ObjectFieldSelector", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." + }, + "fieldPath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path of the field to select in the specified API version." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceFieldSelector", + "properties": { + "containerName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container name: required for volumes, optional for env vars" + }, + "divisor": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + }, + "resource": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Required: resource to select" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretKeySelector", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The key of the secret to select from. Must be a valid secret key." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Specify whether the Secret or its key must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/105" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EnvFromSource", + "properties": { + "configMapRef": { + "type": { + "$ref": "#/113" + }, + "flags": 0, + "description": "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables." + }, + "prefix": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER." + }, + "secretRef": { + "type": { + "$ref": "#/114" + }, + "flags": 0, + "description": "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapEnvSource", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Specify whether the ConfigMap must be defined" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretEnvSource", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Specify whether the Secret must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/112" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Lifecycle", + "properties": { + "postStart": { + "type": { + "$ref": "#/117" + }, + "flags": 0, + "description": "LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified." + }, + "preStop": { + "type": { + "$ref": "#/117" + }, + "flags": 0, + "description": "LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LifecycleHandler", + "properties": { + "exec": { + "type": { + "$ref": "#/118" + }, + "flags": 0, + "description": "ExecAction describes a \"run in container\" action." + }, + "httpGet": { + "type": { + "$ref": "#/120" + }, + "flags": 0, + "description": "HTTPGetAction describes an action based on HTTP Get requests." + }, + "tcpSocket": { + "type": { + "$ref": "#/123" + }, + "flags": 0, + "description": "TCPSocketAction describes an action based on opening a socket" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ExecAction", + "properties": { + "command": { + "type": { + "$ref": "#/119" + }, + "flags": 0, + "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HttpGetAction", + "properties": { + "host": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead." + }, + "httpHeaders": { + "type": { + "$ref": "#/122" + }, + "flags": 0, + "description": "Custom headers to set in the request. HTTP allows repeated headers." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Path to access on the HTTP server." + }, + "port": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + }, + "scheme": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Scheme to use for connecting to the host. Defaults to HTTP." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HttpHeader", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The header field name" + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The header field value" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/121" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TCPSocketAction", + "properties": { + "host": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Host name to connect to, defaults to the pod IP." + }, + "port": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Probe", + "properties": { + "exec": { + "type": { + "$ref": "#/118" + }, + "flags": 0, + "description": "ExecAction describes a \"run in container\" action." + }, + "failureThreshold": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." + }, + "grpc": { + "type": { + "$ref": "#/125" + }, + "flags": 0 + }, + "httpGet": { + "type": { + "$ref": "#/120" + }, + "flags": 0, + "description": "HTTPGetAction describes an action based on HTTP Get requests." + }, + "initialDelaySeconds": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + }, + "periodSeconds": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." + }, + "successThreshold": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1." + }, + "tcpSocket": { + "type": { + "$ref": "#/123" + }, + "flags": 0, + "description": "TCPSocketAction describes an action based on opening a socket" + }, + "terminationGracePeriodSeconds": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset." + }, + "timeoutSeconds": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GrpcAction", + "properties": { + "port": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535." + }, + "service": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ContainerPort", + "properties": { + "containerPort": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536." + }, + "hostIP": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "What host IP to bind the external port to." + }, + "hostPort": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services." + }, + "protocol": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\"." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/126" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecurityContext", + "properties": { + "allowPrivilegeEscalation": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows." + }, + "capabilities": { + "type": { + "$ref": "#/129" + }, + "flags": 0, + "description": "Adds and removes POSIX capabilities from running containers." + }, + "privileged": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows." + }, + "procMount": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows." + }, + "readOnlyRootFilesystem": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows." + }, + "runAsGroup": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows." + }, + "runAsNonRoot": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + }, + "runAsUser": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows." + }, + "seLinuxOptions": { + "type": { + "$ref": "#/132" + }, + "flags": 0, + "description": "SELinuxOptions are the labels to be applied to the container" + }, + "seccompProfile": { + "type": { + "$ref": "#/133" + }, + "flags": 0, + "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set." + }, + "windowsOptions": { + "type": { + "$ref": "#/134" + }, + "flags": 0, + "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Capabilities", + "properties": { + "add": { + "type": { + "$ref": "#/130" + }, + "flags": 0, + "description": "Added capabilities" + }, + "drop": { + "type": { + "$ref": "#/131" + }, + "flags": 0, + "description": "Removed capabilities" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SELinuxOptions", + "properties": { + "level": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Level is SELinux level label that applies to the container." + }, + "role": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Role is a SELinux role label that applies to the container." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Type is a SELinux type label that applies to the container." + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "User is a SELinux user label that applies to the container." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SeccompProfile", + "properties": { + "localhostProfile": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is \"Localhost\"." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1WindowsSecurityContextOptions", + "properties": { + "gmsaCredentialSpec": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field." + }, + "gmsaCredentialSpecName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use." + }, + "hostProcess": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "HostProcess determines if a container should be run as a 'Host Process' container. This field is alpha-level and will only be honored by components that enable the WindowsHostProcessContainers feature flag. Setting this field without the feature flag will result in errors when validating the Pod. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true." + }, + "runAsUserName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeDevice", + "properties": { + "devicePath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "devicePath is the path inside of the container that the device will be mapped to." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name must match the name of a persistentVolumeClaim in the pod" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/135" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeMount", + "properties": { + "mountPath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path within the container at which the volume should be mounted. Must not contain ':'." + }, + "mountPropagation": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "This must match the Name of a Volume." + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false." + }, + "subPath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root)." + }, + "subPathExpr": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/137" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/102" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodDNSConfig", + "properties": { + "nameservers": { + "type": { + "$ref": "#/141" + }, + "flags": 0, + "description": "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed." + }, + "options": { + "type": { + "$ref": "#/143" + }, + "flags": 0, + "description": "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy." + }, + "searches": { + "type": { + "$ref": "#/144" + }, + "flags": 0, + "description": "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodDNSConfigOption", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Required." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/142" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EphemeralContainer", + "properties": { + "args": { + "type": { + "$ref": "#/146" + }, + "flags": 0, + "description": "Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "command": { + "type": { + "$ref": "#/147" + }, + "flags": 0, + "description": "Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "env": { + "type": { + "$ref": "#/148" + }, + "flags": 0, + "description": "List of environment variables to set in the container. Cannot be updated." + }, + "envFrom": { + "type": { + "$ref": "#/149" + }, + "flags": 0, + "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated." + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container image name. More info: https://kubernetes.io/docs/concepts/containers/images" + }, + "imagePullPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images" + }, + "lifecycle": { + "type": { + "$ref": "#/116" + }, + "flags": 0, + "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted." + }, + "livenessProbe": { + "type": { + "$ref": "#/124" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers." + }, + "ports": { + "type": { + "$ref": "#/150" + }, + "flags": 0, + "description": "Ports are not allowed for ephemeral containers." + }, + "readinessProbe": { + "type": { + "$ref": "#/124" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "resources": { + "type": { + "$ref": "#/60" + }, + "flags": 0, + "description": "ResourceRequirements describes the compute resource requirements." + }, + "securityContext": { + "type": { + "$ref": "#/128" + }, + "flags": 0, + "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence." + }, + "startupProbe": { + "type": { + "$ref": "#/124" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "stdin": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false." + }, + "stdinOnce": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false" + }, + "targetContainerName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container uses the namespaces configured in the Pod spec.\n\nThe container runtime must implement support for this feature. If the runtime does not support namespace targeting then the result of setting this field is undefined." + }, + "terminationMessagePath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated." + }, + "terminationMessagePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated." + }, + "tty": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false." + }, + "volumeDevices": { + "type": { + "$ref": "#/151" + }, + "flags": 0, + "description": "volumeDevices is the list of block devices to be used by the container." + }, + "volumeMounts": { + "type": { + "$ref": "#/152" + }, + "flags": 0, + "description": "Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated." + }, + "workingDir": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/105" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/112" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/126" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/135" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/137" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/145" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HostAlias", + "properties": { + "hostnames": { + "type": { + "$ref": "#/155" + }, + "flags": 0, + "description": "Hostnames for the above IP address." + }, + "ip": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IP address of the host file entry." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/154" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LocalObjectReference", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/157" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/102" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSpecNodeSelector", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodOS", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the name of the operating system. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSpecOverhead", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodReadinessGate", + "properties": { + "conditionType": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "ConditionType refers to a condition in the pod's condition list with matching type." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/163" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSecurityContext", + "properties": { + "fsGroup": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name is windows." + }, + "fsGroupChangePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used. Note that this field cannot be set when spec.os.name is windows." + }, + "runAsGroup": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows." + }, + "runAsNonRoot": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + }, + "runAsUser": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows." + }, + "seLinuxOptions": { + "type": { + "$ref": "#/132" + }, + "flags": 0, + "description": "SELinuxOptions are the labels to be applied to the container" + }, + "seccompProfile": { + "type": { + "$ref": "#/133" + }, + "flags": 0, + "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set." + }, + "supplementalGroups": { + "type": { + "$ref": "#/166" + }, + "flags": 0, + "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container. Note that this field cannot be set when spec.os.name is windows." + }, + "sysctls": { + "type": { + "$ref": "#/168" + }, + "flags": 0, + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows." + }, + "windowsOptions": { + "type": { + "$ref": "#/134" + }, + "flags": 0, + "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/23" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Sysctl", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of a property to set" + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Value of a property to set" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/167" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Toleration", + "properties": { + "effect": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute." + }, + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category." + }, + "tolerationSeconds": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/169" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TopologySpreadConstraint", + "properties": { + "labelSelector": { + "type": { + "$ref": "#/63" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "matchLabelKeys": { + "type": { + "$ref": "#/172" + }, + "flags": 0, + "description": "MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector." + }, + "maxSkew": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. The global minimum is the minimum number of matching pods in an eligible domain or zero if the number of eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | | P P | P P | P | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed." + }, + "minDomains": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "MinDomains indicates a minimum number of eligible domains. When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number of eligible domains is less than minDomains, scheduler won't schedule more than maxSkew Pods to those domains. If value is nil, the constraint behaves as if MinDomains is equal to 1. Valid values are integers greater than 0. When value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same labelSelector spread as 2/2/2: | zone1 | zone2 | zone3 | | P P | P P | P P | The number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0. In this situation, new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will violate MaxSkew.\n\nThis is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default)." + }, + "nodeAffinityPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\nIf this value is nil, the behavior is equivalent to the Honor policy. This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread feature flag." + }, + "nodeTaintsPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included.\n\nIf this value is nil, the behavior is equivalent to the Ignore policy. This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread feature flag." + }, + "topologyKey": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. We define a domain as a particular instance of a topology. Also, we define an eligible domain as a domain whose nodes meet the requirements of nodeAffinityPolicy and nodeTaintsPolicy. e.g. If TopologyKey is \"kubernetes.io/hostname\", each Node is a domain of that topology. And, if TopologyKey is \"topology.kubernetes.io/zone\", each zone is a domain of that topology. It's a required field." + }, + "whenUnsatisfiable": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assignment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/171" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Volume", + "properties": { + "awsElasticBlockStore": { + "type": { + "$ref": "#/175" + }, + "flags": 0, + "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling." + }, + "azureDisk": { + "type": { + "$ref": "#/176" + }, + "flags": 0, + "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." + }, + "azureFile": { + "type": { + "$ref": "#/177" + }, + "flags": 0, + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod." + }, + "cephfs": { + "type": { + "$ref": "#/178" + }, + "flags": 0, + "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling." + }, + "cinder": { + "type": { + "$ref": "#/180" + }, + "flags": 0, + "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling." + }, + "configMap": { + "type": { + "$ref": "#/181" + }, + "flags": 0, + "description": "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling." + }, + "csi": { + "type": { + "$ref": "#/184" + }, + "flags": 0, + "description": "Represents a source location of a volume to mount, managed by an external CSI driver" + }, + "downwardAPI": { + "type": { + "$ref": "#/186" + }, + "flags": 0, + "description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling." + }, + "emptyDir": { + "type": { + "$ref": "#/189" + }, + "flags": 0, + "description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling." + }, + "ephemeral": { + "type": { + "$ref": "#/190" + }, + "flags": 0, + "description": "Represents an ephemeral volume that is handled by a normal storage driver." + }, + "fc": { + "type": { + "$ref": "#/200" + }, + "flags": 0, + "description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling." + }, + "flexVolume": { + "type": { + "$ref": "#/203" + }, + "flags": 0, + "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin." + }, + "flocker": { + "type": { + "$ref": "#/205" + }, + "flags": 0, + "description": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling." + }, + "gcePersistentDisk": { + "type": { + "$ref": "#/206" + }, + "flags": 0, + "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling." + }, + "gitRepo": { + "type": { + "$ref": "#/207" + }, + "flags": 0, + "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container." + }, + "glusterfs": { + "type": { + "$ref": "#/208" + }, + "flags": 0, + "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling." + }, + "hostPath": { + "type": { + "$ref": "#/209" + }, + "flags": 0, + "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling." + }, + "iscsi": { + "type": { + "$ref": "#/210" + }, + "flags": 0, + "description": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "nfs": { + "type": { + "$ref": "#/212" + }, + "flags": 0, + "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling." + }, + "persistentVolumeClaim": { + "type": { + "$ref": "#/213" + }, + "flags": 0, + "description": "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system)." + }, + "photonPersistentDisk": { + "type": { + "$ref": "#/214" + }, + "flags": 0, + "description": "Represents a Photon Controller persistent disk resource." + }, + "portworxVolume": { + "type": { + "$ref": "#/215" + }, + "flags": 0, + "description": "PortworxVolumeSource represents a Portworx volume resource." + }, + "projected": { + "type": { + "$ref": "#/216" + }, + "flags": 0, + "description": "Represents a projected volume source" + }, + "quobyte": { + "type": { + "$ref": "#/226" + }, + "flags": 0, + "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling." + }, + "rbd": { + "type": { + "$ref": "#/227" + }, + "flags": 0, + "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling." + }, + "scaleIO": { + "type": { + "$ref": "#/229" + }, + "flags": 0, + "description": "ScaleIOVolumeSource represents a persistent ScaleIO volume" + }, + "secret": { + "type": { + "$ref": "#/230" + }, + "flags": 0, + "description": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling." + }, + "storageos": { + "type": { + "$ref": "#/232" + }, + "flags": 0, + "description": "Represents a StorageOS persistent volume resource." + }, + "vsphereVolume": { + "type": { + "$ref": "#/233" + }, + "flags": 0, + "description": "Represents a vSphere volume resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AWSElasticBlockStoreVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + }, + "partition": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty)." + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AzureDiskVolumeSource", + "properties": { + "cachingMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "cachingMode is the Host Caching mode: None, Read Only, Read Write." + }, + "diskName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "diskName is the Name of the data disk in the blob storage" + }, + "diskURI": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "diskURI is the URI of data disk in the blob storage" + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AzureFileVolumeSource", + "properties": { + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "secretName is the name of secret that contains Azure Storage Account Name and Key" + }, + "shareName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "shareName is the azure share Name" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CephFSVolumeSource", + "properties": { + "monitors": { + "type": { + "$ref": "#/179" + }, + "flags": 1, + "description": "monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "secretFile": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "secretRef": { + "type": { + "$ref": "#/157" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "user is optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CinderVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + }, + "secretRef": { + "type": { + "$ref": "#/157" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "items": { + "type": { + "$ref": "#/183" + }, + "flags": 0, + "description": "items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "optional specify whether the ConfigMap or its keys must be defined" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1KeyToPath", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the key to project." + }, + "mode": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/182" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CSIVolumeSource", + "properties": { + "driver": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster." + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply." + }, + "nodePublishSecretRef": { + "type": { + "$ref": "#/157" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly specifies a read-only configuration for the volume. Defaults to false (read/write)." + }, + "volumeAttributes": { + "type": { + "$ref": "#/185" + }, + "flags": 0, + "description": "volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CSIVolumeSourceVolumeAttributes", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1DownwardAPIVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "items": { + "type": { + "$ref": "#/188" + }, + "flags": 0, + "description": "Items is a list of downward API volume file" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1DownwardAPIVolumeFile", + "properties": { + "fieldRef": { + "type": { + "$ref": "#/108" + }, + "flags": 0, + "description": "ObjectFieldSelector selects an APIVersioned field of an object." + }, + "mode": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'" + }, + "resourceFieldRef": { + "type": { + "$ref": "#/109" + }, + "flags": 0, + "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/187" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EmptyDirVolumeSource", + "properties": { + "medium": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "medium represents what type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir" + }, + "sizeLimit": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EphemeralVolumeSource", + "properties": { + "volumeClaimTemplate": { + "type": { + "$ref": "#/191" + }, + "flags": 0, + "description": "PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimTemplate", + "properties": { + "metadata": { + "type": { + "$ref": "#/192" + }, + "flags": 0, + "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create." + }, + "spec": { + "type": { + "$ref": "#/57" + }, + "flags": 1, + "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ObjectMeta", + "properties": { + "annotations": { + "type": { + "$ref": "#/193" + }, + "flags": 0, + "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations" + }, + "creationTimestamp": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "deletionGracePeriodSeconds": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only." + }, + "deletionTimestamp": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "finalizers": { + "type": { + "$ref": "#/194" + }, + "flags": 0, + "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list." + }, + "generateName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will return a 409.\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency" + }, + "generation": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only." + }, + "labels": { + "type": { + "$ref": "#/195" + }, + "flags": 0, + "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels" + }, + "managedFields": { + "type": { + "$ref": "#/197" + }, + "flags": 0, + "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces" + }, + "ownerReferences": { + "type": { + "$ref": "#/199" + }, + "flags": 0, + "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller." + }, + "resourceVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + }, + "selfLink": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system." + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ObjectMetaAnnotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ObjectMetaLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ManagedFieldsEntry", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted." + }, + "fieldsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"" + }, + "fieldsV1": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "Any object" + }, + "manager": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Manager is an identifier of the workflow managing these fields." + }, + "operation": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'." + }, + "subresource": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource." + }, + "time": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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": "ArrayType", + "itemType": { + "$ref": "#/196" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1OwnerReference", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "API version of the referent." + }, + "blockOwnerDeletion": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned." + }, + "controller": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "If true, this reference points to the managing controller." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names" + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/198" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FCVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "lun": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "lun is Optional: FC target lun number" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "targetWWNs": { + "type": { + "$ref": "#/201" + }, + "flags": 0, + "description": "targetWWNs is Optional: FC target worldwide names (WWNs)" + }, + "wwids": { + "type": { + "$ref": "#/202" + }, + "flags": 0, + "description": "wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlexVolumeSource", + "properties": { + "driver": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "driver is the name of the driver to use for this volume." + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script." + }, + "options": { + "type": { + "$ref": "#/204" + }, + "flags": 0, + "description": "options is Optional: this field holds extra command options if any." + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/157" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlexVolumeSourceOptions", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlockerVolumeSource", + "properties": { + "datasetName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated" + }, + "datasetUUID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GCEPersistentDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "partition": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "pdName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GitRepoVolumeSource", + "properties": { + "directory": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name." + }, + "repository": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "repository is the URL" + }, + "revision": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "revision is the commit hash for the specified revision." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GlusterfsVolumeSource", + "properties": { + "endpoints": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HostPathVolumeSource", + "properties": { + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1IscsiVolumeSource", + "properties": { + "chapAuthDiscovery": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication" + }, + "chapAuthSession": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "chapAuthSession defines whether support iSCSI Session CHAP authentication" + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi" + }, + "initiatorName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection." + }, + "iqn": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "iqn is the target iSCSI Qualified Name." + }, + "iscsiInterface": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)." + }, + "lun": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "lun represents iSCSI Target Lun number." + }, + "portals": { + "type": { + "$ref": "#/211" + }, + "flags": 0, + "description": "portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)." + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false." + }, + "secretRef": { + "type": { + "$ref": "#/157" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "targetPortal": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NFSVolumeSource", + "properties": { + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + }, + "server": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimVolumeSource", + "properties": { + "claimName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly Will force the ReadOnly setting in VolumeMounts. Default false." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PhotonPersistentDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "pdID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "pdID is the ID that identifies Photon Controller persistent disk" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PortworxVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volumeID uniquely identifies a Portworx volume" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ProjectedVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "sources": { + "type": { + "$ref": "#/225" + }, + "flags": 0, + "description": "sources is the list of volume projections" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeProjection", + "properties": { + "configMap": { + "type": { + "$ref": "#/218" + }, + "flags": 0, + "description": "Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode." + }, + "downwardAPI": { + "type": { + "$ref": "#/220" + }, + "flags": 0, + "description": "Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode." + }, + "secret": { + "type": { + "$ref": "#/222" + }, + "flags": 0, + "description": "Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode." + }, + "serviceAccountToken": { + "type": { + "$ref": "#/224" + }, + "flags": 0, + "description": "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise)." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapProjection", + "properties": { + "items": { + "type": { + "$ref": "#/219" + }, + "flags": 0, + "description": "items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "optional specify whether the ConfigMap or its keys must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/182" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1DownwardAPIProjection", + "properties": { + "items": { + "type": { + "$ref": "#/221" + }, + "flags": 0, + "description": "Items is a list of DownwardAPIVolume file" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/187" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretProjection", + "properties": { + "items": { + "type": { + "$ref": "#/223" + }, + "flags": 0, + "description": "items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "optional field specify whether the Secret or its key must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/182" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ServiceAccountTokenProjection", + "properties": { + "audience": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver." + }, + "expirationSeconds": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "expirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "path is the path relative to the mount point of the file to project the token into." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/217" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1QuobyteVolumeSource", + "properties": { + "group": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "group to map volume access to Default is no group" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false." + }, + "registry": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes" + }, + "tenant": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin" + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "user to map volume access to Defaults to serivceaccount user" + }, + "volume": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volume is a string that references an already created Quobyte volume by name." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1RBDVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd" + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "keyring": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "monitors": { + "type": { + "$ref": "#/228" + }, + "flags": 1, + "description": "monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "pool": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "secretRef": { + "type": { + "$ref": "#/157" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ScaleIOVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"." + }, + "gateway": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "gateway is the host address of the ScaleIO API Gateway." + }, + "protectionDomain": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "protectionDomain is the name of the ScaleIO Protection Domain for the configured storage." + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/157" + }, + "flags": 1, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "sslEnabled": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "sslEnabled Flag enable/disable SSL communication with Gateway, default false" + }, + "storageMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned." + }, + "storagePool": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "storagePool is the ScaleIO Storage Pool associated with the protection domain." + }, + "system": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "system is the name of the storage system as configured in ScaleIO." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "items": { + "type": { + "$ref": "#/231" + }, + "flags": 0, + "description": "items If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "optional": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "optional field specify whether the Secret or its keys must be defined" + }, + "secretName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "secretName is the name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/182" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1StorageOSVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/157" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace." + }, + "volumeNamespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VsphereVirtualDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "storagePolicyID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName." + }, + "storagePolicyName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "storagePolicyName is the storage Policy Based Management (SPBM) profile name." + }, + "volumePath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volumePath is the path that identifies vSphere volume vmdk" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/174" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodStatus", + "properties": { + "conditions": { + "type": { + "$ref": "#/237" + }, + "flags": 0, + "description": "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions" + }, + "containerStatuses": { + "type": { + "$ref": "#/243" + }, + "flags": 0, + "description": "The list has one entry per container in the manifest. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status" + }, + "ephemeralContainerStatuses": { + "type": { + "$ref": "#/244" + }, + "flags": 0, + "description": "Status for any ephemeral containers that have run in this pod." + }, + "hostIP": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IP address of the host to which the pod is assigned. Empty if not yet scheduled." + }, + "initContainerStatuses": { + "type": { + "$ref": "#/245" + }, + "flags": 0, + "description": "The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status" + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "A human readable message indicating details about why the pod is in this condition." + }, + "nominatedNodeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled." + }, + "phase": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values:\n\nPending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod.\n\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase" + }, + "podIP": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated." + }, + "podIPs": { + "type": { + "$ref": "#/247" + }, + "flags": 0, + "description": "podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet." + }, + "qosClass": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md" + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'" + }, + "startTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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": "ObjectType", + "name": "IoK8SApiCoreV1PodCondition", + "properties": { + "lastProbeTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Human-readable message indicating details about last transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Unique, one-word, CamelCase reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions" + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/236" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ContainerStatus", + "properties": { + "containerID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container's ID in the format '://'." + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images." + }, + "imageID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "ImageID of the container's image." + }, + "lastState": { + "type": { + "$ref": "#/239" + }, + "flags": 0, + "description": "ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated." + }, + "ready": { + "type": { + "$ref": "#/9" + }, + "flags": 1, + "description": "Specifies whether the container has passed its readiness probe." + }, + "restartCount": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "The number of times the container has been restarted." + }, + "started": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Specifies whether the container has passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. Is always true when no startupProbe is defined." + }, + "state": { + "type": { + "$ref": "#/239" + }, + "flags": 0, + "description": "ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ContainerState", + "properties": { + "running": { + "type": { + "$ref": "#/240" + }, + "flags": 0, + "description": "ContainerStateRunning is a running state of a container." + }, + "terminated": { + "type": { + "$ref": "#/241" + }, + "flags": 0, + "description": "ContainerStateTerminated is a terminated state of a container." + }, + "waiting": { + "type": { + "$ref": "#/242" + }, + "flags": 0, + "description": "ContainerStateWaiting is a waiting state of a container." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ContainerStateRunning", + "properties": { + "startedAt": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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": "ObjectType", + "name": "IoK8SApiCoreV1ContainerStateTerminated", + "properties": { + "containerID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container's ID in the format '://'" + }, + "exitCode": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "Exit status from the last termination of the container" + }, + "finishedAt": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Message regarding the last termination of the container" + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "(brief) reason from the last termination of the container" + }, + "signal": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Signal from the last termination of the container" + }, + "startedAt": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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": "ObjectType", + "name": "IoK8SApiCoreV1ContainerStateWaiting", + "properties": { + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Message regarding why the container is not yet running." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "(brief) reason the container is not yet running." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/238" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/238" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/238" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodIP", + "properties": { + "ip": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "ip is an IP address (IPv4 or IPv6) assigned to the pod" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/246" + } + }, + { + "$type": "ObjectType", + "name": "core/Pod", + "properties": { + "kind": { + "type": { + "$ref": "#/76" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/77" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/80" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/81" + }, + "flags": 0, + "description": "PodSpec is a description of a pod." + }, + "status": { + "type": { + "$ref": "#/235" + }, + "flags": 0, + "description": "PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane." + } + } + }, + { + "$type": "ResourceType", + "name": "core/Pod@v1", + "scopeType": 0, + "body": { + "$ref": "#/248" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "PodTemplate" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/252" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/253" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodTemplateSpec", + "properties": { + "metadata": { + "type": { + "$ref": "#/192" + }, + "flags": 0, + "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create." + }, + "spec": { + "type": { + "$ref": "#/81" + }, + "flags": 0, + "description": "PodSpec is a description of a pod." + } + } + }, + { + "$type": "ObjectType", + "name": "core/PodTemplate", + "properties": { + "kind": { + "type": { + "$ref": "#/250" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/251" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/254" + }, + "flags": 1, + "description": "The resource metadata." + }, + "template": { + "type": { + "$ref": "#/255" + }, + "flags": 0, + "description": "PodTemplateSpec describes the data a pod should have when created from a template" + } + } + }, + { + "$type": "ResourceType", + "name": "core/PodTemplate@v1", + "scopeType": 0, + "body": { + "$ref": "#/256" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "ReplicationController" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/260" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/261" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ReplicationControllerSpec", + "properties": { + "minReadySeconds": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "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)" + }, + "replicas": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "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" + }, + "selector": { + "type": { + "$ref": "#/264" + }, + "flags": 0, + "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" + }, + "template": { + "type": { + "$ref": "#/255" + }, + "flags": 0, + "description": "PodTemplateSpec describes the data a pod should have when created from a template" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ReplicationControllerSpecSelector", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ReplicationControllerStatus", + "properties": { + "availableReplicas": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller." + }, + "conditions": { + "type": { + "$ref": "#/267" + }, + "flags": 0, + "description": "Represents the latest available observations of a replication controller's current state." + }, + "fullyLabeledReplicas": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "The number of pods that have labels matching the labels of the pod template of the replication controller." + }, + "observedGeneration": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "ObservedGeneration reflects the generation of the most recently observed replication controller." + }, + "readyReplicas": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "The number of ready replicas for this replication controller." + }, + "replicas": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "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": "ObjectType", + "name": "IoK8SApiCoreV1ReplicationControllerCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "A human readable message indicating details about the transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Status of the condition, one of True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type of replication controller condition." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/266" + } + }, + { + "$type": "ObjectType", + "name": "core/ReplicationController", + "properties": { + "kind": { + "type": { + "$ref": "#/258" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/259" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/262" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/263" + }, + "flags": 0, + "description": "ReplicationControllerSpec is the specification of a replication controller." + }, + "status": { + "type": { + "$ref": "#/265" + }, + "flags": 0, + "description": "ReplicationControllerStatus represents the current status of a replication controller." + } + } + }, + { + "$type": "ResourceType", + "name": "core/ReplicationController@v1", + "scopeType": 0, + "body": { + "$ref": "#/268" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "ResourceQuota" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/272" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/273" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceQuotaSpec", + "properties": { + "hard": { + "type": { + "$ref": "#/276" + }, + "flags": 0, + "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/" + }, + "scopeSelector": { + "type": { + "$ref": "#/277" + }, + "flags": 0, + "description": "A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements." + }, + "scopes": { + "type": { + "$ref": "#/281" + }, + "flags": 0, + "description": "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceQuotaSpecHard", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ScopeSelector", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/280" + }, + "flags": 0, + "description": "A list of scope selector requirements by scope of the resources." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ScopedResourceSelectorRequirement", + "properties": { + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist." + }, + "scopeName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The name of the scope that the selector applies to." + }, + "values": { + "type": { + "$ref": "#/279" + }, + "flags": 0, + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/278" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceQuotaStatus", + "properties": { + "hard": { + "type": { + "$ref": "#/283" + }, + "flags": 0, + "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/" + }, + "used": { + "type": { + "$ref": "#/284" + }, + "flags": 0, + "description": "Used is the current observed total usage of the resource in the namespace." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceQuotaStatusHard", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceQuotaStatusUsed", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "core/ResourceQuota", + "properties": { + "kind": { + "type": { + "$ref": "#/270" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/271" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/274" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/275" + }, + "flags": 0, + "description": "ResourceQuotaSpec defines the desired hard limits to enforce for Quota." + }, + "status": { + "type": { + "$ref": "#/282" + }, + "flags": 0, + "description": "ResourceQuotaStatus defines the enforced hard limits and observed use." + } + } + }, + { + "$type": "ResourceType", + "name": "core/ResourceQuota@v1", + "scopeType": 0, + "body": { + "$ref": "#/285" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "Secret" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/289" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/290" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretData", + "properties": {}, + "additionalProperties": { + "$ref": "#/6" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretStringData", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "core/Secret", + "properties": { + "kind": { + "type": { + "$ref": "#/287" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/288" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/291" + }, + "flags": 1, + "description": "The resource metadata." + }, + "data": { + "type": { + "$ref": "#/292" + }, + "flags": 0, + "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" + }, + "immutable": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil." + }, + "stringData": { + "type": { + "$ref": "#/293" + }, + "flags": 0, + "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types" + } + } + }, + { + "$type": "ResourceType", + "name": "core/Secret@v1", + "scopeType": 0, + "body": { + "$ref": "#/294" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "ServiceAccount" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/298" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/299" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/157" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/19" + } + }, + { + "$type": "ObjectType", + "name": "core/ServiceAccount", + "properties": { + "kind": { + "type": { + "$ref": "#/296" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/297" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/300" + }, + "flags": 1, + "description": "The resource metadata." + }, + "automountServiceAccountToken": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level." + }, + "imagePullSecrets": { + "type": { + "$ref": "#/301" + }, + "flags": 0, + "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" + }, + "secrets": { + "type": { + "$ref": "#/302" + }, + "flags": 0, + "description": "Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a \"kubernetes.io/enforce-mountable-secrets\" annotation set to \"true\". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret" + } + } + }, + { + "$type": "ResourceType", + "name": "core/ServiceAccount@v1", + "scopeType": 0, + "body": { + "$ref": "#/303" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "Service" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/307" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/308" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ServiceSpec", + "properties": { + "allocateLoadBalancerNodePorts": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "allocateLoadBalancerNodePorts defines if NodePorts will be automatically allocated for services with type LoadBalancer. Default is \"true\". It may be set to \"false\" if the cluster load-balancer does not rely on NodePorts. If the caller requests specific NodePorts (by specifying a value), those requests will be respected, regardless of this field. This field may only be set for services with type LoadBalancer and will be cleared if the type is changed to any other type." + }, + "clusterIP": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "clusterIP is the IP address of the service and is usually assigned randomly. If an address is specified manually, is in-range (as per system configuration), and is not in use, it will be allocated to the service; otherwise creation of the service will fail. This field may not be changed through updates unless the type field is also being changed to ExternalName (which requires this field to be blank) or the type field is being changed from ExternalName (in which case this field may optionally be specified, as describe above). Valid values are \"None\", empty string (\"\"), or a valid IP address. Setting this to \"None\" makes a \"headless service\" (no virtual IP), which is useful when direct endpoint connections are preferred and proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. If this field is specified when creating a Service of type ExternalName, creation will fail. This field will be wiped when updating a Service to type ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies" + }, + "clusterIPs": { + "type": { + "$ref": "#/311" + }, + "flags": 0, + "description": "ClusterIPs is a list of IP addresses assigned to this service, and are usually assigned randomly. If an address is specified manually, is in-range (as per system configuration), and is not in use, it will be allocated to the service; otherwise creation of the service will fail. This field may not be changed through updates unless the type field is also being changed to ExternalName (which requires this field to be empty) or the type field is being changed from ExternalName (in which case this field may optionally be specified, as describe above). Valid values are \"None\", empty string (\"\"), or a valid IP address. Setting this to \"None\" makes a \"headless service\" (no virtual IP), which is useful when direct endpoint connections are preferred and proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. If this field is specified when creating a Service of type ExternalName, creation will fail. This field will be wiped when updating a Service to type ExternalName. If this field is not specified, it will be initialized from the clusterIP field. If this field is specified, clients must ensure that clusterIPs[0] and clusterIP have the same value.\n\nThis field may hold a maximum of two entries (dual-stack IPs, in either order). These IPs must correspond to the values of the ipFamilies field. Both clusterIPs and ipFamilies are governed by the ipFamilyPolicy field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies" + }, + "externalIPs": { + "type": { + "$ref": "#/312" + }, + "flags": 0, + "description": "externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system." + }, + "externalName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "externalName is the external reference that discovery mechanisms will return as an alias for this service (e.g. a DNS CNAME record). No proxying will be involved. Must be a lowercase RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires `type` to be \"ExternalName\"." + }, + "externalTrafficPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "externalTrafficPolicy describes how nodes distribute service traffic they receive on one of the Service's \"externally-facing\" addresses (NodePorts, ExternalIPs, and LoadBalancer IPs). If set to \"Local\", the proxy will configure the service in a way that assumes that external load balancers will take care of balancing the service traffic between nodes, and so each node will deliver traffic only to the node-local endpoints of the service, without masquerading the client source IP. (Traffic mistakenly sent to a node with no endpoints will be dropped.) The default value, \"Cluster\", uses the standard behavior of routing to all endpoints evenly (possibly modified by topology and other features). Note that traffic sent to an External IP or LoadBalancer IP from within the cluster will always get \"Cluster\" semantics, but clients sending to a NodePort from within the cluster may need to take traffic policy into account when picking a node." + }, + "healthCheckNodePort": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. This only applies when type is set to LoadBalancer and externalTrafficPolicy is set to Local. If a value is specified, is in-range, and is not in use, it will be used. If not specified, a value will be automatically allocated. External systems (e.g. load-balancers) can use this port to determine if a given node holds endpoints for this service or not. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type). This field cannot be updated once set." + }, + "internalTrafficPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "InternalTrafficPolicy describes how nodes distribute service traffic they receive on the ClusterIP. If set to \"Local\", the proxy will assume that pods only want to talk to endpoints of the service on the same node as the pod, dropping the traffic if there are no local endpoints. The default value, \"Cluster\", uses the standard behavior of routing to all endpoints evenly (possibly modified by topology and other features)." + }, + "ipFamilies": { + "type": { + "$ref": "#/313" + }, + "flags": 0, + "description": "IPFamilies is a list of IP families (e.g. IPv4, IPv6) assigned to this service. This field is usually assigned automatically based on cluster configuration and the ipFamilyPolicy field. If this field is specified manually, the requested family is available in the cluster, and ipFamilyPolicy allows it, it will be used; otherwise creation of the service will fail. This field is conditionally mutable: it allows for adding or removing a secondary IP family, but it does not allow changing the primary IP family of the Service. Valid values are \"IPv4\" and \"IPv6\". This field only applies to Services of types ClusterIP, NodePort, and LoadBalancer, and does apply to \"headless\" services. This field will be wiped when updating a Service to type ExternalName.\n\nThis field may hold a maximum of two entries (dual-stack families, in either order). These families must correspond to the values of the clusterIPs field, if specified. Both clusterIPs and ipFamilies are governed by the ipFamilyPolicy field." + }, + "ipFamilyPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IPFamilyPolicy represents the dual-stack-ness requested or required by this Service. If there is no value provided, then this field will be set to SingleStack. Services can be \"SingleStack\" (a single IP family), \"PreferDualStack\" (two IP families on dual-stack configured clusters or a single IP family on single-stack clusters), or \"RequireDualStack\" (two IP families on dual-stack configured clusters, otherwise fail). The ipFamilies and clusterIPs fields depend on the value of this field. This field will be wiped when updating a service to type ExternalName." + }, + "loadBalancerClass": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "loadBalancerClass is the class of the load balancer implementation this Service belongs to. If specified, the value of this field must be a label-style identifier, with an optional prefix, e.g. \"internal-vip\" or \"example.com/internal-vip\". Unprefixed names are reserved for end-users. This field can only be set when the Service type is 'LoadBalancer'. If not set, the default load balancer implementation is used, today this is typically done through the cloud provider integration, but should apply for any default implementation. If set, it is assumed that a load balancer implementation is watching for Services with a matching class. Any default load balancer implementation (e.g. cloud providers) should ignore Services that set this field. This field can only be set when creating or updating a Service to type 'LoadBalancer'. Once set, it can not be changed. This field will be wiped when a service is updated to a non 'LoadBalancer' type." + }, + "loadBalancerIP": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Only applies to Service Type: LoadBalancer. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature. Deprecated: This field was under-specified and its meaning varies across implementations, and it cannot support dual-stack. As of Kubernetes v1.24, users are encouraged to use implementation-specific annotations when available. This field may be removed in a future API version." + }, + "loadBalancerSourceRanges": { + "type": { + "$ref": "#/314" + }, + "flags": 0, + "description": "If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/" + }, + "ports": { + "type": { + "$ref": "#/316" + }, + "flags": 0, + "description": "The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies" + }, + "publishNotReadyAddresses": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "publishNotReadyAddresses indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready. The primary use case for setting this field is for a StatefulSet's Headless Service to propagate SRV DNS records for its Pods for the purpose of peer discovery. The Kubernetes controllers that generate Endpoints and EndpointSlice resources for Services interpret this to mean that all endpoints are considered \"ready\" even if the Pods themselves are not. Agents which consume only Kubernetes generated endpoints through the Endpoints or EndpointSlice resources can safely assume this behavior." + }, + "selector": { + "type": { + "$ref": "#/317" + }, + "flags": 0, + "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/" + }, + "sessionAffinity": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies" + }, + "sessionAffinityConfig": { + "type": { + "$ref": "#/318" + }, + "flags": 0, + "description": "SessionAffinityConfig represents the configurations of session affinity." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object or EndpointSlice objects. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a virtual IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the same endpoints as the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the same endpoints as the clusterIP. \"ExternalName\" aliases this service to the specified externalName. Several other fields do not apply to ExternalName services. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ServicePort", + "properties": { + "appProtocol": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service." + }, + "nodePort": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "The port on each node on which this service is exposed when type is NodePort or LoadBalancer. Usually assigned by the system. If a value is specified, in-range, and not in use it will be used, otherwise the operation will fail. If not specified, a port will be allocated if this Service requires one. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type from NodePort to ClusterIP). More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport" + }, + "port": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "The port that will be exposed by this service." + }, + "protocol": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP." + }, + "targetPort": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/315" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ServiceSpecSelector", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SessionAffinityConfig", + "properties": { + "clientIP": { + "type": { + "$ref": "#/319" + }, + "flags": 0, + "description": "ClientIPConfig represents the configurations of Client IP based session affinity." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ClientIPConfig", + "properties": { + "timeoutSeconds": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "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": "ObjectType", + "name": "IoK8SApiCoreV1ServiceStatus", + "properties": { + "conditions": { + "type": { + "$ref": "#/322" + }, + "flags": 0, + "description": "Current service state" + }, + "loadBalancer": { + "type": { + "$ref": "#/323" + }, + "flags": 0, + "description": "LoadBalancerStatus represents the status of a load-balancer." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1Condition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "message is a human readable message indicating details about the transition. This may be an empty string." + }, + "observedGeneration": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "status of the condition, one of True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type of condition in CamelCase or in foo.example.com/CamelCase." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/321" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LoadBalancerStatus", + "properties": { + "ingress": { + "type": { + "$ref": "#/327" + }, + "flags": 0, + "description": "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LoadBalancerIngress", + "properties": { + "hostname": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)" + }, + "ip": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)" + }, + "ports": { + "type": { + "$ref": "#/326" + }, + "flags": 0, + "description": "Ports is a list of records of service ports If used, every port defined in the service should have an entry in it" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PortStatus", + "properties": { + "error": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use\n CamelCase names\n- cloud provider specific error values must have names that comply with the\n format foo.example.com/CamelCase." + }, + "port": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "Port is the port number of the service port of which status is recorded here" + }, + "protocol": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Protocol is the protocol of the service port of which status is recorded here The supported values are: \"TCP\", \"UDP\", \"SCTP\"" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/325" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/324" + } + }, + { + "$type": "ObjectType", + "name": "core/Service", + "properties": { + "kind": { + "type": { + "$ref": "#/305" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/306" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/309" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/310" + }, + "flags": 0, + "description": "ServiceSpec describes the attributes that a user creates on a service." + }, + "status": { + "type": { + "$ref": "#/320" + }, + "flags": 0, + "description": "ServiceStatus represents the current status of a service." + } + } + }, + { + "$type": "ResourceType", + "name": "core/Service@v1", + "scopeType": 0, + "body": { + "$ref": "#/328" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "Namespace" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/332" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/333" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NamespaceSpec", + "properties": { + "finalizers": { + "type": { + "$ref": "#/336" + }, + "flags": 0, + "description": "Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NamespaceStatus", + "properties": { + "conditions": { + "type": { + "$ref": "#/339" + }, + "flags": 0, + "description": "Represents the latest available observations of a namespace's current state." + }, + "phase": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NamespaceCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Status of the condition, one of True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type of namespace controller condition." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/338" + } + }, + { + "$type": "ObjectType", + "name": "core/Namespace", + "properties": { + "kind": { + "type": { + "$ref": "#/330" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/331" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/334" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/335" + }, + "flags": 0, + "description": "NamespaceSpec describes the attributes on a Namespace." + }, + "status": { + "type": { + "$ref": "#/337" + }, + "flags": 0, + "description": "NamespaceStatus is information about the current status of a Namespace." + } + } + }, + { + "$type": "ResourceType", + "name": "core/Namespace@v1", + "scopeType": 0, + "body": { + "$ref": "#/340" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "Node" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/344" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/345" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSpec", + "properties": { + "configSource": { + "type": { + "$ref": "#/348" + }, + "flags": 0, + "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22" + }, + "externalID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966" + }, + "podCIDR": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "PodCIDR represents the pod IP range assigned to the node." + }, + "podCIDRs": { + "type": { + "$ref": "#/350" + }, + "flags": 0, + "description": "podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6." + }, + "providerID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "ID of the node assigned by the cloud provider in the format: ://" + }, + "taints": { + "type": { + "$ref": "#/352" + }, + "flags": 0, + "description": "If specified, the node's taints." + }, + "unschedulable": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "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": "ObjectType", + "name": "IoK8SApiCoreV1NodeConfigSource", + "properties": { + "configMap": { + "type": { + "$ref": "#/349" + }, + "flags": 0, + "description": "ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapNodeConfigSource", + "properties": { + "kubeletConfigKey": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases." + }, + "resourceVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status." + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Taint", + "properties": { + "effect": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute." + }, + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Required. The taint key to be applied to a node." + }, + "timeAdded": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The taint value corresponding to the taint key." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/351" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeStatus", + "properties": { + "addresses": { + "type": { + "$ref": "#/355" + }, + "flags": 0, + "description": "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See http://pr.k8s.io/79391 for an example." + }, + "allocatable": { + "type": { + "$ref": "#/356" + }, + "flags": 0, + "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity." + }, + "capacity": { + "type": { + "$ref": "#/357" + }, + "flags": 0, + "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity" + }, + "conditions": { + "type": { + "$ref": "#/359" + }, + "flags": 0, + "description": "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition" + }, + "config": { + "type": { + "$ref": "#/360" + }, + "flags": 0, + "description": "NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource." + }, + "daemonEndpoints": { + "type": { + "$ref": "#/361" + }, + "flags": 0, + "description": "NodeDaemonEndpoints lists ports opened by daemons running on the Node." + }, + "images": { + "type": { + "$ref": "#/365" + }, + "flags": 0, + "description": "List of container images on this node" + }, + "nodeInfo": { + "type": { + "$ref": "#/366" + }, + "flags": 0, + "description": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node." + }, + "phase": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated." + }, + "volumesAttached": { + "type": { + "$ref": "#/368" + }, + "flags": 0, + "description": "List of volumes that are attached to the node." + }, + "volumesInUse": { + "type": { + "$ref": "#/369" + }, + "flags": 0, + "description": "List of attachable volumes in use (mounted) by the node." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeAddress", + "properties": { + "address": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The node address." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Node address type, one of Hostname, ExternalIP or InternalIP." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/354" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeStatusAllocatable", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeStatusCapacity", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeCondition", + "properties": { + "lastHeartbeatTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Human readable message indicating details about last transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "(brief) reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Status of the condition, one of True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type of node condition." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/358" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeConfigStatus", + "properties": { + "active": { + "type": { + "$ref": "#/348" + }, + "flags": 0, + "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22" + }, + "assigned": { + "type": { + "$ref": "#/348" + }, + "flags": 0, + "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22" + }, + "error": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions." + }, + "lastKnownGood": { + "type": { + "$ref": "#/348" + }, + "flags": 0, + "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeDaemonEndpoints", + "properties": { + "kubeletEndpoint": { + "type": { + "$ref": "#/362" + }, + "flags": 0, + "description": "DaemonEndpoint contains information about a single Daemon endpoint." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1DaemonEndpoint", + "properties": { + "Port": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "Port number of the given endpoint." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ContainerImage", + "properties": { + "names": { + "type": { + "$ref": "#/364" + }, + "flags": 0, + "description": "Names by which this image is known. e.g. [\"kubernetes.example/hyperkube:v1.0.7\", \"cloud-vendor.registry.example/cloud-vendor/hyperkube:v1.0.7\"]" + }, + "sizeBytes": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "The size of the image in bytes." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/363" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSystemInfo", + "properties": { + "architecture": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The Architecture reported by the node" + }, + "bootID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Boot ID reported by the node." + }, + "containerRuntimeVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "ContainerRuntime Version reported by the node through runtime remote API (e.g. containerd://1.4.2)." + }, + "kernelVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64)." + }, + "kubeProxyVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "KubeProxy Version reported by the node." + }, + "kubeletVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kubelet Version reported by the node." + }, + "machineID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html" + }, + "operatingSystem": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The Operating System reported by the node" + }, + "osImage": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy))." + }, + "systemUUID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AttachedVolume", + "properties": { + "devicePath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "DevicePath represents the device path where the volume should be available" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the attached volume" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/367" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "core/Node", + "properties": { + "kind": { + "type": { + "$ref": "#/342" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/343" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/346" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/347" + }, + "flags": 0, + "description": "NodeSpec describes the attributes that a node is created with." + }, + "status": { + "type": { + "$ref": "#/353" + }, + "flags": 0, + "description": "NodeStatus is information about the current status of a node." + } + } + }, + { + "$type": "ResourceType", + "name": "core/Node@v1", + "scopeType": 0, + "body": { + "$ref": "#/370" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "PersistentVolume" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/374" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/375" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeSpec", + "properties": { + "accessModes": { + "type": { + "$ref": "#/378" + }, + "flags": 0, + "description": "accessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes" + }, + "awsElasticBlockStore": { + "type": { + "$ref": "#/175" + }, + "flags": 0, + "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling." + }, + "azureDisk": { + "type": { + "$ref": "#/176" + }, + "flags": 0, + "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." + }, + "azureFile": { + "type": { + "$ref": "#/379" + }, + "flags": 0, + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod." + }, + "capacity": { + "type": { + "$ref": "#/380" + }, + "flags": 0, + "description": "capacity is the description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity" + }, + "cephfs": { + "type": { + "$ref": "#/381" + }, + "flags": 0, + "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling." + }, + "cinder": { + "type": { + "$ref": "#/384" + }, + "flags": 0, + "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling." + }, + "claimRef": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "ObjectReference contains enough information to let you inspect or modify the referred object." + }, + "csi": { + "type": { + "$ref": "#/385" + }, + "flags": 0, + "description": "Represents storage that is managed by an external CSI volume driver (Beta feature)" + }, + "fc": { + "type": { + "$ref": "#/200" + }, + "flags": 0, + "description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling." + }, + "flexVolume": { + "type": { + "$ref": "#/387" + }, + "flags": 0, + "description": "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin." + }, + "flocker": { + "type": { + "$ref": "#/205" + }, + "flags": 0, + "description": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling." + }, + "gcePersistentDisk": { + "type": { + "$ref": "#/206" + }, + "flags": 0, + "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling." + }, + "glusterfs": { + "type": { + "$ref": "#/389" + }, + "flags": 0, + "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling." + }, + "hostPath": { + "type": { + "$ref": "#/209" + }, + "flags": 0, + "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling." + }, + "iscsi": { + "type": { + "$ref": "#/390" + }, + "flags": 0, + "description": "ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling." + }, + "local": { + "type": { + "$ref": "#/392" + }, + "flags": 0, + "description": "Local represents directly-attached storage with node affinity (Beta feature)" + }, + "mountOptions": { + "type": { + "$ref": "#/393" + }, + "flags": 0, + "description": "mountOptions is the list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options" + }, + "nfs": { + "type": { + "$ref": "#/212" + }, + "flags": 0, + "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling." + }, + "nodeAffinity": { + "type": { + "$ref": "#/394" + }, + "flags": 0, + "description": "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from." + }, + "persistentVolumeReclaimPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming" + }, + "photonPersistentDisk": { + "type": { + "$ref": "#/214" + }, + "flags": 0, + "description": "Represents a Photon Controller persistent disk resource." + }, + "portworxVolume": { + "type": { + "$ref": "#/215" + }, + "flags": 0, + "description": "PortworxVolumeSource represents a Portworx volume resource." + }, + "quobyte": { + "type": { + "$ref": "#/226" + }, + "flags": 0, + "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling." + }, + "rbd": { + "type": { + "$ref": "#/395" + }, + "flags": 0, + "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling." + }, + "scaleIO": { + "type": { + "$ref": "#/397" + }, + "flags": 0, + "description": "ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume" + }, + "storageClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass." + }, + "storageos": { + "type": { + "$ref": "#/398" + }, + "flags": 0, + "description": "Represents a StorageOS persistent volume resource." + }, + "volumeMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec." + }, + "vsphereVolume": { + "type": { + "$ref": "#/233" + }, + "flags": 0, + "description": "Represents a vSphere volume resource." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AzureFilePersistentVolumeSource", + "properties": { + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "secretName is the name of secret that contains Azure Storage Account Name and Key" + }, + "secretNamespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod" + }, + "shareName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "shareName is the azure Share Name" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeSpecCapacity", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CephFSPersistentVolumeSource", + "properties": { + "monitors": { + "type": { + "$ref": "#/382" + }, + "flags": 1, + "description": "monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "secretFile": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "secretRef": { + "type": { + "$ref": "#/383" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretReference", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "name is unique within a namespace to reference a secret resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "namespace defines the space within which the secret name must be unique." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CinderPersistentVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + }, + "secretRef": { + "type": { + "$ref": "#/383" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CSIPersistentVolumeSource", + "properties": { + "controllerExpandSecretRef": { + "type": { + "$ref": "#/383" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "controllerPublishSecretRef": { + "type": { + "$ref": "#/383" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "driver": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "driver is the name of the driver to use for this volume. Required." + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\"." + }, + "nodeExpandSecretRef": { + "type": { + "$ref": "#/383" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "nodePublishSecretRef": { + "type": { + "$ref": "#/383" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "nodeStageSecretRef": { + "type": { + "$ref": "#/383" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write)." + }, + "volumeAttributes": { + "type": { + "$ref": "#/386" + }, + "flags": 0, + "description": "volumeAttributes of the volume to publish." + }, + "volumeHandle": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CSIPersistentVolumeSourceVolumeAttributes", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlexPersistentVolumeSource", + "properties": { + "driver": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "driver is the name of the driver to use for this volume." + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script." + }, + "options": { + "type": { + "$ref": "#/388" + }, + "flags": 0, + "description": "options is Optional: this field holds extra command options if any." + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/383" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlexPersistentVolumeSourceOptions", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GlusterfsPersistentVolumeSource", + "properties": { + "endpoints": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "endpointsNamespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "endpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1IscsiPersistentVolumeSource", + "properties": { + "chapAuthDiscovery": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication" + }, + "chapAuthSession": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "chapAuthSession defines whether support iSCSI Session CHAP authentication" + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi" + }, + "initiatorName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection." + }, + "iqn": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "iqn is Target iSCSI Qualified Name." + }, + "iscsiInterface": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)." + }, + "lun": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "lun is iSCSI Target Lun number." + }, + "portals": { + "type": { + "$ref": "#/391" + }, + "flags": 0, + "description": "portals is the iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)." + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false." + }, + "secretRef": { + "type": { + "$ref": "#/383" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "targetPortal": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LocalVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a filesystem if unspecified." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...)." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeNodeAffinity", + "properties": { + "required": { + "type": { + "$ref": "#/91" + }, + "flags": 0, + "description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1RBDPersistentVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd" + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "keyring": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "monitors": { + "type": { + "$ref": "#/396" + }, + "flags": 1, + "description": "monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "pool": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "secretRef": { + "type": { + "$ref": "#/383" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ScaleIOPersistentVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"" + }, + "gateway": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "gateway is the host address of the ScaleIO API Gateway." + }, + "protectionDomain": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "protectionDomain is the name of the ScaleIO Protection Domain for the configured storage." + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/383" + }, + "flags": 1, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "sslEnabled": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "sslEnabled is the flag to enable/disable SSL communication with Gateway, default false" + }, + "storageMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned." + }, + "storagePool": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "storagePool is the ScaleIO Storage Pool associated with the protection domain." + }, + "system": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "system is the name of the storage system as configured in ScaleIO." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1StorageOSPersistentVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "ObjectReference contains enough information to let you inspect or modify the referred object." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace." + }, + "volumeNamespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeStatus", + "properties": { + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "message is a human-readable message indicating details about why the volume is in this state." + }, + "phase": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase" + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI." + } + } + }, + { + "$type": "ObjectType", + "name": "core/PersistentVolume", + "properties": { + "kind": { + "type": { + "$ref": "#/372" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/373" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/376" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/377" + }, + "flags": 0, + "description": "PersistentVolumeSpec is the specification of a persistent volume." + }, + "status": { + "type": { + "$ref": "#/399" + }, + "flags": 0, + "description": "PersistentVolumeStatus is the current status of a persistent volume." + } + } + }, + { + "$type": "ResourceType", + "name": "core/PersistentVolume@v1", + "scopeType": 0, + "body": { + "$ref": "#/400" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/generated/kubernetes/discovery.k8s.io/v1/types.json b/generated/kubernetes/discovery.k8s.io/v1/types.json index 6d623748..82a49448 100644 --- a/generated/kubernetes/discovery.k8s.io/v1/types.json +++ b/generated/kubernetes/discovery.k8s.io/v1/types.json @@ -1 +1,362 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"EndpointSlice"}},{"6":{"Value":"discovery.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiDiscoveryV1Endpoint","Properties":{"addresses":{"Type":14,"Flags":1,"Description":"addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100. These are all assumed to be fungible and clients may choose to only use the first element. Refer to: https://issue.k8s.io/106267"},"conditions":{"Type":15,"Flags":0,"Description":"EndpointConditions represents the current condition of an endpoint."},"deprecatedTopology":{"Type":16,"Flags":0,"Description":"deprecatedTopology contains topology information part of the v1beta1 API. This field is deprecated, and will be removed when the v1beta1 API is removed (no sooner than kubernetes v1.24). While this field can hold values, it is not writable through the v1 API, and any attempts to write to it will be silently ignored. Topology information can be found in the zone and nodeName fields instead."},"hints":{"Type":17,"Flags":0,"Description":"EndpointHints provides hints describing how an endpoint should be consumed."},"hostname":{"Type":4,"Flags":0,"Description":"hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation."},"nodeName":{"Type":4,"Flags":0,"Description":"nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node."},"targetRef":{"Type":20,"Flags":0,"Description":"ObjectReference contains enough information to let you inspect or modify the referred object."},"zone":{"Type":4,"Flags":0,"Description":"zone is the name of the Zone this endpoint exists in."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiDiscoveryV1EndpointConditions","Properties":{"ready":{"Type":2,"Flags":0,"Description":"ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. For compatibility reasons, ready should never be \"true\" for terminating endpoints."},"serving":{"Type":2,"Flags":0,"Description":"serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. This field can be enabled with the EndpointSliceTerminatingCondition feature gate."},"terminating":{"Type":2,"Flags":0,"Description":"terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating. This field can be enabled with the EndpointSliceTerminatingCondition feature gate."}}}},{"2":{"Name":"IoK8SApiDiscoveryV1EndpointDeprecatedTopology","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiDiscoveryV1EndpointHints","Properties":{"forZones":{"Type":19,"Flags":0,"Description":"forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing."}}}},{"2":{"Name":"IoK8SApiDiscoveryV1ForZone","Properties":{"name":{"Type":4,"Flags":1,"Description":"name represents the name of the zone."}}}},{"3":{"ItemType":18}},{"2":{"Name":"IoK8SApiCoreV1ObjectReference","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"API version of the referent."},"fieldPath":{"Type":4,"Flags":0,"Description":"If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object."},"kind":{"Type":4,"Flags":0,"Description":"Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"namespace":{"Type":4,"Flags":0,"Description":"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"},"resourceVersion":{"Type":4,"Flags":0,"Description":"Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"},"uid":{"Type":4,"Flags":0,"Description":"UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids"}}}},{"3":{"ItemType":13}},{"2":{"Name":"IoK8SApiDiscoveryV1EndpointPort","Properties":{"appProtocol":{"Type":4,"Flags":0,"Description":"The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol."},"name":{"Type":4,"Flags":0,"Description":"The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string."},"port":{"Type":3,"Flags":0,"Description":"The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer."},"protocol":{"Type":4,"Flags":0,"Description":"The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP."}}}},{"3":{"ItemType":22}},{"2":{"Name":"discovery.k8s.io/EndpointSlice","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"addressType":{"Type":4,"Flags":1,"Description":"addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name."},"endpoints":{"Type":21,"Flags":1,"Description":"endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints."},"ports":{"Type":23,"Flags":0,"Description":"ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports."}}}},{"4":{"Name":"discovery.k8s.io/EndpointSlice@v1","ScopeType":0,"Body":24,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "EndpointSlice" + }, + { + "$type": "StringLiteralType", + "value": "discovery.k8s.io/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiDiscoveryV1Endpoint", + "properties": { + "addresses": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100. These are all assumed to be fungible and clients may choose to only use the first element. Refer to: https://issue.k8s.io/106267" + }, + "conditions": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "EndpointConditions represents the current condition of an endpoint." + }, + "deprecatedTopology": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "deprecatedTopology contains topology information part of the v1beta1 API. This field is deprecated, and will be removed when the v1beta1 API is removed (no sooner than kubernetes v1.24). While this field can hold values, it is not writable through the v1 API, and any attempts to write to it will be silently ignored. Topology information can be found in the zone and nodeName fields instead." + }, + "hints": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "EndpointHints provides hints describing how an endpoint should be consumed." + }, + "hostname": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation." + }, + "nodeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node." + }, + "targetRef": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "ObjectReference contains enough information to let you inspect or modify the referred object." + }, + "zone": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "zone is the name of the Zone this endpoint exists in." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiDiscoveryV1EndpointConditions", + "properties": { + "ready": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. For compatibility reasons, ready should never be \"true\" for terminating endpoints." + }, + "serving": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. This field can be enabled with the EndpointSliceTerminatingCondition feature gate." + }, + "terminating": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating. This field can be enabled with the EndpointSliceTerminatingCondition feature gate." + } + } + }, + { + "$type": "BooleanType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiDiscoveryV1EndpointDeprecatedTopology", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiDiscoveryV1EndpointHints", + "properties": { + "forZones": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiDiscoveryV1ForZone", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name represents the name of the zone." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/12" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ObjectReference", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "API version of the referent." + }, + "fieldPath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + }, + "resourceVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/6" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiDiscoveryV1EndpointPort", + "properties": { + "appProtocol": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string." + }, + "port": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer." + }, + "protocol": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/16" + } + }, + { + "$type": "ObjectType", + "name": "discovery.k8s.io/EndpointSlice", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "addressType": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name." + }, + "endpoints": { + "type": { + "$ref": "#/15" + }, + "flags": 1, + "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints." + }, + "ports": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports." + } + } + }, + { + "$type": "ResourceType", + "name": "discovery.k8s.io/EndpointSlice@v1", + "scopeType": 0, + "body": { + "$ref": "#/19" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/generated/kubernetes/events.k8s.io/v1/types.json b/generated/kubernetes/events.k8s.io/v1/types.json index 45102d81..33b76d3c 100644 --- a/generated/kubernetes/events.k8s.io/v1/types.json +++ b/generated/kubernetes/events.k8s.io/v1/types.json @@ -1 +1,295 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"Event"}},{"6":{"Value":"events.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1EventSource","Properties":{"component":{"Type":4,"Flags":0,"Description":"Component from which the event is generated."},"host":{"Type":4,"Flags":0,"Description":"Node name on which the event is generated."}}}},{"2":{"Name":"IoK8SApiCoreV1ObjectReference","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"API version of the referent."},"fieldPath":{"Type":4,"Flags":0,"Description":"If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object."},"kind":{"Type":4,"Flags":0,"Description":"Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"namespace":{"Type":4,"Flags":0,"Description":"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"},"resourceVersion":{"Type":4,"Flags":0,"Description":"Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"},"uid":{"Type":4,"Flags":0,"Description":"UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids"}}}},{"2":{"Name":"IoK8SApiEventsV1EventSeries","Properties":{"count":{"Type":3,"Flags":1,"Description":"count is the number of occurrences in this series up to the last heartbeat time."},"lastObservedTime":{"Type":4,"Flags":1,"Description":"MicroTime is version of Time with microsecond level precision."}}}},{"2":{"Name":"events.k8s.io/Event","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"action":{"Type":4,"Flags":0,"Description":"action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters."},"deprecatedCount":{"Type":3,"Flags":0,"Description":"deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type."},"deprecatedFirstTimestamp":{"Type":4,"Flags":0,"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."},"deprecatedLastTimestamp":{"Type":4,"Flags":0,"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."},"deprecatedSource":{"Type":13,"Flags":0,"Description":"EventSource contains information for an event."},"eventTime":{"Type":4,"Flags":1,"Description":"MicroTime is version of Time with microsecond level precision."},"note":{"Type":4,"Flags":0,"Description":"note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB."},"reason":{"Type":4,"Flags":0,"Description":"reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters."},"regarding":{"Type":14,"Flags":0,"Description":"ObjectReference contains enough information to let you inspect or modify the referred object."},"related":{"Type":14,"Flags":0,"Description":"ObjectReference contains enough information to let you inspect or modify the referred object."},"reportingController":{"Type":4,"Flags":0,"Description":"reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events."},"reportingInstance":{"Type":4,"Flags":0,"Description":"reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters."},"series":{"Type":15,"Flags":0,"Description":"EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in \"k8s.io/client-go/tools/events/event_broadcaster.go\" shows how this struct is updated on heartbeats and can guide customized reporter implementations."},"type":{"Type":4,"Flags":0,"Description":"type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events."}}}},{"4":{"Name":"events.k8s.io/Event@v1","ScopeType":0,"Body":16,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "Event" + }, + { + "$type": "StringLiteralType", + "value": "events.k8s.io/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EventSource", + "properties": { + "component": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Component from which the event is generated." + }, + "host": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Node name on which the event is generated." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ObjectReference", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "API version of the referent." + }, + "fieldPath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + }, + "resourceVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiEventsV1EventSeries", + "properties": { + "count": { + "type": { + "$ref": "#/6" + }, + "flags": 1, + "description": "count is the number of occurrences in this series up to the last heartbeat time." + }, + "lastObservedTime": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "MicroTime is version of Time with microsecond level precision." + } + } + }, + { + "$type": "ObjectType", + "name": "events.k8s.io/Event", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "action": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters." + }, + "deprecatedCount": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type." + }, + "deprecatedFirstTimestamp": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "deprecatedLastTimestamp": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "deprecatedSource": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "EventSource contains information for an event." + }, + "eventTime": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "MicroTime is version of Time with microsecond level precision." + }, + "note": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters." + }, + "regarding": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "ObjectReference contains enough information to let you inspect or modify the referred object." + }, + "related": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "ObjectReference contains enough information to let you inspect or modify the referred object." + }, + "reportingController": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events." + }, + "reportingInstance": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters." + }, + "series": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in \"k8s.io/client-go/tools/events/event_broadcaster.go\" shows how this struct is updated on heartbeats and can guide customized reporter implementations." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events." + } + } + }, + { + "$type": "ResourceType", + "name": "events.k8s.io/Event@v1", + "scopeType": 0, + "body": { + "$ref": "#/10" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/generated/kubernetes/flowcontrol.apiserver.k8s.io/v1beta1/types.json b/generated/kubernetes/flowcontrol.apiserver.k8s.io/v1beta1/types.json index ca9b046e..2f524198 100644 --- a/generated/kubernetes/flowcontrol.apiserver.k8s.io/v1beta1/types.json +++ b/generated/kubernetes/flowcontrol.apiserver.k8s.io/v1beta1/types.json @@ -1 +1,708 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"FlowSchema"}},{"6":{"Value":"flowcontrol.apiserver.k8s.io/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta1FlowSchemaSpec","Properties":{"distinguisherMethod":{"Type":14,"Flags":0,"Description":"FlowDistinguisherMethod specifies the method of a flow distinguisher."},"matchingPrecedence":{"Type":3,"Flags":0,"Description":"`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default."},"priorityLevelConfiguration":{"Type":15,"Flags":1,"Description":"PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used."},"rules":{"Type":32,"Flags":0,"Description":"`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta1FlowDistinguisherMethod","Properties":{"type":{"Type":4,"Flags":1,"Description":"`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta1PriorityLevelConfigurationReference","Properties":{"name":{"Type":4,"Flags":1,"Description":"`name` is the name of the priority level configuration being referenced Required."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta1PolicyRulesWithSubjects","Properties":{"nonResourceRules":{"Type":20,"Flags":0,"Description":"`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL."},"resourceRules":{"Type":26,"Flags":0,"Description":"`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty."},"subjects":{"Type":31,"Flags":1,"Description":"subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta1NonResourcePolicyRule","Properties":{"nonResourceURLs":{"Type":18,"Flags":1,"Description":"`nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example:\n - \"/healthz\" is legal\n - \"/hea*\" is illegal\n - \"/hea\" is legal but matches nothing\n - \"/hea/*\" also matches nothing\n - \"/healthz/*\" matches all per-component health checks.\n\"*\" matches all non-resource urls. if it is present, it must be the only entry. Required."},"verbs":{"Type":19,"Flags":1,"Description":"`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs. If it is present, it must be the only entry. Required."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":17}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta1ResourcePolicyRule","Properties":{"apiGroups":{"Type":22,"Flags":1,"Description":"`apiGroups` is a list of matching API groups and may not be empty. \"*\" matches all API groups and, if present, must be the only entry. Required."},"clusterScope":{"Type":2,"Flags":0,"Description":"`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list."},"namespaces":{"Type":23,"Flags":0,"Description":"`namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains \"*\". Note that \"*\" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true."},"resources":{"Type":24,"Flags":1,"Description":"`resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ \"services\", \"nodes/status\" ]. This list may not be empty. \"*\" matches all resources and, if present, must be the only entry. Required."},"verbs":{"Type":25,"Flags":1,"Description":"`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs and, if present, must be the only entry. Required."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":21}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta1Subject","Properties":{"group":{"Type":28,"Flags":0,"Description":"GroupSubject holds detailed information for group-kind subject."},"kind":{"Type":4,"Flags":1,"Description":"`kind` indicates which one of the other fields is non-empty. Required"},"serviceAccount":{"Type":29,"Flags":0,"Description":"ServiceAccountSubject holds detailed information for service-account-kind subject."},"user":{"Type":30,"Flags":0,"Description":"UserSubject holds detailed information for user-kind subject."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta1GroupSubject","Properties":{"name":{"Type":4,"Flags":1,"Description":"name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta1ServiceAccountSubject","Properties":{"name":{"Type":4,"Flags":1,"Description":"`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required."},"namespace":{"Type":4,"Flags":1,"Description":"`namespace` is the namespace of matching ServiceAccount objects. Required."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta1UserSubject","Properties":{"name":{"Type":4,"Flags":1,"Description":"`name` is the username that matches, or \"*\" to match all usernames. Required."}}}},{"3":{"ItemType":27}},{"3":{"ItemType":16}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta1FlowSchemaStatus","Properties":{"conditions":{"Type":35,"Flags":0,"Description":"`conditions` is a list of the current states of FlowSchema."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta1FlowSchemaCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"`message` is a human-readable message indicating details about last transition."},"reason":{"Type":4,"Flags":0,"Description":"`reason` is a unique, one-word, CamelCase reason for the condition's last transition."},"status":{"Type":4,"Flags":0,"Description":"`status` is the status of the condition. Can be True, False, Unknown. Required."},"type":{"Type":4,"Flags":0,"Description":"`type` is the type of the condition. Required."}}}},{"3":{"ItemType":34}},{"2":{"Name":"flowcontrol.apiserver.k8s.io/FlowSchema","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":0,"Description":"FlowSchemaSpec describes how the FlowSchema's specification looks like."},"status":{"Type":33,"Flags":0,"Description":"FlowSchemaStatus represents the current state of a FlowSchema."}}}},{"4":{"Name":"flowcontrol.apiserver.k8s.io/FlowSchema@v1beta1","ScopeType":0,"Body":36,"Flags":0}},{"6":{"Value":"PriorityLevelConfiguration"}},{"6":{"Value":"flowcontrol.apiserver.k8s.io/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":40,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":41,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta1PriorityLevelConfigurationSpec","Properties":{"limited":{"Type":44,"Flags":0,"Description":"LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n - How are requests for this priority level limited?\n - What should be done with requests that exceed the limit?"},"type":{"Type":4,"Flags":1,"Description":"`type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta1LimitedPriorityLevelConfiguration","Properties":{"assuredConcurrencyShares":{"Type":3,"Flags":0,"Description":"`assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time. ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) --- the number of requests that may be executing at a time --- for each such priority level:\n\n ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) )\n\nbigger numbers of ACS mean more reserved concurrent requests (at the expense of every other PL). This field has a default value of 30."},"limitResponse":{"Type":45,"Flags":0,"Description":"LimitResponse defines how to handle requests that can not be executed right now."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta1LimitResponse","Properties":{"queuing":{"Type":46,"Flags":0,"Description":"QueuingConfiguration holds the configuration parameters for queuing"},"type":{"Type":4,"Flags":1,"Description":"`type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta1QueuingConfiguration","Properties":{"handSize":{"Type":3,"Flags":0,"Description":"`handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8."},"queueLengthLimit":{"Type":3,"Flags":0,"Description":"`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50."},"queues":{"Type":3,"Flags":0,"Description":"`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta1PriorityLevelConfigurationStatus","Properties":{"conditions":{"Type":49,"Flags":0,"Description":"`conditions` is the current state of \"request-priority\"."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta1PriorityLevelConfigurationCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"`message` is a human-readable message indicating details about last transition."},"reason":{"Type":4,"Flags":0,"Description":"`reason` is a unique, one-word, CamelCase reason for the condition's last transition."},"status":{"Type":4,"Flags":0,"Description":"`status` is the status of the condition. Can be True, False, Unknown. Required."},"type":{"Type":4,"Flags":0,"Description":"`type` is the type of the condition. Required."}}}},{"3":{"ItemType":48}},{"2":{"Name":"flowcontrol.apiserver.k8s.io/PriorityLevelConfiguration","Properties":{"kind":{"Type":38,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":39,"Flags":10,"Description":"The api version."},"metadata":{"Type":42,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":43,"Flags":0,"Description":"PriorityLevelConfigurationSpec specifies the configuration of a priority level."},"status":{"Type":47,"Flags":0,"Description":"PriorityLevelConfigurationStatus represents the current state of a \"request-priority\"."}}}},{"4":{"Name":"flowcontrol.apiserver.k8s.io/PriorityLevelConfiguration@v1beta1","ScopeType":0,"Body":50,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "FlowSchema" + }, + { + "$type": "StringLiteralType", + "value": "flowcontrol.apiserver.k8s.io/v1beta1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta1FlowSchemaSpec", + "properties": { + "distinguisherMethod": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher." + }, + "matchingPrecedence": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default." + }, + "priorityLevelConfiguration": { + "type": { + "$ref": "#/9" + }, + "flags": 1, + "description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used." + }, + "rules": { + "type": { + "$ref": "#/27" + }, + "flags": 0, + "description": "`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta1FlowDistinguisherMethod", + "properties": { + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta1PriorityLevelConfigurationReference", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "`name` is the name of the priority level configuration being referenced Required." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta1PolicyRulesWithSubjects", + "properties": { + "nonResourceRules": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL." + }, + "resourceRules": { + "type": { + "$ref": "#/21" + }, + "flags": 0, + "description": "`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty." + }, + "subjects": { + "type": { + "$ref": "#/26" + }, + "flags": 1, + "description": "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta1NonResourcePolicyRule", + "properties": { + "nonResourceURLs": { + "type": { + "$ref": "#/12" + }, + "flags": 1, + "description": "`nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example:\n - \"/healthz\" is legal\n - \"/hea*\" is illegal\n - \"/hea\" is legal but matches nothing\n - \"/hea/*\" also matches nothing\n - \"/healthz/*\" matches all per-component health checks.\n\"*\" matches all non-resource urls. if it is present, it must be the only entry. Required." + }, + "verbs": { + "type": { + "$ref": "#/13" + }, + "flags": 1, + "description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs. If it is present, it must be the only entry. Required." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/11" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta1ResourcePolicyRule", + "properties": { + "apiGroups": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "`apiGroups` is a list of matching API groups and may not be empty. \"*\" matches all API groups and, if present, must be the only entry. Required." + }, + "clusterScope": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list." + }, + "namespaces": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "`namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains \"*\". Note that \"*\" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true." + }, + "resources": { + "type": { + "$ref": "#/19" + }, + "flags": 1, + "description": "`resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ \"services\", \"nodes/status\" ]. This list may not be empty. \"*\" matches all resources and, if present, must be the only entry. Required." + }, + "verbs": { + "type": { + "$ref": "#/20" + }, + "flags": 1, + "description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs and, if present, must be the only entry. Required." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "BooleanType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/15" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta1Subject", + "properties": { + "group": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "GroupSubject holds detailed information for group-kind subject." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "`kind` indicates which one of the other fields is non-empty. Required" + }, + "serviceAccount": { + "type": { + "$ref": "#/24" + }, + "flags": 0, + "description": "ServiceAccountSubject holds detailed information for service-account-kind subject." + }, + "user": { + "type": { + "$ref": "#/25" + }, + "flags": 0, + "description": "UserSubject holds detailed information for user-kind subject." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta1GroupSubject", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta1ServiceAccountSubject", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "`namespace` is the namespace of matching ServiceAccount objects. Required." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta1UserSubject", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "`name` is the username that matches, or \"*\" to match all usernames. Required." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/22" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/10" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta1FlowSchemaStatus", + "properties": { + "conditions": { + "type": { + "$ref": "#/30" + }, + "flags": 0, + "description": "`conditions` is a list of the current states of FlowSchema." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta1FlowSchemaCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "`message` is a human-readable message indicating details about last transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "`status` is the status of the condition. Can be True, False, Unknown. Required." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "`type` is the type of the condition. Required." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/29" + } + }, + { + "$type": "ObjectType", + "name": "flowcontrol.apiserver.k8s.io/FlowSchema", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like." + }, + "status": { + "type": { + "$ref": "#/28" + }, + "flags": 0, + "description": "FlowSchemaStatus represents the current state of a FlowSchema." + } + } + }, + { + "$type": "ResourceType", + "name": "flowcontrol.apiserver.k8s.io/FlowSchema@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/31" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "PriorityLevelConfiguration" + }, + { + "$type": "StringLiteralType", + "value": "flowcontrol.apiserver.k8s.io/v1beta1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/35" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/36" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta1PriorityLevelConfigurationSpec", + "properties": { + "limited": { + "type": { + "$ref": "#/39" + }, + "flags": 0, + "description": "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n - How are requests for this priority level limited?\n - What should be done with requests that exceed the limit?" + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "`type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta1LimitedPriorityLevelConfiguration", + "properties": { + "assuredConcurrencyShares": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "`assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time. ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) --- the number of requests that may be executing at a time --- for each such priority level:\n\n ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) )\n\nbigger numbers of ACS mean more reserved concurrent requests (at the expense of every other PL). This field has a default value of 30." + }, + "limitResponse": { + "type": { + "$ref": "#/40" + }, + "flags": 0, + "description": "LimitResponse defines how to handle requests that can not be executed right now." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta1LimitResponse", + "properties": { + "queuing": { + "type": { + "$ref": "#/41" + }, + "flags": 0, + "description": "QueuingConfiguration holds the configuration parameters for queuing" + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "`type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta1QueuingConfiguration", + "properties": { + "handSize": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "`handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8." + }, + "queueLengthLimit": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50." + }, + "queues": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta1PriorityLevelConfigurationStatus", + "properties": { + "conditions": { + "type": { + "$ref": "#/44" + }, + "flags": 0, + "description": "`conditions` is the current state of \"request-priority\"." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta1PriorityLevelConfigurationCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "`message` is a human-readable message indicating details about last transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "`status` is the status of the condition. Can be True, False, Unknown. Required." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "`type` is the type of the condition. Required." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/43" + } + }, + { + "$type": "ObjectType", + "name": "flowcontrol.apiserver.k8s.io/PriorityLevelConfiguration", + "properties": { + "kind": { + "type": { + "$ref": "#/33" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/34" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/37" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/38" + }, + "flags": 0, + "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level." + }, + "status": { + "type": { + "$ref": "#/42" + }, + "flags": 0, + "description": "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\"." + } + } + }, + { + "$type": "ResourceType", + "name": "flowcontrol.apiserver.k8s.io/PriorityLevelConfiguration@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/45" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/generated/kubernetes/flowcontrol.apiserver.k8s.io/v1beta2/types.json b/generated/kubernetes/flowcontrol.apiserver.k8s.io/v1beta2/types.json index dc6b6c2b..e7b61b1b 100644 --- a/generated/kubernetes/flowcontrol.apiserver.k8s.io/v1beta2/types.json +++ b/generated/kubernetes/flowcontrol.apiserver.k8s.io/v1beta2/types.json @@ -1 +1,708 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"FlowSchema"}},{"6":{"Value":"flowcontrol.apiserver.k8s.io/v1beta2"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta2FlowSchemaSpec","Properties":{"distinguisherMethod":{"Type":14,"Flags":0,"Description":"FlowDistinguisherMethod specifies the method of a flow distinguisher."},"matchingPrecedence":{"Type":3,"Flags":0,"Description":"`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default."},"priorityLevelConfiguration":{"Type":15,"Flags":1,"Description":"PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used."},"rules":{"Type":32,"Flags":0,"Description":"`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta2FlowDistinguisherMethod","Properties":{"type":{"Type":4,"Flags":1,"Description":"`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta2PriorityLevelConfigurationReference","Properties":{"name":{"Type":4,"Flags":1,"Description":"`name` is the name of the priority level configuration being referenced Required."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta2PolicyRulesWithSubjects","Properties":{"nonResourceRules":{"Type":20,"Flags":0,"Description":"`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL."},"resourceRules":{"Type":26,"Flags":0,"Description":"`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty."},"subjects":{"Type":31,"Flags":1,"Description":"subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta2NonResourcePolicyRule","Properties":{"nonResourceURLs":{"Type":18,"Flags":1,"Description":"`nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example:\n - \"/healthz\" is legal\n - \"/hea*\" is illegal\n - \"/hea\" is legal but matches nothing\n - \"/hea/*\" also matches nothing\n - \"/healthz/*\" matches all per-component health checks.\n\"*\" matches all non-resource urls. if it is present, it must be the only entry. Required."},"verbs":{"Type":19,"Flags":1,"Description":"`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs. If it is present, it must be the only entry. Required."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":17}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta2ResourcePolicyRule","Properties":{"apiGroups":{"Type":22,"Flags":1,"Description":"`apiGroups` is a list of matching API groups and may not be empty. \"*\" matches all API groups and, if present, must be the only entry. Required."},"clusterScope":{"Type":2,"Flags":0,"Description":"`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list."},"namespaces":{"Type":23,"Flags":0,"Description":"`namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains \"*\". Note that \"*\" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true."},"resources":{"Type":24,"Flags":1,"Description":"`resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ \"services\", \"nodes/status\" ]. This list may not be empty. \"*\" matches all resources and, if present, must be the only entry. Required."},"verbs":{"Type":25,"Flags":1,"Description":"`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs and, if present, must be the only entry. Required."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":21}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta2Subject","Properties":{"group":{"Type":28,"Flags":0,"Description":"GroupSubject holds detailed information for group-kind subject."},"kind":{"Type":4,"Flags":1,"Description":"`kind` indicates which one of the other fields is non-empty. Required"},"serviceAccount":{"Type":29,"Flags":0,"Description":"ServiceAccountSubject holds detailed information for service-account-kind subject."},"user":{"Type":30,"Flags":0,"Description":"UserSubject holds detailed information for user-kind subject."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta2GroupSubject","Properties":{"name":{"Type":4,"Flags":1,"Description":"name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta2ServiceAccountSubject","Properties":{"name":{"Type":4,"Flags":1,"Description":"`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required."},"namespace":{"Type":4,"Flags":1,"Description":"`namespace` is the namespace of matching ServiceAccount objects. Required."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta2UserSubject","Properties":{"name":{"Type":4,"Flags":1,"Description":"`name` is the username that matches, or \"*\" to match all usernames. Required."}}}},{"3":{"ItemType":27}},{"3":{"ItemType":16}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta2FlowSchemaStatus","Properties":{"conditions":{"Type":35,"Flags":0,"Description":"`conditions` is a list of the current states of FlowSchema."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta2FlowSchemaCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"`message` is a human-readable message indicating details about last transition."},"reason":{"Type":4,"Flags":0,"Description":"`reason` is a unique, one-word, CamelCase reason for the condition's last transition."},"status":{"Type":4,"Flags":0,"Description":"`status` is the status of the condition. Can be True, False, Unknown. Required."},"type":{"Type":4,"Flags":0,"Description":"`type` is the type of the condition. Required."}}}},{"3":{"ItemType":34}},{"2":{"Name":"flowcontrol.apiserver.k8s.io/FlowSchema","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":0,"Description":"FlowSchemaSpec describes how the FlowSchema's specification looks like."},"status":{"Type":33,"Flags":0,"Description":"FlowSchemaStatus represents the current state of a FlowSchema."}}}},{"4":{"Name":"flowcontrol.apiserver.k8s.io/FlowSchema@v1beta2","ScopeType":0,"Body":36,"Flags":0}},{"6":{"Value":"PriorityLevelConfiguration"}},{"6":{"Value":"flowcontrol.apiserver.k8s.io/v1beta2"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":40,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":41,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta2PriorityLevelConfigurationSpec","Properties":{"limited":{"Type":44,"Flags":0,"Description":"LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n - How are requests for this priority level limited?\n - What should be done with requests that exceed the limit?"},"type":{"Type":4,"Flags":1,"Description":"`type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta2LimitedPriorityLevelConfiguration","Properties":{"assuredConcurrencyShares":{"Type":3,"Flags":0,"Description":"`assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time. ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) --- the number of requests that may be executing at a time --- for each such priority level:\n\n ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) )\n\nbigger numbers of ACS mean more reserved concurrent requests (at the expense of every other PL). This field has a default value of 30."},"limitResponse":{"Type":45,"Flags":0,"Description":"LimitResponse defines how to handle requests that can not be executed right now."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta2LimitResponse","Properties":{"queuing":{"Type":46,"Flags":0,"Description":"QueuingConfiguration holds the configuration parameters for queuing"},"type":{"Type":4,"Flags":1,"Description":"`type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta2QueuingConfiguration","Properties":{"handSize":{"Type":3,"Flags":0,"Description":"`handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8."},"queueLengthLimit":{"Type":3,"Flags":0,"Description":"`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50."},"queues":{"Type":3,"Flags":0,"Description":"`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta2PriorityLevelConfigurationStatus","Properties":{"conditions":{"Type":49,"Flags":0,"Description":"`conditions` is the current state of \"request-priority\"."}}}},{"2":{"Name":"IoK8SApiFlowcontrolV1Beta2PriorityLevelConfigurationCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"`message` is a human-readable message indicating details about last transition."},"reason":{"Type":4,"Flags":0,"Description":"`reason` is a unique, one-word, CamelCase reason for the condition's last transition."},"status":{"Type":4,"Flags":0,"Description":"`status` is the status of the condition. Can be True, False, Unknown. Required."},"type":{"Type":4,"Flags":0,"Description":"`type` is the type of the condition. Required."}}}},{"3":{"ItemType":48}},{"2":{"Name":"flowcontrol.apiserver.k8s.io/PriorityLevelConfiguration","Properties":{"kind":{"Type":38,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":39,"Flags":10,"Description":"The api version."},"metadata":{"Type":42,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":43,"Flags":0,"Description":"PriorityLevelConfigurationSpec specifies the configuration of a priority level."},"status":{"Type":47,"Flags":0,"Description":"PriorityLevelConfigurationStatus represents the current state of a \"request-priority\"."}}}},{"4":{"Name":"flowcontrol.apiserver.k8s.io/PriorityLevelConfiguration@v1beta2","ScopeType":0,"Body":50,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "FlowSchema" + }, + { + "$type": "StringLiteralType", + "value": "flowcontrol.apiserver.k8s.io/v1beta2" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta2FlowSchemaSpec", + "properties": { + "distinguisherMethod": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher." + }, + "matchingPrecedence": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default." + }, + "priorityLevelConfiguration": { + "type": { + "$ref": "#/9" + }, + "flags": 1, + "description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used." + }, + "rules": { + "type": { + "$ref": "#/27" + }, + "flags": 0, + "description": "`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta2FlowDistinguisherMethod", + "properties": { + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta2PriorityLevelConfigurationReference", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "`name` is the name of the priority level configuration being referenced Required." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta2PolicyRulesWithSubjects", + "properties": { + "nonResourceRules": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL." + }, + "resourceRules": { + "type": { + "$ref": "#/21" + }, + "flags": 0, + "description": "`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty." + }, + "subjects": { + "type": { + "$ref": "#/26" + }, + "flags": 1, + "description": "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta2NonResourcePolicyRule", + "properties": { + "nonResourceURLs": { + "type": { + "$ref": "#/12" + }, + "flags": 1, + "description": "`nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example:\n - \"/healthz\" is legal\n - \"/hea*\" is illegal\n - \"/hea\" is legal but matches nothing\n - \"/hea/*\" also matches nothing\n - \"/healthz/*\" matches all per-component health checks.\n\"*\" matches all non-resource urls. if it is present, it must be the only entry. Required." + }, + "verbs": { + "type": { + "$ref": "#/13" + }, + "flags": 1, + "description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs. If it is present, it must be the only entry. Required." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/11" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta2ResourcePolicyRule", + "properties": { + "apiGroups": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "`apiGroups` is a list of matching API groups and may not be empty. \"*\" matches all API groups and, if present, must be the only entry. Required." + }, + "clusterScope": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list." + }, + "namespaces": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "`namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains \"*\". Note that \"*\" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true." + }, + "resources": { + "type": { + "$ref": "#/19" + }, + "flags": 1, + "description": "`resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ \"services\", \"nodes/status\" ]. This list may not be empty. \"*\" matches all resources and, if present, must be the only entry. Required." + }, + "verbs": { + "type": { + "$ref": "#/20" + }, + "flags": 1, + "description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs and, if present, must be the only entry. Required." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "BooleanType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/15" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta2Subject", + "properties": { + "group": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "GroupSubject holds detailed information for group-kind subject." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "`kind` indicates which one of the other fields is non-empty. Required" + }, + "serviceAccount": { + "type": { + "$ref": "#/24" + }, + "flags": 0, + "description": "ServiceAccountSubject holds detailed information for service-account-kind subject." + }, + "user": { + "type": { + "$ref": "#/25" + }, + "flags": 0, + "description": "UserSubject holds detailed information for user-kind subject." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta2GroupSubject", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta2ServiceAccountSubject", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "`namespace` is the namespace of matching ServiceAccount objects. Required." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta2UserSubject", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "`name` is the username that matches, or \"*\" to match all usernames. Required." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/22" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/10" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta2FlowSchemaStatus", + "properties": { + "conditions": { + "type": { + "$ref": "#/30" + }, + "flags": 0, + "description": "`conditions` is a list of the current states of FlowSchema." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta2FlowSchemaCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "`message` is a human-readable message indicating details about last transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "`status` is the status of the condition. Can be True, False, Unknown. Required." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "`type` is the type of the condition. Required." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/29" + } + }, + { + "$type": "ObjectType", + "name": "flowcontrol.apiserver.k8s.io/FlowSchema", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like." + }, + "status": { + "type": { + "$ref": "#/28" + }, + "flags": 0, + "description": "FlowSchemaStatus represents the current state of a FlowSchema." + } + } + }, + { + "$type": "ResourceType", + "name": "flowcontrol.apiserver.k8s.io/FlowSchema@v1beta2", + "scopeType": 0, + "body": { + "$ref": "#/31" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "PriorityLevelConfiguration" + }, + { + "$type": "StringLiteralType", + "value": "flowcontrol.apiserver.k8s.io/v1beta2" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/35" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/36" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta2PriorityLevelConfigurationSpec", + "properties": { + "limited": { + "type": { + "$ref": "#/39" + }, + "flags": 0, + "description": "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n - How are requests for this priority level limited?\n - What should be done with requests that exceed the limit?" + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "`type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta2LimitedPriorityLevelConfiguration", + "properties": { + "assuredConcurrencyShares": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "`assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time. ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) --- the number of requests that may be executing at a time --- for each such priority level:\n\n ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) )\n\nbigger numbers of ACS mean more reserved concurrent requests (at the expense of every other PL). This field has a default value of 30." + }, + "limitResponse": { + "type": { + "$ref": "#/40" + }, + "flags": 0, + "description": "LimitResponse defines how to handle requests that can not be executed right now." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta2LimitResponse", + "properties": { + "queuing": { + "type": { + "$ref": "#/41" + }, + "flags": 0, + "description": "QueuingConfiguration holds the configuration parameters for queuing" + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "`type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta2QueuingConfiguration", + "properties": { + "handSize": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "`handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8." + }, + "queueLengthLimit": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50." + }, + "queues": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta2PriorityLevelConfigurationStatus", + "properties": { + "conditions": { + "type": { + "$ref": "#/44" + }, + "flags": 0, + "description": "`conditions` is the current state of \"request-priority\"." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiFlowcontrolV1Beta2PriorityLevelConfigurationCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "`message` is a human-readable message indicating details about last transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "`status` is the status of the condition. Can be True, False, Unknown. Required." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "`type` is the type of the condition. Required." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/43" + } + }, + { + "$type": "ObjectType", + "name": "flowcontrol.apiserver.k8s.io/PriorityLevelConfiguration", + "properties": { + "kind": { + "type": { + "$ref": "#/33" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/34" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/37" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/38" + }, + "flags": 0, + "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level." + }, + "status": { + "type": { + "$ref": "#/42" + }, + "flags": 0, + "description": "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\"." + } + } + }, + { + "$type": "ResourceType", + "name": "flowcontrol.apiserver.k8s.io/PriorityLevelConfiguration@v1beta2", + "scopeType": 0, + "body": { + "$ref": "#/45" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/generated/kubernetes/internal.apiserver.k8s.io/v1alpha1/types.json b/generated/kubernetes/internal.apiserver.k8s.io/v1alpha1/types.json index f9ea404d..f635d8a5 100644 --- a/generated/kubernetes/internal.apiserver.k8s.io/v1alpha1/types.json +++ b/generated/kubernetes/internal.apiserver.k8s.io/v1alpha1/types.json @@ -1 +1,232 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"StorageVersion"}},{"6":{"Value":"internal.apiserver.k8s.io/v1alpha1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiApiserverinternalV1Alpha1StorageVersionStatus","Properties":{"commonEncodingVersion":{"Type":4,"Flags":0,"Description":"If all API server instances agree on the same encoding storage version, then this field is set to that version. Otherwise this field is left empty. API servers should finish updating its storageVersionStatus entry before serving write operations, so that this field will be in sync with the reality."},"conditions":{"Type":15,"Flags":0,"Description":"The latest available observations of the storageVersion's state."},"storageVersions":{"Type":18,"Flags":0,"Description":"The reported versions per API server instance."}}}},{"2":{"Name":"IoK8SApiApiserverinternalV1Alpha1StorageVersionCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"A human readable message indicating details about the transition."},"observedGeneration":{"Type":3,"Flags":0,"Description":"If set, this represents the .metadata.generation that the condition was set based upon."},"reason":{"Type":4,"Flags":1,"Description":"The reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"Status of the condition, one of True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"Type of the condition."}}}},{"3":{"ItemType":14}},{"2":{"Name":"IoK8SApiApiserverinternalV1Alpha1ServerStorageVersion","Properties":{"apiServerID":{"Type":4,"Flags":0,"Description":"The ID of the reporting API server."},"decodableVersions":{"Type":17,"Flags":0,"Description":"The API server can decode objects encoded in these versions. The encodingVersion must be included in the decodableVersions."},"encodingVersion":{"Type":4,"Flags":0,"Description":"The API server encodes the object to this version when persisting it in the backend (e.g., etcd)."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":16}},{"2":{"Name":"internal.apiserver.k8s.io/StorageVersion","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":0,"Flags":1,"Description":"Any object"},"status":{"Type":13,"Flags":1,"Description":"API server instances report the versions they can decode and the version they encode objects to when persisting objects in the backend."}}}},{"4":{"Name":"internal.apiserver.k8s.io/StorageVersion@v1alpha1","ScopeType":0,"Body":19,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "StorageVersion" + }, + { + "$type": "StringLiteralType", + "value": "internal.apiserver.k8s.io/v1alpha1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "AnyType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiApiserverinternalV1Alpha1StorageVersionStatus", + "properties": { + "commonEncodingVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If all API server instances agree on the same encoding storage version, then this field is set to that version. Otherwise this field is left empty. API servers should finish updating its storageVersionStatus entry before serving write operations, so that this field will be in sync with the reality." + }, + "conditions": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "The latest available observations of the storageVersion's state." + }, + "storageVersions": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "The reported versions per API server instance." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiApiserverinternalV1Alpha1StorageVersionCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "A human readable message indicating details about the transition." + }, + "observedGeneration": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "If set, this represents the .metadata.generation that the condition was set based upon." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Status of the condition, one of True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type of the condition." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/8" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiApiserverinternalV1Alpha1ServerStorageVersion", + "properties": { + "apiServerID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The ID of the reporting API server." + }, + "decodableVersions": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "The API server can decode objects encoded in these versions. The encodingVersion must be included in the decodableVersions." + }, + "encodingVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The API server encodes the object to this version when persisting it in the backend (e.g., etcd)." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/11" + } + }, + { + "$type": "ObjectType", + "name": "internal.apiserver.k8s.io/StorageVersion", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 1, + "description": "Any object" + }, + "status": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "API server instances report the versions they can decode and the version they encode objects to when persisting objects in the backend." + } + } + }, + { + "$type": "ResourceType", + "name": "internal.apiserver.k8s.io/StorageVersion@v1alpha1", + "scopeType": 0, + "body": { + "$ref": "#/14" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/generated/kubernetes/log.out b/generated/kubernetes/log.out index 38eeb63a..7ae5fce3 100644 --- a/generated/kubernetes/log.out +++ b/generated/kubernetes/log.out @@ -1,16 +1,16 @@ -AutoRest code generation utility [cli version: 3.6.2; node: v16.17.1] +AutoRest code generation utility [cli version: 3.7.1; node: v20.5.1] (C) 2018 Microsoft Corporation. https://aka.ms/autorest warning | SkippedSemanticValidation | Semantic validation was skipped. warning | PreCheck/CheckDuplicateSchemas | Checking for duplicate schemas, this could take a (long) while. Run with --verbose for more detail. warning | Modeler/MissingType | The schema 'io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool' has no type or format information whatsoever. Location: - file:///workspaces/bicep-types-k8s/input/specification/kubernetes/resource-manager/kubernetes/preview/2021-01-01-preview/kubernetes.json#/components/schemas/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool + file:///Users/ant/Code/bicep-types-k8s/input/specification/kubernetes/resource-manager/kubernetes/preview/2021-01-01-preview/kubernetes.json#/components/schemas/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool warning | Modeler/MissingType | The schema 'io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON' has no type or format information whatsoever. Location: - file:///workspaces/bicep-types-k8s/input/specification/kubernetes/resource-manager/kubernetes/preview/2021-01-01-preview/kubernetes.json#/components/schemas/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON + file:///Users/ant/Code/bicep-types-k8s/input/specification/kubernetes/resource-manager/kubernetes/preview/2021-01-01-preview/kubernetes.json#/components/schemas/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON warning | Modeler/MissingType | The schema 'io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray' has no type or format information whatsoever. Location: - file:///workspaces/bicep-types-k8s/input/specification/kubernetes/resource-manager/kubernetes/preview/2021-01-01-preview/kubernetes.json#/components/schemas/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray + file:///Users/ant/Code/bicep-types-k8s/input/specification/kubernetes/resource-manager/kubernetes/preview/2021-01-01-preview/kubernetes.json#/components/schemas/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray warning | Modeler/MissingType | The schema 'io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray' has no type or format information whatsoever. Location: - file:///workspaces/bicep-types-k8s/input/specification/kubernetes/resource-manager/kubernetes/preview/2021-01-01-preview/kubernetes.json#/components/schemas/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray + file:///Users/ant/Code/bicep-types-k8s/input/specification/kubernetes/resource-manager/kubernetes/preview/2021-01-01-preview/kubernetes.json#/components/schemas/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray warning | Unrecognized property type: byte-array. Returning 'any'. warning | Unrecognized property type: any-object. Returning 'any'. warning | Unrecognized property type: byte-array. Returning 'any'. diff --git a/generated/kubernetes/networking.k8s.io/v1/types.json b/generated/kubernetes/networking.k8s.io/v1/types.json index cae397b1..f19a7ce5 100644 --- a/generated/kubernetes/networking.k8s.io/v1/types.json +++ b/generated/kubernetes/networking.k8s.io/v1/types.json @@ -1 +1,1026 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"IngressClass"}},{"6":{"Value":"networking.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiNetworkingV1IngressClassSpec","Properties":{"controller":{"Type":4,"Flags":0,"Description":"Controller refers to the name of the controller that should handle this class. This allows for different \"flavors\" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. \"acme.io/ingress-controller\". This field is immutable."},"parameters":{"Type":14,"Flags":0,"Description":"IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource."}}}},{"2":{"Name":"IoK8SApiNetworkingV1IngressClassParametersReference","Properties":{"apiGroup":{"Type":4,"Flags":0,"Description":"APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required."},"kind":{"Type":4,"Flags":1,"Description":"Kind is the type of resource being referenced."},"name":{"Type":4,"Flags":1,"Description":"Name is the name of resource being referenced."},"namespace":{"Type":4,"Flags":0,"Description":"Namespace is the namespace of the resource being referenced. This field is required when scope is set to \"Namespace\" and must be unset when scope is set to \"Cluster\"."},"scope":{"Type":4,"Flags":0,"Description":"Scope represents if this refers to a cluster or namespace scoped resource. This may be set to \"Cluster\" (default) or \"Namespace\"."}}}},{"2":{"Name":"networking.k8s.io/IngressClass","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":0,"Description":"IngressClassSpec provides information about the class of an Ingress."}}}},{"4":{"Name":"networking.k8s.io/IngressClass@v1","ScopeType":0,"Body":15,"Flags":0}},{"6":{"Value":"Ingress"}},{"6":{"Value":"networking.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":19,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":20,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiNetworkingV1IngressSpec","Properties":{"defaultBackend":{"Type":23,"Flags":0,"Description":"IngressBackend describes all endpoints for a given service and port."},"ingressClassName":{"Type":4,"Flags":0,"Description":"IngressClassName is the name of an IngressClass cluster resource. Ingress controller implementations use this field to know whether they should be serving this Ingress resource, by a transitive connection (controller -> IngressClass -> Ingress resource). Although the `kubernetes.io/ingress.class` annotation (simple constant name) was never formally defined, it was widely supported by Ingress controllers to create a direct binding between Ingress controller and Ingress resources. Newly created Ingress resources should prefer using the field. However, even though the annotation is officially deprecated, for backwards compatibility reasons, ingress controllers should still honor that annotation if present."},"rules":{"Type":31,"Flags":0,"Description":"A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend."},"tls":{"Type":34,"Flags":0,"Description":"TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI."}}}},{"2":{"Name":"IoK8SApiNetworkingV1IngressBackend","Properties":{"resource":{"Type":24,"Flags":0,"Description":"TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace."},"service":{"Type":25,"Flags":0,"Description":"IngressServiceBackend references a Kubernetes Service as a Backend."}}}},{"2":{"Name":"IoK8SApiCoreV1TypedLocalObjectReference","Properties":{"apiGroup":{"Type":4,"Flags":0,"Description":"APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required."},"kind":{"Type":4,"Flags":1,"Description":"Kind is the type of resource being referenced"},"name":{"Type":4,"Flags":1,"Description":"Name is the name of resource being referenced"}}}},{"2":{"Name":"IoK8SApiNetworkingV1IngressServiceBackend","Properties":{"name":{"Type":4,"Flags":1,"Description":"Name is the referenced service. The service must exist in the same namespace as the Ingress object."},"port":{"Type":26,"Flags":0,"Description":"ServiceBackendPort is the service port being referenced."}}}},{"2":{"Name":"IoK8SApiNetworkingV1ServiceBackendPort","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name is the name of the port on the Service. This is a mutually exclusive setting with \"Number\"."},"number":{"Type":3,"Flags":0,"Description":"Number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with \"Name\"."}}}},{"2":{"Name":"IoK8SApiNetworkingV1IngressRule","Properties":{"host":{"Type":4,"Flags":0,"Description":"Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to\n the IP in the Spec of the parent Ingress.\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.\n\nHost can be \"precise\" which is a domain name without the terminating dot of a network host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain name prefixed with a single wildcard label (e.g. \"*.foo.com\"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == \"*\"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule."},"http":{"Type":28,"Flags":0,"Description":"HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'."}}}},{"2":{"Name":"IoK8SApiNetworkingV1HttpIngressRuleValue","Properties":{"paths":{"Type":30,"Flags":1,"Description":"A collection of paths that map requests to backends."}}}},{"2":{"Name":"IoK8SApiNetworkingV1HttpIngressPath","Properties":{"backend":{"Type":23,"Flags":1,"Description":"IngressBackend describes all endpoints for a given service and port."},"path":{"Type":4,"Flags":0,"Description":"Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/' and must be present when using PathType with value \"Exact\" or \"Prefix\"."},"pathType":{"Type":4,"Flags":1,"Description":"PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types."}}}},{"3":{"ItemType":29}},{"3":{"ItemType":27}},{"2":{"Name":"IoK8SApiNetworkingV1IngressTLS","Properties":{"hosts":{"Type":33,"Flags":0,"Description":"Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified."},"secretName":{"Type":4,"Flags":0,"Description":"SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":32}},{"2":{"Name":"IoK8SApiNetworkingV1IngressStatus","Properties":{"loadBalancer":{"Type":36,"Flags":0,"Description":"LoadBalancerStatus represents the status of a load-balancer."}}}},{"2":{"Name":"IoK8SApiCoreV1LoadBalancerStatus","Properties":{"ingress":{"Type":40,"Flags":0,"Description":"Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points."}}}},{"2":{"Name":"IoK8SApiCoreV1LoadBalancerIngress","Properties":{"hostname":{"Type":4,"Flags":0,"Description":"Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)"},"ip":{"Type":4,"Flags":0,"Description":"IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)"},"ports":{"Type":39,"Flags":0,"Description":"Ports is a list of records of service ports If used, every port defined in the service should have an entry in it"}}}},{"2":{"Name":"IoK8SApiCoreV1PortStatus","Properties":{"error":{"Type":4,"Flags":0,"Description":"Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use\n CamelCase names\n- cloud provider specific error values must have names that comply with the\n format foo.example.com/CamelCase."},"port":{"Type":3,"Flags":1,"Description":"Port is the port number of the service port of which status is recorded here"},"protocol":{"Type":4,"Flags":1,"Description":"Protocol is the protocol of the service port of which status is recorded here The supported values are: \"TCP\", \"UDP\", \"SCTP\""}}}},{"3":{"ItemType":38}},{"3":{"ItemType":37}},{"2":{"Name":"networking.k8s.io/Ingress","Properties":{"kind":{"Type":17,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":18,"Flags":10,"Description":"The api version."},"metadata":{"Type":21,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":22,"Flags":0,"Description":"IngressSpec describes the Ingress the user wishes to exist."},"status":{"Type":35,"Flags":0,"Description":"IngressStatus describe the current state of the Ingress."}}}},{"4":{"Name":"networking.k8s.io/Ingress@v1","ScopeType":0,"Body":41,"Flags":0}},{"6":{"Value":"NetworkPolicy"}},{"6":{"Value":"networking.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":45,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":46,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiNetworkingV1NetworkPolicySpec","Properties":{"egress":{"Type":61,"Flags":0,"Description":"List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8"},"ingress":{"Type":65,"Flags":0,"Description":"List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)"},"podSelector":{"Type":55,"Flags":1,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"policyTypes":{"Type":66,"Flags":0,"Description":"List of rule types that the NetworkPolicy relates to. Valid options are [\"Ingress\"], [\"Egress\"], or [\"Ingress\", \"Egress\"]. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an Egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8"}}}},{"2":{"Name":"IoK8SApiNetworkingV1NetworkPolicyEgressRule","Properties":{"ports":{"Type":51,"Flags":0,"Description":"List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list."},"to":{"Type":60,"Flags":0,"Description":"List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list."}}}},{"2":{"Name":"IoK8SApiNetworkingV1NetworkPolicyPort","Properties":{"endPort":{"Type":3,"Flags":0,"Description":"If set, indicates that the range of ports from port to endPort, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port."},"port":{"Type":4,"Flags":0,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."},"protocol":{"Type":4,"Flags":0,"Description":"The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP."}}}},{"3":{"ItemType":50}},{"2":{"Name":"IoK8SApiNetworkingV1NetworkPolicyPeer","Properties":{"ipBlock":{"Type":53,"Flags":0,"Description":"IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\",\"2001:db9::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule."},"namespaceSelector":{"Type":55,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"podSelector":{"Type":55,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."}}}},{"2":{"Name":"IoK8SApiNetworkingV1IPBlock","Properties":{"cidr":{"Type":4,"Flags":1,"Description":"CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\" or \"2001:db9::/64\""},"except":{"Type":54,"Flags":0,"Description":"Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" or \"2001:db9::/64\" Except values will be rejected if they are outside the CIDR range"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelector","Properties":{"matchExpressions":{"Type":58,"Flags":0,"Description":"matchExpressions is a list of label selector requirements. The requirements are ANDed."},"matchLabels":{"Type":59,"Flags":0,"Description":"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."},"values":{"Type":57,"Flags":0,"Description":"values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":56}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels","Properties":{},"AdditionalProperties":4}},{"3":{"ItemType":52}},{"3":{"ItemType":49}},{"2":{"Name":"IoK8SApiNetworkingV1NetworkPolicyIngressRule","Properties":{"from":{"Type":63,"Flags":0,"Description":"List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list."},"ports":{"Type":64,"Flags":0,"Description":"List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list."}}}},{"3":{"ItemType":52}},{"3":{"ItemType":50}},{"3":{"ItemType":62}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiNetworkingV1NetworkPolicyStatus","Properties":{"conditions":{"Type":69,"Flags":0,"Description":"Conditions holds an array of metav1.Condition that describe the state of the NetworkPolicy. Current service state"}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1Condition","Properties":{"lastTransitionTime":{"Type":4,"Flags":1,"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."},"message":{"Type":4,"Flags":1,"Description":"message is a human readable message indicating details about the transition. This may be an empty string."},"observedGeneration":{"Type":3,"Flags":0,"Description":"observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance."},"reason":{"Type":4,"Flags":1,"Description":"reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty."},"status":{"Type":4,"Flags":1,"Description":"status of the condition, one of True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"type of condition in CamelCase or in foo.example.com/CamelCase."}}}},{"3":{"ItemType":68}},{"2":{"Name":"networking.k8s.io/NetworkPolicy","Properties":{"kind":{"Type":43,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":44,"Flags":10,"Description":"The api version."},"metadata":{"Type":47,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":48,"Flags":0,"Description":"NetworkPolicySpec provides the specification of a NetworkPolicy"},"status":{"Type":67,"Flags":0,"Description":"NetworkPolicyStatus describe the current state of the NetworkPolicy."}}}},{"4":{"Name":"networking.k8s.io/NetworkPolicy@v1","ScopeType":0,"Body":70,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "IngressClass" + }, + { + "$type": "StringLiteralType", + "value": "networking.k8s.io/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1IngressClassSpec", + "properties": { + "controller": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Controller refers to the name of the controller that should handle this class. This allows for different \"flavors\" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. \"acme.io/ingress-controller\". This field is immutable." + }, + "parameters": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1IngressClassParametersReference", + "properties": { + "apiGroup": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind is the type of resource being referenced." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the name of resource being referenced." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace is the namespace of the resource being referenced. This field is required when scope is set to \"Namespace\" and must be unset when scope is set to \"Cluster\"." + }, + "scope": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Scope represents if this refers to a cluster or namespace scoped resource. This may be set to \"Cluster\" (default) or \"Namespace\"." + } + } + }, + { + "$type": "ObjectType", + "name": "networking.k8s.io/IngressClass", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "IngressClassSpec provides information about the class of an Ingress." + } + } + }, + { + "$type": "ResourceType", + "name": "networking.k8s.io/IngressClass@v1", + "scopeType": 0, + "body": { + "$ref": "#/8" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "Ingress" + }, + { + "$type": "StringLiteralType", + "value": "networking.k8s.io/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1IngressSpec", + "properties": { + "defaultBackend": { + "type": { + "$ref": "#/16" + }, + "flags": 0, + "description": "IngressBackend describes all endpoints for a given service and port." + }, + "ingressClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IngressClassName is the name of an IngressClass cluster resource. Ingress controller implementations use this field to know whether they should be serving this Ingress resource, by a transitive connection (controller -> IngressClass -> Ingress resource). Although the `kubernetes.io/ingress.class` annotation (simple constant name) was never formally defined, it was widely supported by Ingress controllers to create a direct binding between Ingress controller and Ingress resources. Newly created Ingress resources should prefer using the field. However, even though the annotation is officially deprecated, for backwards compatibility reasons, ingress controllers should still honor that annotation if present." + }, + "rules": { + "type": { + "$ref": "#/25" + }, + "flags": 0, + "description": "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend." + }, + "tls": { + "type": { + "$ref": "#/28" + }, + "flags": 0, + "description": "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1IngressBackend", + "properties": { + "resource": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace." + }, + "service": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "IngressServiceBackend references a Kubernetes Service as a Backend." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TypedLocalObjectReference", + "properties": { + "apiGroup": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind is the type of resource being referenced" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the name of resource being referenced" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1IngressServiceBackend", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the referenced service. The service must exist in the same namespace as the Ingress object." + }, + "port": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "ServiceBackendPort is the service port being referenced." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1ServiceBackendPort", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name is the name of the port on the Service. This is a mutually exclusive setting with \"Number\"." + }, + "number": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "Number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with \"Name\"." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1IngressRule", + "properties": { + "host": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to\n the IP in the Spec of the parent Ingress.\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.\n\nHost can be \"precise\" which is a domain name without the terminating dot of a network host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain name prefixed with a single wildcard label (e.g. \"*.foo.com\"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == \"*\"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule." + }, + "http": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1HttpIngressRuleValue", + "properties": { + "paths": { + "type": { + "$ref": "#/24" + }, + "flags": 1, + "description": "A collection of paths that map requests to backends." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1HttpIngressPath", + "properties": { + "backend": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "IngressBackend describes all endpoints for a given service and port." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/' and must be present when using PathType with value \"Exact\" or \"Prefix\"." + }, + "pathType": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/23" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/21" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1IngressTLS", + "properties": { + "hosts": { + "type": { + "$ref": "#/27" + }, + "flags": 0, + "description": "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified." + }, + "secretName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/26" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1IngressStatus", + "properties": { + "loadBalancer": { + "type": { + "$ref": "#/30" + }, + "flags": 0, + "description": "LoadBalancerStatus represents the status of a load-balancer." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LoadBalancerStatus", + "properties": { + "ingress": { + "type": { + "$ref": "#/34" + }, + "flags": 0, + "description": "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LoadBalancerIngress", + "properties": { + "hostname": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)" + }, + "ip": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)" + }, + "ports": { + "type": { + "$ref": "#/33" + }, + "flags": 0, + "description": "Ports is a list of records of service ports If used, every port defined in the service should have an entry in it" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PortStatus", + "properties": { + "error": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use\n CamelCase names\n- cloud provider specific error values must have names that comply with the\n format foo.example.com/CamelCase." + }, + "port": { + "type": { + "$ref": "#/20" + }, + "flags": 1, + "description": "Port is the port number of the service port of which status is recorded here" + }, + "protocol": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Protocol is the protocol of the service port of which status is recorded here The supported values are: \"TCP\", \"UDP\", \"SCTP\"" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/32" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/31" + } + }, + { + "$type": "ObjectType", + "name": "networking.k8s.io/Ingress", + "properties": { + "kind": { + "type": { + "$ref": "#/10" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/11" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/15" + }, + "flags": 0, + "description": "IngressSpec describes the Ingress the user wishes to exist." + }, + "status": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "IngressStatus describe the current state of the Ingress." + } + } + }, + { + "$type": "ResourceType", + "name": "networking.k8s.io/Ingress@v1", + "scopeType": 0, + "body": { + "$ref": "#/35" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "NetworkPolicy" + }, + { + "$type": "StringLiteralType", + "value": "networking.k8s.io/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/39" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/40" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1NetworkPolicySpec", + "properties": { + "egress": { + "type": { + "$ref": "#/55" + }, + "flags": 0, + "description": "List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8" + }, + "ingress": { + "type": { + "$ref": "#/59" + }, + "flags": 0, + "description": "List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)" + }, + "podSelector": { + "type": { + "$ref": "#/49" + }, + "flags": 1, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "policyTypes": { + "type": { + "$ref": "#/60" + }, + "flags": 0, + "description": "List of rule types that the NetworkPolicy relates to. Valid options are [\"Ingress\"], [\"Egress\"], or [\"Ingress\", \"Egress\"]. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an Egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1NetworkPolicyEgressRule", + "properties": { + "ports": { + "type": { + "$ref": "#/45" + }, + "flags": 0, + "description": "List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list." + }, + "to": { + "type": { + "$ref": "#/54" + }, + "flags": 0, + "description": "List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1NetworkPolicyPort", + "properties": { + "endPort": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "If set, indicates that the range of ports from port to endPort, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port." + }, + "port": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + }, + "protocol": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/44" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1NetworkPolicyPeer", + "properties": { + "ipBlock": { + "type": { + "$ref": "#/47" + }, + "flags": 0, + "description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\",\"2001:db9::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule." + }, + "namespaceSelector": { + "type": { + "$ref": "#/49" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "podSelector": { + "type": { + "$ref": "#/49" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1IPBlock", + "properties": { + "cidr": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\" or \"2001:db9::/64\"" + }, + "except": { + "type": { + "$ref": "#/48" + }, + "flags": 0, + "description": "Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" or \"2001:db9::/64\" Except values will be rejected if they are outside the CIDR range" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelector", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/52" + }, + "flags": 0, + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." + }, + "matchLabels": { + "type": { + "$ref": "#/53" + }, + "flags": 0, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": { + "$ref": "#/51" + }, + "flags": 0, + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/50" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/46" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/43" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1NetworkPolicyIngressRule", + "properties": { + "from": { + "type": { + "$ref": "#/57" + }, + "flags": 0, + "description": "List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list." + }, + "ports": { + "type": { + "$ref": "#/58" + }, + "flags": 0, + "description": "List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/46" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/44" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/56" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1NetworkPolicyStatus", + "properties": { + "conditions": { + "type": { + "$ref": "#/63" + }, + "flags": 0, + "description": "Conditions holds an array of metav1.Condition that describe the state of the NetworkPolicy. Current service state" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1Condition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "message is a human readable message indicating details about the transition. This may be an empty string." + }, + "observedGeneration": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "status of the condition, one of True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type of condition in CamelCase or in foo.example.com/CamelCase." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/62" + } + }, + { + "$type": "ObjectType", + "name": "networking.k8s.io/NetworkPolicy", + "properties": { + "kind": { + "type": { + "$ref": "#/37" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/38" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/41" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/42" + }, + "flags": 0, + "description": "NetworkPolicySpec provides the specification of a NetworkPolicy" + }, + "status": { + "type": { + "$ref": "#/61" + }, + "flags": 0, + "description": "NetworkPolicyStatus describe the current state of the NetworkPolicy." + } + } + }, + { + "$type": "ResourceType", + "name": "networking.k8s.io/NetworkPolicy@v1", + "scopeType": 0, + "body": { + "$ref": "#/64" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/generated/kubernetes/networking.k8s.io/v1alpha1/types.json b/generated/kubernetes/networking.k8s.io/v1alpha1/types.json index 70b11a1f..4e7491ff 100644 --- a/generated/kubernetes/networking.k8s.io/v1alpha1/types.json +++ b/generated/kubernetes/networking.k8s.io/v1alpha1/types.json @@ -1 +1,220 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"ClusterCIDR"}},{"6":{"Value":"networking.k8s.io/v1alpha1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiNetworkingV1Alpha1ClusterCidrSpec","Properties":{"ipv4":{"Type":4,"Flags":0,"Description":"IPv4 defines an IPv4 IP block in CIDR notation(e.g. \"10.0.0.0/8\"). At least one of IPv4 and IPv6 must be specified. This field is immutable."},"ipv6":{"Type":4,"Flags":0,"Description":"IPv6 defines an IPv6 IP block in CIDR notation(e.g. \"fd12:3456:789a:1::/64\"). At least one of IPv4 and IPv6 must be specified. This field is immutable."},"nodeSelector":{"Type":14,"Flags":0,"Description":"A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms."},"perNodeHostBits":{"Type":3,"Flags":1,"Description":"PerNodeHostBits defines the number of host bits to be configured per node. A subnet mask determines how much of the address is used for network bits and host bits. For example an IPv4 address of 192.168.0.0/24, splits the address into 24 bits for the network portion and 8 bits for the host portion. To allocate 256 IPs, set this field to 8 (a /24 mask for IPv4 or a /120 for IPv6). Minimum value is 4 (16 IPs). This field is immutable."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelector","Properties":{"nodeSelectorTerms":{"Type":20,"Flags":1,"Description":"Required. A list of node selector terms. The terms are ORed."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelectorTerm","Properties":{"matchExpressions":{"Type":18,"Flags":0,"Description":"A list of node selector requirements by node's labels."},"matchFields":{"Type":19,"Flags":0,"Description":"A list of node selector requirements by node's fields."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"The label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."},"values":{"Type":17,"Flags":0,"Description":"An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":16}},{"3":{"ItemType":16}},{"3":{"ItemType":15}},{"2":{"Name":"networking.k8s.io/ClusterCIDR","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":0,"Description":"ClusterCIDRSpec defines the desired state of ClusterCIDR."}}}},{"4":{"Name":"networking.k8s.io/ClusterCIDR@v1alpha1","ScopeType":0,"Body":21,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "ClusterCIDR" + }, + { + "$type": "StringLiteralType", + "value": "networking.k8s.io/v1alpha1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1Alpha1ClusterCidrSpec", + "properties": { + "ipv4": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IPv4 defines an IPv4 IP block in CIDR notation(e.g. \"10.0.0.0/8\"). At least one of IPv4 and IPv6 must be specified. This field is immutable." + }, + "ipv6": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IPv6 defines an IPv6 IP block in CIDR notation(e.g. \"fd12:3456:789a:1::/64\"). At least one of IPv4 and IPv6 must be specified. This field is immutable." + }, + "nodeSelector": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms." + }, + "perNodeHostBits": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "PerNodeHostBits defines the number of host bits to be configured per node. A subnet mask determines how much of the address is used for network bits and host bits. For example an IPv4 address of 192.168.0.0/24, splits the address into 24 bits for the network portion and 8 bits for the host portion. To allocate 256 IPs, set this field to 8 (a /24 mask for IPv4 or a /120 for IPv6). Minimum value is 4 (16 IPs). This field is immutable." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelector", + "properties": { + "nodeSelectorTerms": { + "type": { + "$ref": "#/13" + }, + "flags": 1, + "description": "Required. A list of node selector terms. The terms are ORed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelectorTerm", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "A list of node selector requirements by node's labels." + }, + "matchFields": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "A list of node selector requirements by node's fields." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + }, + "values": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/9" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/9" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/8" + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ObjectType", + "name": "networking.k8s.io/ClusterCIDR", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "ClusterCIDRSpec defines the desired state of ClusterCIDR." + } + } + }, + { + "$type": "ResourceType", + "name": "networking.k8s.io/ClusterCIDR@v1alpha1", + "scopeType": 0, + "body": { + "$ref": "#/15" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/generated/kubernetes/node.k8s.io/v1/types.json b/generated/kubernetes/node.k8s.io/v1/types.json index ba9d3af5..9ff867f4 100644 --- a/generated/kubernetes/node.k8s.io/v1/types.json +++ b/generated/kubernetes/node.k8s.io/v1/types.json @@ -1 +1,212 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"RuntimeClass"}},{"6":{"Value":"node.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiNodeV1Overhead","Properties":{"podFixed":{"Type":14,"Flags":0,"Description":"PodFixed represents the fixed resource overhead associated with running a pod."}}}},{"2":{"Name":"IoK8SApiNodeV1OverheadPodFixed","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiNodeV1Scheduling","Properties":{"nodeSelector":{"Type":16,"Flags":0,"Description":"nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission."},"tolerations":{"Type":18,"Flags":0,"Description":"tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass."}}}},{"2":{"Name":"IoK8SApiNodeV1SchedulingNodeSelector","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1Toleration","Properties":{"effect":{"Type":4,"Flags":0,"Description":"Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute."},"key":{"Type":4,"Flags":0,"Description":"Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys."},"operator":{"Type":4,"Flags":0,"Description":"Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category."},"tolerationSeconds":{"Type":3,"Flags":0,"Description":"TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system."},"value":{"Type":4,"Flags":0,"Description":"Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string."}}}},{"3":{"ItemType":17}},{"2":{"Name":"node.k8s.io/RuntimeClass","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"handler":{"Type":4,"Flags":1,"Description":"Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable."},"overhead":{"Type":13,"Flags":0,"Description":"Overhead structure represents the resource overhead associated with running a pod."},"scheduling":{"Type":15,"Flags":0,"Description":"Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass."}}}},{"4":{"Name":"node.k8s.io/RuntimeClass@v1","ScopeType":0,"Body":19,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "RuntimeClass" + }, + { + "$type": "StringLiteralType", + "value": "node.k8s.io/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNodeV1Overhead", + "properties": { + "podFixed": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "PodFixed represents the fixed resource overhead associated with running a pod." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNodeV1OverheadPodFixed", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNodeV1Scheduling", + "properties": { + "nodeSelector": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission." + }, + "tolerations": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNodeV1SchedulingNodeSelector", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Toleration", + "properties": { + "effect": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute." + }, + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category." + }, + "tolerationSeconds": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/10" + } + }, + { + "$type": "ObjectType", + "name": "node.k8s.io/RuntimeClass", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "handler": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable." + }, + "overhead": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "Overhead structure represents the resource overhead associated with running a pod." + }, + "scheduling": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass." + } + } + }, + { + "$type": "ResourceType", + "name": "node.k8s.io/RuntimeClass@v1", + "scopeType": 0, + "body": { + "$ref": "#/13" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/generated/kubernetes/policy/v1/types.json b/generated/kubernetes/policy/v1/types.json index b72fa0ce..a214097b 100644 --- a/generated/kubernetes/policy/v1/types.json +++ b/generated/kubernetes/policy/v1/types.json @@ -1 +1,327 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"PodDisruptionBudget"}},{"6":{"Value":"policy/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiPolicyV1PodDisruptionBudgetSpec","Properties":{"maxUnavailable":{"Type":4,"Flags":0,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."},"minAvailable":{"Type":4,"Flags":0,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."},"selector":{"Type":14,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelector","Properties":{"matchExpressions":{"Type":17,"Flags":0,"Description":"matchExpressions is a list of label selector requirements. The requirements are ANDed."},"matchLabels":{"Type":18,"Flags":0,"Description":"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."},"values":{"Type":16,"Flags":0,"Description":"values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":15}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiPolicyV1PodDisruptionBudgetStatus","Properties":{"conditions":{"Type":21,"Flags":0,"Description":"Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute\n the number of allowed disruptions. Therefore no disruptions are\n allowed and the status of the condition will be False.\n- InsufficientPods: The number of pods are either at or below the number\n required by the PodDisruptionBudget. No disruptions are\n allowed and the status of the condition will be False.\n- SufficientPods: There are more pods than required by the PodDisruptionBudget.\n The condition will be True, and the number of allowed\n disruptions are provided by the disruptionsAllowed property."},"currentHealthy":{"Type":3,"Flags":1,"Description":"current number of healthy pods"},"desiredHealthy":{"Type":3,"Flags":1,"Description":"minimum desired number of healthy pods"},"disruptedPods":{"Type":22,"Flags":0,"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."},"disruptionsAllowed":{"Type":3,"Flags":1,"Description":"Number of pod disruptions that are currently allowed."},"expectedPods":{"Type":3,"Flags":1,"Description":"total number of pods counted by this disruption budget"},"observedGeneration":{"Type":3,"Flags":0,"Description":"Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1Condition","Properties":{"lastTransitionTime":{"Type":4,"Flags":1,"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."},"message":{"Type":4,"Flags":1,"Description":"message is a human readable message indicating details about the transition. This may be an empty string."},"observedGeneration":{"Type":3,"Flags":0,"Description":"observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance."},"reason":{"Type":4,"Flags":1,"Description":"reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty."},"status":{"Type":4,"Flags":1,"Description":"status of the condition, one of True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"type of condition in CamelCase or in foo.example.com/CamelCase."}}}},{"3":{"ItemType":20}},{"2":{"Name":"IoK8SApiPolicyV1PodDisruptionBudgetStatusDisruptedPods","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"policy/PodDisruptionBudget","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":0,"Description":"PodDisruptionBudgetSpec is a description of a PodDisruptionBudget."},"status":{"Type":19,"Flags":0,"Description":"PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system."}}}},{"4":{"Name":"policy/PodDisruptionBudget@v1","ScopeType":0,"Body":23,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "PodDisruptionBudget" + }, + { + "$type": "StringLiteralType", + "value": "policy/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiPolicyV1PodDisruptionBudgetSpec", + "properties": { + "maxUnavailable": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + }, + "minAvailable": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + }, + "selector": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelector", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." + }, + "matchLabels": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/8" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiPolicyV1PodDisruptionBudgetStatus", + "properties": { + "conditions": { + "type": { + "$ref": "#/15" + }, + "flags": 0, + "description": "Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute\n the number of allowed disruptions. Therefore no disruptions are\n allowed and the status of the condition will be False.\n- InsufficientPods: The number of pods are either at or below the number\n required by the PodDisruptionBudget. No disruptions are\n allowed and the status of the condition will be False.\n- SufficientPods: There are more pods than required by the PodDisruptionBudget.\n The condition will be True, and the number of allowed\n disruptions are provided by the disruptionsAllowed property." + }, + "currentHealthy": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "current number of healthy pods" + }, + "desiredHealthy": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "minimum desired number of healthy pods" + }, + "disruptedPods": { + "type": { + "$ref": "#/16" + }, + "flags": 0, + "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." + }, + "disruptionsAllowed": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "Number of pod disruptions that are currently allowed." + }, + "expectedPods": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "total number of pods counted by this disruption budget" + }, + "observedGeneration": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1Condition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "message is a human readable message indicating details about the transition. This may be an empty string." + }, + "observedGeneration": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "status of the condition, one of True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type of condition in CamelCase or in foo.example.com/CamelCase." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/13" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiPolicyV1PodDisruptionBudgetStatusDisruptedPods", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "policy/PodDisruptionBudget", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget." + }, + "status": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system." + } + } + }, + { + "$type": "ResourceType", + "name": "policy/PodDisruptionBudget@v1", + "scopeType": 0, + "body": { + "$ref": "#/17" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/generated/kubernetes/rbac.authorization.k8s.io/v1/types.json b/generated/kubernetes/rbac.authorization.k8s.io/v1/types.json index 7bd0c7de..a46929c1 100644 --- a/generated/kubernetes/rbac.authorization.k8s.io/v1/types.json +++ b/generated/kubernetes/rbac.authorization.k8s.io/v1/types.json @@ -1 +1,658 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"ClusterRoleBinding"}},{"6":{"Value":"rbac.authorization.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiRbacV1RoleRef","Properties":{"apiGroup":{"Type":4,"Flags":1,"Description":"APIGroup is the group for the resource being referenced"},"kind":{"Type":4,"Flags":1,"Description":"Kind is the type of resource being referenced"},"name":{"Type":4,"Flags":1,"Description":"Name is the name of resource being referenced"}}}},{"2":{"Name":"IoK8SApiRbacV1Subject","Properties":{"apiGroup":{"Type":4,"Flags":0,"Description":"APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects."},"kind":{"Type":4,"Flags":1,"Description":"Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error."},"name":{"Type":4,"Flags":1,"Description":"Name of the object being referenced."},"namespace":{"Type":4,"Flags":0,"Description":"Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error."}}}},{"3":{"ItemType":14}},{"2":{"Name":"rbac.authorization.k8s.io/ClusterRoleBinding","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"roleRef":{"Type":13,"Flags":1,"Description":"RoleRef contains information that points to the role being used"},"subjects":{"Type":15,"Flags":0,"Description":"Subjects holds references to the objects the role applies to."}}}},{"4":{"Name":"rbac.authorization.k8s.io/ClusterRoleBinding@v1","ScopeType":0,"Body":16,"Flags":0}},{"6":{"Value":"ClusterRole"}},{"6":{"Value":"rbac.authorization.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":20,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":21,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiRbacV1AggregationRule","Properties":{"clusterRoleSelectors":{"Type":29,"Flags":0,"Description":"ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added"}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelector","Properties":{"matchExpressions":{"Type":27,"Flags":0,"Description":"matchExpressions is a list of label selector requirements. The requirements are ANDed."},"matchLabels":{"Type":28,"Flags":0,"Description":"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."},"values":{"Type":26,"Flags":0,"Description":"values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":25}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels","Properties":{},"AdditionalProperties":4}},{"3":{"ItemType":24}},{"2":{"Name":"IoK8SApiRbacV1PolicyRule","Properties":{"apiGroups":{"Type":31,"Flags":0,"Description":"APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups."},"nonResourceURLs":{"Type":32,"Flags":0,"Description":"NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both."},"resourceNames":{"Type":33,"Flags":0,"Description":"ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed."},"resources":{"Type":34,"Flags":0,"Description":"Resources is a list of resources this rule applies to. '*' represents all resources."},"verbs":{"Type":35,"Flags":1,"Description":"Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":30}},{"2":{"Name":"rbac.authorization.k8s.io/ClusterRole","Properties":{"kind":{"Type":18,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":19,"Flags":10,"Description":"The api version."},"metadata":{"Type":22,"Flags":1,"Description":"The resource metadata."},"aggregationRule":{"Type":23,"Flags":0,"Description":"AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole"},"rules":{"Type":36,"Flags":0,"Description":"Rules holds all the PolicyRules for this ClusterRole"}}}},{"4":{"Name":"rbac.authorization.k8s.io/ClusterRole@v1","ScopeType":0,"Body":37,"Flags":0}},{"6":{"Value":"RoleBinding"}},{"6":{"Value":"rbac.authorization.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":41,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":42,"Flags":0,"Description":"The annotations for the resource."}}}},{"3":{"ItemType":14}},{"2":{"Name":"rbac.authorization.k8s.io/RoleBinding","Properties":{"kind":{"Type":39,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":40,"Flags":10,"Description":"The api version."},"metadata":{"Type":43,"Flags":1,"Description":"The resource metadata."},"roleRef":{"Type":13,"Flags":1,"Description":"RoleRef contains information that points to the role being used"},"subjects":{"Type":44,"Flags":0,"Description":"Subjects holds references to the objects the role applies to."}}}},{"4":{"Name":"rbac.authorization.k8s.io/RoleBinding@v1","ScopeType":0,"Body":45,"Flags":0}},{"6":{"Value":"Role"}},{"6":{"Value":"rbac.authorization.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":49,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":50,"Flags":0,"Description":"The annotations for the resource."}}}},{"3":{"ItemType":30}},{"2":{"Name":"rbac.authorization.k8s.io/Role","Properties":{"kind":{"Type":47,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":48,"Flags":10,"Description":"The api version."},"metadata":{"Type":51,"Flags":1,"Description":"The resource metadata."},"rules":{"Type":52,"Flags":0,"Description":"Rules holds all the PolicyRules for this Role"}}}},{"4":{"Name":"rbac.authorization.k8s.io/Role@v1","ScopeType":0,"Body":53,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "ClusterRoleBinding" + }, + { + "$type": "StringLiteralType", + "value": "rbac.authorization.k8s.io/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiRbacV1RoleRef", + "properties": { + "apiGroup": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "APIGroup is the group for the resource being referenced" + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind is the type of resource being referenced" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the name of resource being referenced" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiRbacV1Subject", + "properties": { + "apiGroup": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the object being referenced." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/7" + } + }, + { + "$type": "ObjectType", + "name": "rbac.authorization.k8s.io/ClusterRoleBinding", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "roleRef": { + "type": { + "$ref": "#/6" + }, + "flags": 1, + "description": "RoleRef contains information that points to the role being used" + }, + "subjects": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Subjects holds references to the objects the role applies to." + } + } + }, + { + "$type": "ResourceType", + "name": "rbac.authorization.k8s.io/ClusterRoleBinding@v1", + "scopeType": 0, + "body": { + "$ref": "#/9" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "ClusterRole" + }, + { + "$type": "StringLiteralType", + "value": "rbac.authorization.k8s.io/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiRbacV1AggregationRule", + "properties": { + "clusterRoleSelectors": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelector", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." + }, + "matchLabels": { + "type": { + "$ref": "#/21" + }, + "flags": 0, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/18" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/17" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiRbacV1PolicyRule", + "properties": { + "apiGroups": { + "type": { + "$ref": "#/24" + }, + "flags": 0, + "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups." + }, + "nonResourceURLs": { + "type": { + "$ref": "#/25" + }, + "flags": 0, + "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both." + }, + "resourceNames": { + "type": { + "$ref": "#/26" + }, + "flags": 0, + "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed." + }, + "resources": { + "type": { + "$ref": "#/27" + }, + "flags": 0, + "description": "Resources is a list of resources this rule applies to. '*' represents all resources." + }, + "verbs": { + "type": { + "$ref": "#/28" + }, + "flags": 1, + "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/23" + } + }, + { + "$type": "ObjectType", + "name": "rbac.authorization.k8s.io/ClusterRole", + "properties": { + "kind": { + "type": { + "$ref": "#/11" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/12" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/15" + }, + "flags": 1, + "description": "The resource metadata." + }, + "aggregationRule": { + "type": { + "$ref": "#/16" + }, + "flags": 0, + "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole" + }, + "rules": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Rules holds all the PolicyRules for this ClusterRole" + } + } + }, + { + "$type": "ResourceType", + "name": "rbac.authorization.k8s.io/ClusterRole@v1", + "scopeType": 0, + "body": { + "$ref": "#/30" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "RoleBinding" + }, + { + "$type": "StringLiteralType", + "value": "rbac.authorization.k8s.io/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/34" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/35" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/7" + } + }, + { + "$type": "ObjectType", + "name": "rbac.authorization.k8s.io/RoleBinding", + "properties": { + "kind": { + "type": { + "$ref": "#/32" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/33" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/36" + }, + "flags": 1, + "description": "The resource metadata." + }, + "roleRef": { + "type": { + "$ref": "#/6" + }, + "flags": 1, + "description": "RoleRef contains information that points to the role being used" + }, + "subjects": { + "type": { + "$ref": "#/37" + }, + "flags": 0, + "description": "Subjects holds references to the objects the role applies to." + } + } + }, + { + "$type": "ResourceType", + "name": "rbac.authorization.k8s.io/RoleBinding@v1", + "scopeType": 0, + "body": { + "$ref": "#/38" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "Role" + }, + { + "$type": "StringLiteralType", + "value": "rbac.authorization.k8s.io/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/42" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/43" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/23" + } + }, + { + "$type": "ObjectType", + "name": "rbac.authorization.k8s.io/Role", + "properties": { + "kind": { + "type": { + "$ref": "#/40" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/41" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/44" + }, + "flags": 1, + "description": "The resource metadata." + }, + "rules": { + "type": { + "$ref": "#/45" + }, + "flags": 0, + "description": "Rules holds all the PolicyRules for this Role" + } + } + }, + { + "$type": "ResourceType", + "name": "rbac.authorization.k8s.io/Role@v1", + "scopeType": 0, + "body": { + "$ref": "#/46" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/generated/kubernetes/scheduling.k8s.io/v1/types.json b/generated/kubernetes/scheduling.k8s.io/v1/types.json index 3544907a..2a1ce3c5 100644 --- a/generated/kubernetes/scheduling.k8s.io/v1/types.json +++ b/generated/kubernetes/scheduling.k8s.io/v1/types.json @@ -1 +1,126 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"PriorityClass"}},{"6":{"Value":"scheduling.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"scheduling.k8s.io/PriorityClass","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"description":{"Type":4,"Flags":0,"Description":"description is an arbitrary string that usually provides guidelines on when this priority class should be used."},"globalDefault":{"Type":2,"Flags":0,"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."},"preemptionPolicy":{"Type":4,"Flags":0,"Description":"PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset."},"value":{"Type":3,"Flags":1,"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."}}}},{"4":{"Name":"scheduling.k8s.io/PriorityClass@v1","ScopeType":0,"Body":13,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "PriorityClass" + }, + { + "$type": "StringLiteralType", + "value": "scheduling.k8s.io/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "BooleanType" + }, + { + "$type": "IntegerType" + }, + { + "$type": "ObjectType", + "name": "scheduling.k8s.io/PriorityClass", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "description": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used." + }, + "globalDefault": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "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." + }, + "preemptionPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset." + }, + "value": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "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": "ResourceType", + "name": "scheduling.k8s.io/PriorityClass@v1", + "scopeType": 0, + "body": { + "$ref": "#/8" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/generated/kubernetes/storage.k8s.io/v1/types.json b/generated/kubernetes/storage.k8s.io/v1/types.json index ebc88a1a..752cfc25 100644 --- a/generated/kubernetes/storage.k8s.io/v1/types.json +++ b/generated/kubernetes/storage.k8s.io/v1/types.json @@ -1 +1,2321 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"CSIDriver"}},{"6":{"Value":"storage.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiStorageV1CSIDriverSpec","Properties":{"attachRequired":{"Type":2,"Flags":0,"Description":"attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.\n\nThis field is immutable."},"fsGroupPolicy":{"Type":4,"Flags":0,"Description":"Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.\n\nThis field is immutable.\n\nDefaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce."},"podInfoOnMount":{"Type":2,"Flags":0,"Description":"If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" if the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.\n\nThis field is immutable."},"requiresRepublish":{"Type":2,"Flags":0,"Description":"RequiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.\n\nNote: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container."},"seLinuxMount":{"Type":2,"Flags":0,"Description":"SELinuxMount specifies if the CSI driver supports \"-o context\" mount option.\n\nWhen \"true\", the CSI driver must ensure that all volumes provided by this CSI driver can be mounted separately with different `-o context` options. This is typical for storage backends that provide volumes as filesystems on block devices or as independent shared volumes. Kubernetes will call NodeStage / NodePublish with \"-o context=xyz\" mount option when mounting a ReadWriteOncePod volume used in Pod that has explicitly set SELinux context. In the future, it may be expanded to other volume AccessModes. In any case, Kubernetes will ensure that the volume is mounted only with a single SELinux context.\n\nWhen \"false\", Kubernetes won't pass any special SELinux mount options to the driver. This is typical for volumes that represent subdirectories of a bigger shared filesystem.\n\nDefault is \"false\"."},"storageCapacity":{"Type":2,"Flags":0,"Description":"If set to true, storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information.\n\nThe check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.\n\nAlternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published.\n\nThis field was immutable in Kubernetes <= 1.22 and now is mutable."},"tokenRequests":{"Type":15,"Flags":0,"Description":"TokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: \"csi.storage.k8s.io/serviceAccount.tokens\": {\n \"\": {\n \"token\": ,\n \"expirationTimestamp\": ,\n },\n ...\n}\n\nNote: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically."},"volumeLifecycleModes":{"Type":16,"Flags":0,"Description":"volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is \"Persistent\", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is \"Ephemeral\". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future. This field is beta.\n\nThis field is immutable."}}}},{"2":{"Name":"IoK8SApiStorageV1TokenRequest","Properties":{"audience":{"Type":4,"Flags":1,"Description":"Audience is the intended audience of the token in \"TokenRequestSpec\". It will default to the audiences of kube apiserver."},"expirationSeconds":{"Type":3,"Flags":0,"Description":"ExpirationSeconds is the duration of validity of the token in \"TokenRequestSpec\". It has the same default value of \"ExpirationSeconds\" in \"TokenRequestSpec\"."}}}},{"3":{"ItemType":14}},{"3":{"ItemType":4}},{"2":{"Name":"storage.k8s.io/CSIDriver","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":1,"Description":"CSIDriverSpec is the specification of a CSIDriver."}}}},{"4":{"Name":"storage.k8s.io/CSIDriver@v1","ScopeType":0,"Body":17,"Flags":0}},{"6":{"Value":"CSINode"}},{"6":{"Value":"storage.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":21,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":22,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiStorageV1CSINodeSpec","Properties":{"drivers":{"Type":28,"Flags":1,"Description":"drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty."}}}},{"2":{"Name":"IoK8SApiStorageV1CSINodeDriver","Properties":{"allocatable":{"Type":26,"Flags":0,"Description":"VolumeNodeResources is a set of resource limits for scheduling of volumes."},"name":{"Type":4,"Flags":1,"Description":"This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver."},"nodeID":{"Type":4,"Flags":1,"Description":"nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required."},"topologyKeys":{"Type":27,"Flags":0,"Description":"topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology."}}}},{"2":{"Name":"IoK8SApiStorageV1VolumeNodeResources","Properties":{"count":{"Type":3,"Flags":0,"Description":"Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":25}},{"2":{"Name":"storage.k8s.io/CSINode","Properties":{"kind":{"Type":19,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":20,"Flags":10,"Description":"The api version."},"metadata":{"Type":23,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":24,"Flags":1,"Description":"CSINodeSpec holds information about the specification of all CSI drivers installed on a node"}}}},{"4":{"Name":"storage.k8s.io/CSINode@v1","ScopeType":0,"Body":29,"Flags":0}},{"6":{"Value":"CSIStorageCapacity"}},{"6":{"Value":"storage.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":33,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":34,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelector","Properties":{"matchExpressions":{"Type":39,"Flags":0,"Description":"matchExpressions is a list of label selector requirements. The requirements are ANDed."},"matchLabels":{"Type":40,"Flags":0,"Description":"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."},"values":{"Type":38,"Flags":0,"Description":"values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":37}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"storage.k8s.io/CSIStorageCapacity","Properties":{"kind":{"Type":31,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":32,"Flags":10,"Description":"The api version."},"metadata":{"Type":35,"Flags":1,"Description":"The resource metadata."},"capacity":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."},"maximumVolumeSize":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."},"nodeTopology":{"Type":36,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"storageClassName":{"Type":4,"Flags":1,"Description":"The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable."}}}},{"4":{"Name":"storage.k8s.io/CSIStorageCapacity@v1","ScopeType":0,"Body":41,"Flags":0}},{"6":{"Value":"StorageClass"}},{"6":{"Value":"storage.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":45,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":46,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1TopologySelectorTerm","Properties":{"matchLabelExpressions":{"Type":51,"Flags":0,"Description":"A list of topology selector requirements by labels."}}}},{"2":{"Name":"IoK8SApiCoreV1TopologySelectorLabelRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"The label key that the selector applies to."},"values":{"Type":50,"Flags":1,"Description":"An array of string values. One value must match the label to be selected. Each entry in Values is ORed."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":49}},{"3":{"ItemType":48}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiStorageV1StorageClassParameters","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"storage.k8s.io/StorageClass","Properties":{"kind":{"Type":43,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":44,"Flags":10,"Description":"The api version."},"metadata":{"Type":47,"Flags":1,"Description":"The resource metadata."},"allowVolumeExpansion":{"Type":2,"Flags":0,"Description":"AllowVolumeExpansion shows whether the storage class allow volume expand"},"allowedTopologies":{"Type":52,"Flags":0,"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."},"mountOptions":{"Type":53,"Flags":0,"Description":"Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid."},"parameters":{"Type":54,"Flags":0,"Description":"Parameters holds the parameters for the provisioner that should create volumes of this storage class."},"provisioner":{"Type":4,"Flags":1,"Description":"Provisioner indicates the type of the provisioner."},"reclaimPolicy":{"Type":4,"Flags":0,"Description":"Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete."},"volumeBindingMode":{"Type":4,"Flags":0,"Description":"VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature."}}}},{"4":{"Name":"storage.k8s.io/StorageClass@v1","ScopeType":0,"Body":55,"Flags":0}},{"6":{"Value":"VolumeAttachment"}},{"6":{"Value":"storage.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":59,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":60,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiStorageV1VolumeAttachmentSpec","Properties":{"attacher":{"Type":4,"Flags":1,"Description":"Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()."},"nodeName":{"Type":4,"Flags":1,"Description":"The node that the volume should be attached to."},"source":{"Type":63,"Flags":1,"Description":"VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set."}}}},{"2":{"Name":"IoK8SApiStorageV1VolumeAttachmentSource","Properties":{"inlineVolumeSpec":{"Type":64,"Flags":0,"Description":"PersistentVolumeSpec is the specification of a persistent volume."},"persistentVolumeName":{"Type":4,"Flags":0,"Description":"Name of the persistent volume to attach."}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeSpec","Properties":{"accessModes":{"Type":65,"Flags":0,"Description":"accessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes"},"awsElasticBlockStore":{"Type":66,"Flags":0,"Description":"Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling."},"azureDisk":{"Type":67,"Flags":0,"Description":"AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."},"azureFile":{"Type":68,"Flags":0,"Description":"AzureFile represents an Azure File Service mount on the host and bind mount to the pod."},"capacity":{"Type":69,"Flags":0,"Description":"capacity is the description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity"},"cephfs":{"Type":70,"Flags":0,"Description":"Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling."},"cinder":{"Type":73,"Flags":0,"Description":"Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling."},"claimRef":{"Type":74,"Flags":0,"Description":"ObjectReference contains enough information to let you inspect or modify the referred object."},"csi":{"Type":75,"Flags":0,"Description":"Represents storage that is managed by an external CSI volume driver (Beta feature)"},"fc":{"Type":77,"Flags":0,"Description":"Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling."},"flexVolume":{"Type":80,"Flags":0,"Description":"FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin."},"flocker":{"Type":82,"Flags":0,"Description":"Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling."},"gcePersistentDisk":{"Type":83,"Flags":0,"Description":"Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling."},"glusterfs":{"Type":84,"Flags":0,"Description":"Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling."},"hostPath":{"Type":85,"Flags":0,"Description":"Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling."},"iscsi":{"Type":86,"Flags":0,"Description":"ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling."},"local":{"Type":88,"Flags":0,"Description":"Local represents directly-attached storage with node affinity (Beta feature)"},"mountOptions":{"Type":89,"Flags":0,"Description":"mountOptions is the list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options"},"nfs":{"Type":90,"Flags":0,"Description":"Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling."},"nodeAffinity":{"Type":91,"Flags":0,"Description":"VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from."},"persistentVolumeReclaimPolicy":{"Type":4,"Flags":0,"Description":"persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming"},"photonPersistentDisk":{"Type":99,"Flags":0,"Description":"Represents a Photon Controller persistent disk resource."},"portworxVolume":{"Type":100,"Flags":0,"Description":"PortworxVolumeSource represents a Portworx volume resource."},"quobyte":{"Type":101,"Flags":0,"Description":"Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling."},"rbd":{"Type":102,"Flags":0,"Description":"Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling."},"scaleIO":{"Type":104,"Flags":0,"Description":"ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume"},"storageClassName":{"Type":4,"Flags":0,"Description":"storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass."},"storageos":{"Type":105,"Flags":0,"Description":"Represents a StorageOS persistent volume resource."},"volumeMode":{"Type":4,"Flags":0,"Description":"volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec."},"vsphereVolume":{"Type":106,"Flags":0,"Description":"Represents a vSphere volume resource."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1AWSElasticBlockStoreVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"},"partition":{"Type":3,"Flags":0,"Description":"partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty)."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"},"volumeID":{"Type":4,"Flags":1,"Description":"volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"}}}},{"2":{"Name":"IoK8SApiCoreV1AzureDiskVolumeSource","Properties":{"cachingMode":{"Type":4,"Flags":0,"Description":"cachingMode is the Host Caching mode: None, Read Only, Read Write."},"diskName":{"Type":4,"Flags":1,"Description":"diskName is the Name of the data disk in the blob storage"},"diskURI":{"Type":4,"Flags":1,"Description":"diskURI is the URI of data disk in the blob storage"},"fsType":{"Type":4,"Flags":0,"Description":"fsType is Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"kind":{"Type":4,"Flags":0,"Description":"kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."}}}},{"2":{"Name":"IoK8SApiCoreV1AzureFilePersistentVolumeSource","Properties":{"readOnly":{"Type":2,"Flags":0,"Description":"readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretName":{"Type":4,"Flags":1,"Description":"secretName is the name of secret that contains Azure Storage Account Name and Key"},"secretNamespace":{"Type":4,"Flags":0,"Description":"secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod"},"shareName":{"Type":4,"Flags":1,"Description":"shareName is the azure Share Name"}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeSpecCapacity","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1CephFSPersistentVolumeSource","Properties":{"monitors":{"Type":71,"Flags":1,"Description":"monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"path":{"Type":4,"Flags":0,"Description":"path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"secretFile":{"Type":4,"Flags":0,"Description":"secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"secretRef":{"Type":72,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"user":{"Type":4,"Flags":0,"Description":"user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1SecretReference","Properties":{"name":{"Type":4,"Flags":0,"Description":"name is unique within a namespace to reference a secret resource."},"namespace":{"Type":4,"Flags":0,"Description":"namespace defines the space within which the secret name must be unique."}}}},{"2":{"Name":"IoK8SApiCoreV1CinderPersistentVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"},"secretRef":{"Type":72,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"volumeID":{"Type":4,"Flags":1,"Description":"volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"}}}},{"2":{"Name":"IoK8SApiCoreV1ObjectReference","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"API version of the referent."},"fieldPath":{"Type":4,"Flags":0,"Description":"If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object."},"kind":{"Type":4,"Flags":0,"Description":"Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"namespace":{"Type":4,"Flags":0,"Description":"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"},"resourceVersion":{"Type":4,"Flags":0,"Description":"Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"},"uid":{"Type":4,"Flags":0,"Description":"UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids"}}}},{"2":{"Name":"IoK8SApiCoreV1CSIPersistentVolumeSource","Properties":{"controllerExpandSecretRef":{"Type":72,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"controllerPublishSecretRef":{"Type":72,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"driver":{"Type":4,"Flags":1,"Description":"driver is the name of the driver to use for this volume. Required."},"fsType":{"Type":4,"Flags":0,"Description":"fsType to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\"."},"nodeExpandSecretRef":{"Type":72,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"nodePublishSecretRef":{"Type":72,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"nodeStageSecretRef":{"Type":72,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write)."},"volumeAttributes":{"Type":76,"Flags":0,"Description":"volumeAttributes of the volume to publish."},"volumeHandle":{"Type":4,"Flags":1,"Description":"volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required."}}}},{"2":{"Name":"IoK8SApiCoreV1CSIPersistentVolumeSourceVolumeAttributes","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1FCVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"lun":{"Type":3,"Flags":0,"Description":"lun is Optional: FC target lun number"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"targetWWNs":{"Type":78,"Flags":0,"Description":"targetWWNs is Optional: FC target worldwide names (WWNs)"},"wwids":{"Type":79,"Flags":0,"Description":"wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1FlexPersistentVolumeSource","Properties":{"driver":{"Type":4,"Flags":1,"Description":"driver is the name of the driver to use for this volume."},"fsType":{"Type":4,"Flags":0,"Description":"fsType is the Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script."},"options":{"Type":81,"Flags":0,"Description":"options is Optional: this field holds extra command options if any."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":72,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"}}}},{"2":{"Name":"IoK8SApiCoreV1FlexPersistentVolumeSourceOptions","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1FlockerVolumeSource","Properties":{"datasetName":{"Type":4,"Flags":0,"Description":"datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated"},"datasetUUID":{"Type":4,"Flags":0,"Description":"datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset"}}}},{"2":{"Name":"IoK8SApiCoreV1GCEPersistentDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"partition":{"Type":3,"Flags":0,"Description":"partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"pdName":{"Type":4,"Flags":1,"Description":"pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"}}}},{"2":{"Name":"IoK8SApiCoreV1GlusterfsPersistentVolumeSource","Properties":{"endpoints":{"Type":4,"Flags":1,"Description":"endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"endpointsNamespace":{"Type":4,"Flags":0,"Description":"endpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"path":{"Type":4,"Flags":1,"Description":"path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"}}}},{"2":{"Name":"IoK8SApiCoreV1HostPathVolumeSource","Properties":{"path":{"Type":4,"Flags":1,"Description":"path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"},"type":{"Type":4,"Flags":0,"Description":"type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"}}}},{"2":{"Name":"IoK8SApiCoreV1IscsiPersistentVolumeSource","Properties":{"chapAuthDiscovery":{"Type":2,"Flags":0,"Description":"chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication"},"chapAuthSession":{"Type":2,"Flags":0,"Description":"chapAuthSession defines whether support iSCSI Session CHAP authentication"},"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi"},"initiatorName":{"Type":4,"Flags":0,"Description":"initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection."},"iqn":{"Type":4,"Flags":1,"Description":"iqn is Target iSCSI Qualified Name."},"iscsiInterface":{"Type":4,"Flags":0,"Description":"iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."},"lun":{"Type":3,"Flags":1,"Description":"lun is iSCSI Target Lun number."},"portals":{"Type":87,"Flags":0,"Description":"portals is the iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."},"secretRef":{"Type":72,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"targetPortal":{"Type":4,"Flags":1,"Description":"targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1LocalVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a filesystem if unspecified."},"path":{"Type":4,"Flags":1,"Description":"path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...)."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1NFSVolumeSource","Properties":{"path":{"Type":4,"Flags":1,"Description":"path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"},"server":{"Type":4,"Flags":1,"Description":"server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"}}}},{"2":{"Name":"IoK8SApiCoreV1VolumeNodeAffinity","Properties":{"required":{"Type":92,"Flags":0,"Description":"A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelector","Properties":{"nodeSelectorTerms":{"Type":98,"Flags":1,"Description":"Required. A list of node selector terms. The terms are ORed."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelectorTerm","Properties":{"matchExpressions":{"Type":96,"Flags":0,"Description":"A list of node selector requirements by node's labels."},"matchFields":{"Type":97,"Flags":0,"Description":"A list of node selector requirements by node's fields."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"The label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."},"values":{"Type":95,"Flags":0,"Description":"An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":94}},{"3":{"ItemType":94}},{"3":{"ItemType":93}},{"2":{"Name":"IoK8SApiCoreV1PhotonPersistentDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"pdID":{"Type":4,"Flags":1,"Description":"pdID is the ID that identifies Photon Controller persistent disk"}}}},{"2":{"Name":"IoK8SApiCoreV1PortworxVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"volumeID":{"Type":4,"Flags":1,"Description":"volumeID uniquely identifies a Portworx volume"}}}},{"2":{"Name":"IoK8SApiCoreV1QuobyteVolumeSource","Properties":{"group":{"Type":4,"Flags":0,"Description":"group to map volume access to Default is no group"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false."},"registry":{"Type":4,"Flags":1,"Description":"registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes"},"tenant":{"Type":4,"Flags":0,"Description":"tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin"},"user":{"Type":4,"Flags":0,"Description":"user to map volume access to Defaults to serivceaccount user"},"volume":{"Type":4,"Flags":1,"Description":"volume is a string that references an already created Quobyte volume by name."}}}},{"2":{"Name":"IoK8SApiCoreV1RBDPersistentVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd"},"image":{"Type":4,"Flags":1,"Description":"image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"keyring":{"Type":4,"Flags":0,"Description":"keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"monitors":{"Type":103,"Flags":1,"Description":"monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"pool":{"Type":4,"Flags":0,"Description":"pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"secretRef":{"Type":72,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"user":{"Type":4,"Flags":0,"Description":"user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1ScaleIOPersistentVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\""},"gateway":{"Type":4,"Flags":1,"Description":"gateway is the host address of the ScaleIO API Gateway."},"protectionDomain":{"Type":4,"Flags":0,"Description":"protectionDomain is the name of the ScaleIO Protection Domain for the configured storage."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":72,"Flags":1,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"sslEnabled":{"Type":2,"Flags":0,"Description":"sslEnabled is the flag to enable/disable SSL communication with Gateway, default false"},"storageMode":{"Type":4,"Flags":0,"Description":"storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned."},"storagePool":{"Type":4,"Flags":0,"Description":"storagePool is the ScaleIO Storage Pool associated with the protection domain."},"system":{"Type":4,"Flags":1,"Description":"system is the name of the storage system as configured in ScaleIO."},"volumeName":{"Type":4,"Flags":0,"Description":"volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source."}}}},{"2":{"Name":"IoK8SApiCoreV1StorageOSPersistentVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"readOnly":{"Type":2,"Flags":0,"Description":"readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":74,"Flags":0,"Description":"ObjectReference contains enough information to let you inspect or modify the referred object."},"volumeName":{"Type":4,"Flags":0,"Description":"volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace."},"volumeNamespace":{"Type":4,"Flags":0,"Description":"volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created."}}}},{"2":{"Name":"IoK8SApiCoreV1VsphereVirtualDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"storagePolicyID":{"Type":4,"Flags":0,"Description":"storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName."},"storagePolicyName":{"Type":4,"Flags":0,"Description":"storagePolicyName is the storage Policy Based Management (SPBM) profile name."},"volumePath":{"Type":4,"Flags":1,"Description":"volumePath is the path that identifies vSphere volume vmdk"}}}},{"2":{"Name":"IoK8SApiStorageV1VolumeAttachmentStatus","Properties":{"attachError":{"Type":108,"Flags":0,"Description":"VolumeError captures an error encountered during a volume operation."},"attached":{"Type":2,"Flags":1,"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."},"attachmentMetadata":{"Type":109,"Flags":0,"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."},"detachError":{"Type":108,"Flags":0,"Description":"VolumeError captures an error encountered during a volume operation."}}}},{"2":{"Name":"IoK8SApiStorageV1VolumeError","Properties":{"message":{"Type":4,"Flags":0,"Description":"String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information."},"time":{"Type":4,"Flags":0,"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."}}}},{"2":{"Name":"IoK8SApiStorageV1VolumeAttachmentStatusAttachmentMetadata","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"storage.k8s.io/VolumeAttachment","Properties":{"kind":{"Type":57,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":58,"Flags":10,"Description":"The api version."},"metadata":{"Type":61,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":62,"Flags":1,"Description":"VolumeAttachmentSpec is the specification of a VolumeAttachment request."},"status":{"Type":107,"Flags":0,"Description":"VolumeAttachmentStatus is the status of a VolumeAttachment request."}}}},{"4":{"Name":"storage.k8s.io/VolumeAttachment@v1","ScopeType":0,"Body":110,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "CSIDriver" + }, + { + "$type": "StringLiteralType", + "value": "storage.k8s.io/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1CSIDriverSpec", + "properties": { + "attachRequired": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.\n\nThis field is immutable." + }, + "fsGroupPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.\n\nThis field is immutable.\n\nDefaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce." + }, + "podInfoOnMount": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" if the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.\n\nThis field is immutable." + }, + "requiresRepublish": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "RequiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.\n\nNote: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container." + }, + "seLinuxMount": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "SELinuxMount specifies if the CSI driver supports \"-o context\" mount option.\n\nWhen \"true\", the CSI driver must ensure that all volumes provided by this CSI driver can be mounted separately with different `-o context` options. This is typical for storage backends that provide volumes as filesystems on block devices or as independent shared volumes. Kubernetes will call NodeStage / NodePublish with \"-o context=xyz\" mount option when mounting a ReadWriteOncePod volume used in Pod that has explicitly set SELinux context. In the future, it may be expanded to other volume AccessModes. In any case, Kubernetes will ensure that the volume is mounted only with a single SELinux context.\n\nWhen \"false\", Kubernetes won't pass any special SELinux mount options to the driver. This is typical for volumes that represent subdirectories of a bigger shared filesystem.\n\nDefault is \"false\"." + }, + "storageCapacity": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "If set to true, storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information.\n\nThe check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.\n\nAlternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published.\n\nThis field was immutable in Kubernetes <= 1.22 and now is mutable." + }, + "tokenRequests": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "TokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: \"csi.storage.k8s.io/serviceAccount.tokens\": {\n \"\": {\n \"token\": ,\n \"expirationTimestamp\": ,\n },\n ...\n}\n\nNote: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically." + }, + "volumeLifecycleModes": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is \"Persistent\", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is \"Ephemeral\". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future. This field is beta.\n\nThis field is immutable." + } + } + }, + { + "$type": "BooleanType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1TokenRequest", + "properties": { + "audience": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Audience is the intended audience of the token in \"TokenRequestSpec\". It will default to the audiences of kube apiserver." + }, + "expirationSeconds": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "ExpirationSeconds is the duration of validity of the token in \"TokenRequestSpec\". It has the same default value of \"ExpirationSeconds\" in \"TokenRequestSpec\"." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/8" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "storage.k8s.io/CSIDriver", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 1, + "description": "CSIDriverSpec is the specification of a CSIDriver." + } + } + }, + { + "$type": "ResourceType", + "name": "storage.k8s.io/CSIDriver@v1", + "scopeType": 0, + "body": { + "$ref": "#/12" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "CSINode" + }, + { + "$type": "StringLiteralType", + "value": "storage.k8s.io/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/16" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1CSINodeSpec", + "properties": { + "drivers": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1CSINodeDriver", + "properties": { + "allocatable": { + "type": { + "$ref": "#/21" + }, + "flags": 0, + "description": "VolumeNodeResources is a set of resource limits for scheduling of volumes." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver." + }, + "nodeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required." + }, + "topologyKeys": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1VolumeNodeResources", + "properties": { + "count": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/20" + } + }, + { + "$type": "ObjectType", + "name": "storage.k8s.io/CSINode", + "properties": { + "kind": { + "type": { + "$ref": "#/14" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/15" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/18" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/19" + }, + "flags": 1, + "description": "CSINodeSpec holds information about the specification of all CSI drivers installed on a node" + } + } + }, + { + "$type": "ResourceType", + "name": "storage.k8s.io/CSINode@v1", + "scopeType": 0, + "body": { + "$ref": "#/24" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "CSIStorageCapacity" + }, + { + "$type": "StringLiteralType", + "value": "storage.k8s.io/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/28" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelector", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/34" + }, + "flags": 0, + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." + }, + "matchLabels": { + "type": { + "$ref": "#/35" + }, + "flags": 0, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": { + "$ref": "#/33" + }, + "flags": 0, + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/32" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "storage.k8s.io/CSIStorageCapacity", + "properties": { + "kind": { + "type": { + "$ref": "#/26" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/27" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/30" + }, + "flags": 1, + "description": "The resource metadata." + }, + "capacity": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + }, + "maximumVolumeSize": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + }, + "nodeTopology": { + "type": { + "$ref": "#/31" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "storageClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable." + } + } + }, + { + "$type": "ResourceType", + "name": "storage.k8s.io/CSIStorageCapacity@v1", + "scopeType": 0, + "body": { + "$ref": "#/36" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "StorageClass" + }, + { + "$type": "StringLiteralType", + "value": "storage.k8s.io/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/40" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/41" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TopologySelectorTerm", + "properties": { + "matchLabelExpressions": { + "type": { + "$ref": "#/46" + }, + "flags": 0, + "description": "A list of topology selector requirements by labels." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TopologySelectorLabelRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The label key that the selector applies to." + }, + "values": { + "type": { + "$ref": "#/45" + }, + "flags": 1, + "description": "An array of string values. One value must match the label to be selected. Each entry in Values is ORed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/44" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/43" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1StorageClassParameters", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "storage.k8s.io/StorageClass", + "properties": { + "kind": { + "type": { + "$ref": "#/38" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/39" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/42" + }, + "flags": 1, + "description": "The resource metadata." + }, + "allowVolumeExpansion": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "AllowVolumeExpansion shows whether the storage class allow volume expand" + }, + "allowedTopologies": { + "type": { + "$ref": "#/47" + }, + "flags": 0, + "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." + }, + "mountOptions": { + "type": { + "$ref": "#/48" + }, + "flags": 0, + "description": "Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid." + }, + "parameters": { + "type": { + "$ref": "#/49" + }, + "flags": 0, + "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class." + }, + "provisioner": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Provisioner indicates the type of the provisioner." + }, + "reclaimPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete." + }, + "volumeBindingMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature." + } + } + }, + { + "$type": "ResourceType", + "name": "storage.k8s.io/StorageClass@v1", + "scopeType": 0, + "body": { + "$ref": "#/50" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "VolumeAttachment" + }, + { + "$type": "StringLiteralType", + "value": "storage.k8s.io/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/54" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/55" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1VolumeAttachmentSpec", + "properties": { + "attacher": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()." + }, + "nodeName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The node that the volume should be attached to." + }, + "source": { + "type": { + "$ref": "#/58" + }, + "flags": 1, + "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1VolumeAttachmentSource", + "properties": { + "inlineVolumeSpec": { + "type": { + "$ref": "#/59" + }, + "flags": 0, + "description": "PersistentVolumeSpec is the specification of a persistent volume." + }, + "persistentVolumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the persistent volume to attach." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeSpec", + "properties": { + "accessModes": { + "type": { + "$ref": "#/60" + }, + "flags": 0, + "description": "accessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes" + }, + "awsElasticBlockStore": { + "type": { + "$ref": "#/61" + }, + "flags": 0, + "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling." + }, + "azureDisk": { + "type": { + "$ref": "#/62" + }, + "flags": 0, + "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." + }, + "azureFile": { + "type": { + "$ref": "#/63" + }, + "flags": 0, + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod." + }, + "capacity": { + "type": { + "$ref": "#/64" + }, + "flags": 0, + "description": "capacity is the description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity" + }, + "cephfs": { + "type": { + "$ref": "#/65" + }, + "flags": 0, + "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling." + }, + "cinder": { + "type": { + "$ref": "#/68" + }, + "flags": 0, + "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling." + }, + "claimRef": { + "type": { + "$ref": "#/69" + }, + "flags": 0, + "description": "ObjectReference contains enough information to let you inspect or modify the referred object." + }, + "csi": { + "type": { + "$ref": "#/70" + }, + "flags": 0, + "description": "Represents storage that is managed by an external CSI volume driver (Beta feature)" + }, + "fc": { + "type": { + "$ref": "#/72" + }, + "flags": 0, + "description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling." + }, + "flexVolume": { + "type": { + "$ref": "#/75" + }, + "flags": 0, + "description": "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin." + }, + "flocker": { + "type": { + "$ref": "#/77" + }, + "flags": 0, + "description": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling." + }, + "gcePersistentDisk": { + "type": { + "$ref": "#/78" + }, + "flags": 0, + "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling." + }, + "glusterfs": { + "type": { + "$ref": "#/79" + }, + "flags": 0, + "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling." + }, + "hostPath": { + "type": { + "$ref": "#/80" + }, + "flags": 0, + "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling." + }, + "iscsi": { + "type": { + "$ref": "#/81" + }, + "flags": 0, + "description": "ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling." + }, + "local": { + "type": { + "$ref": "#/83" + }, + "flags": 0, + "description": "Local represents directly-attached storage with node affinity (Beta feature)" + }, + "mountOptions": { + "type": { + "$ref": "#/84" + }, + "flags": 0, + "description": "mountOptions is the list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options" + }, + "nfs": { + "type": { + "$ref": "#/85" + }, + "flags": 0, + "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling." + }, + "nodeAffinity": { + "type": { + "$ref": "#/86" + }, + "flags": 0, + "description": "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from." + }, + "persistentVolumeReclaimPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming" + }, + "photonPersistentDisk": { + "type": { + "$ref": "#/94" + }, + "flags": 0, + "description": "Represents a Photon Controller persistent disk resource." + }, + "portworxVolume": { + "type": { + "$ref": "#/95" + }, + "flags": 0, + "description": "PortworxVolumeSource represents a Portworx volume resource." + }, + "quobyte": { + "type": { + "$ref": "#/96" + }, + "flags": 0, + "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling." + }, + "rbd": { + "type": { + "$ref": "#/97" + }, + "flags": 0, + "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling." + }, + "scaleIO": { + "type": { + "$ref": "#/99" + }, + "flags": 0, + "description": "ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume" + }, + "storageClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass." + }, + "storageos": { + "type": { + "$ref": "#/100" + }, + "flags": 0, + "description": "Represents a StorageOS persistent volume resource." + }, + "volumeMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec." + }, + "vsphereVolume": { + "type": { + "$ref": "#/101" + }, + "flags": 0, + "description": "Represents a vSphere volume resource." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AWSElasticBlockStoreVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + }, + "partition": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty)." + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AzureDiskVolumeSource", + "properties": { + "cachingMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "cachingMode is the Host Caching mode: None, Read Only, Read Write." + }, + "diskName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "diskName is the Name of the data disk in the blob storage" + }, + "diskURI": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "diskURI is the URI of data disk in the blob storage" + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AzureFilePersistentVolumeSource", + "properties": { + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "secretName is the name of secret that contains Azure Storage Account Name and Key" + }, + "secretNamespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod" + }, + "shareName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "shareName is the azure Share Name" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeSpecCapacity", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CephFSPersistentVolumeSource", + "properties": { + "monitors": { + "type": { + "$ref": "#/66" + }, + "flags": 1, + "description": "monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "secretFile": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "secretRef": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretReference", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "name is unique within a namespace to reference a secret resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "namespace defines the space within which the secret name must be unique." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CinderPersistentVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + }, + "secretRef": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ObjectReference", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "API version of the referent." + }, + "fieldPath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + }, + "resourceVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CSIPersistentVolumeSource", + "properties": { + "controllerExpandSecretRef": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "controllerPublishSecretRef": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "driver": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "driver is the name of the driver to use for this volume. Required." + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\"." + }, + "nodeExpandSecretRef": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "nodePublishSecretRef": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "nodeStageSecretRef": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write)." + }, + "volumeAttributes": { + "type": { + "$ref": "#/71" + }, + "flags": 0, + "description": "volumeAttributes of the volume to publish." + }, + "volumeHandle": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CSIPersistentVolumeSourceVolumeAttributes", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FCVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "lun": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "lun is Optional: FC target lun number" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "targetWWNs": { + "type": { + "$ref": "#/73" + }, + "flags": 0, + "description": "targetWWNs is Optional: FC target worldwide names (WWNs)" + }, + "wwids": { + "type": { + "$ref": "#/74" + }, + "flags": 0, + "description": "wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlexPersistentVolumeSource", + "properties": { + "driver": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "driver is the name of the driver to use for this volume." + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script." + }, + "options": { + "type": { + "$ref": "#/76" + }, + "flags": 0, + "description": "options is Optional: this field holds extra command options if any." + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlexPersistentVolumeSourceOptions", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlockerVolumeSource", + "properties": { + "datasetName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated" + }, + "datasetUUID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GCEPersistentDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "partition": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "pdName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GlusterfsPersistentVolumeSource", + "properties": { + "endpoints": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "endpointsNamespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "endpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HostPathVolumeSource", + "properties": { + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1IscsiPersistentVolumeSource", + "properties": { + "chapAuthDiscovery": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication" + }, + "chapAuthSession": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "chapAuthSession defines whether support iSCSI Session CHAP authentication" + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi" + }, + "initiatorName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection." + }, + "iqn": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "iqn is Target iSCSI Qualified Name." + }, + "iscsiInterface": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)." + }, + "lun": { + "type": { + "$ref": "#/9" + }, + "flags": 1, + "description": "lun is iSCSI Target Lun number." + }, + "portals": { + "type": { + "$ref": "#/82" + }, + "flags": 0, + "description": "portals is the iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)." + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false." + }, + "secretRef": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "targetPortal": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LocalVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a filesystem if unspecified." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...)." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NFSVolumeSource", + "properties": { + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "readOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + }, + "server": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeNodeAffinity", + "properties": { + "required": { + "type": { + "$ref": "#/87" + }, + "flags": 0, + "description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelector", + "properties": { + "nodeSelectorTerms": { + "type": { + "$ref": "#/93" + }, + "flags": 1, + "description": "Required. A list of node selector terms. The terms are ORed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelectorTerm", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/91" + }, + "flags": 0, + "description": "A list of node selector requirements by node's labels." + }, + "matchFields": { + "type": { + "$ref": "#/92" + }, + "flags": 0, + "description": "A list of node selector requirements by node's fields." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + }, + "values": { + "type": { + "$ref": "#/90" + }, + "flags": 0, + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/89" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/89" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/88" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PhotonPersistentDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "pdID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "pdID is the ID that identifies Photon Controller persistent disk" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PortworxVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volumeID uniquely identifies a Portworx volume" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1QuobyteVolumeSource", + "properties": { + "group": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "group to map volume access to Default is no group" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false." + }, + "registry": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes" + }, + "tenant": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin" + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "user to map volume access to Defaults to serivceaccount user" + }, + "volume": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volume is a string that references an already created Quobyte volume by name." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1RBDPersistentVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd" + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "keyring": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "monitors": { + "type": { + "$ref": "#/98" + }, + "flags": 1, + "description": "monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "pool": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "secretRef": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ScaleIOPersistentVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"" + }, + "gateway": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "gateway is the host address of the ScaleIO API Gateway." + }, + "protectionDomain": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "protectionDomain is the name of the ScaleIO Protection Domain for the configured storage." + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/67" + }, + "flags": 1, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "sslEnabled": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "sslEnabled is the flag to enable/disable SSL communication with Gateway, default false" + }, + "storageMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned." + }, + "storagePool": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "storagePool is the ScaleIO Storage Pool associated with the protection domain." + }, + "system": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "system is the name of the storage system as configured in ScaleIO." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1StorageOSPersistentVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/69" + }, + "flags": 0, + "description": "ObjectReference contains enough information to let you inspect or modify the referred object." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace." + }, + "volumeNamespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VsphereVirtualDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "storagePolicyID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName." + }, + "storagePolicyName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "storagePolicyName is the storage Policy Based Management (SPBM) profile name." + }, + "volumePath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volumePath is the path that identifies vSphere volume vmdk" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1VolumeAttachmentStatus", + "properties": { + "attachError": { + "type": { + "$ref": "#/103" + }, + "flags": 0, + "description": "VolumeError captures an error encountered during a volume operation." + }, + "attached": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "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." + }, + "attachmentMetadata": { + "type": { + "$ref": "#/104" + }, + "flags": 0, + "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." + }, + "detachError": { + "type": { + "$ref": "#/103" + }, + "flags": 0, + "description": "VolumeError captures an error encountered during a volume operation." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1VolumeError", + "properties": { + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information." + }, + "time": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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": "ObjectType", + "name": "IoK8SApiStorageV1VolumeAttachmentStatusAttachmentMetadata", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "storage.k8s.io/VolumeAttachment", + "properties": { + "kind": { + "type": { + "$ref": "#/52" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/53" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/56" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/57" + }, + "flags": 1, + "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request." + }, + "status": { + "type": { + "$ref": "#/102" + }, + "flags": 0, + "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request." + } + } + }, + { + "$type": "ResourceType", + "name": "storage.k8s.io/VolumeAttachment@v1", + "scopeType": 0, + "body": { + "$ref": "#/105" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/generated/kubernetes/storage.k8s.io/v1beta1/types.json b/generated/kubernetes/storage.k8s.io/v1beta1/types.json index 415e7503..369bfdd6 100644 --- a/generated/kubernetes/storage.k8s.io/v1beta1/types.json +++ b/generated/kubernetes/storage.k8s.io/v1beta1/types.json @@ -1 +1,194 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"CSIStorageCapacity"}},{"6":{"Value":"storage.k8s.io/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelector","Properties":{"matchExpressions":{"Type":16,"Flags":0,"Description":"matchExpressions is a list of label selector requirements. The requirements are ANDed."},"matchLabels":{"Type":17,"Flags":0,"Description":"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."},"values":{"Type":15,"Flags":0,"Description":"values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":14}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"storage.k8s.io/CSIStorageCapacity","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"capacity":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."},"maximumVolumeSize":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."},"nodeTopology":{"Type":13,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"storageClassName":{"Type":4,"Flags":1,"Description":"The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable."}}}},{"4":{"Name":"storage.k8s.io/CSIStorageCapacity@v1beta1","ScopeType":0,"Body":18,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "CSIStorageCapacity" + }, + { + "$type": "StringLiteralType", + "value": "storage.k8s.io/v1beta1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelector", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." + }, + "matchLabels": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/7" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "storage.k8s.io/CSIStorageCapacity", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "capacity": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + }, + "maximumVolumeSize": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + }, + "nodeTopology": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "storageClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable." + } + } + }, + { + "$type": "ResourceType", + "name": "storage.k8s.io/CSIStorageCapacity@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/11" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/Bicep.Types.K8s.UnitTests/Bicep.Types.K8s.UnitTests.csproj b/src/Bicep.Types.K8s.UnitTests/Bicep.Types.K8s.UnitTests.csproj index 87c326aa..be737494 100644 --- a/src/Bicep.Types.K8s.UnitTests/Bicep.Types.K8s.UnitTests.csproj +++ b/src/Bicep.Types.K8s.UnitTests/Bicep.Types.K8s.UnitTests.csproj @@ -7,9 +7,9 @@ - - - + + + diff --git a/src/Bicep.Types.K8s.UnitTests/K8sTypeLoaderTests.cs b/src/Bicep.Types.K8s.UnitTests/K8sTypeLoaderTests.cs index 8abcccd9..df855317 100644 --- a/src/Bicep.Types.K8s.UnitTests/K8sTypeLoaderTests.cs +++ b/src/Bicep.Types.K8s.UnitTests/K8sTypeLoaderTests.cs @@ -21,7 +21,7 @@ public void K8sTypeLoader_can_load_all_types_without_throwing() var resourceType = typeLoader.LoadResourceType(kvp.Value); } - foreach (var (resourceType, functionsByApiVersion) in index.Functions) + foreach (var (resourceType, functionsByApiVersion) in index.ResourceFunctions) { foreach (var (apiVersion, functions) in functionsByApiVersion) { @@ -40,8 +40,8 @@ public void TypeLoader_type_keys_are_insensitively_unique() var index = typeLoader.LoadTypeIndex(); index.Resources.Keys.Select(x => x.ToLowerInvariant()).Should().OnlyHaveUniqueItems(); - index.Functions.Keys.Select(x => x.ToLowerInvariant()).Should().OnlyHaveUniqueItems(); - foreach (var functionsByApiVersion in index.Functions.Values) + index.ResourceFunctions.Keys.Select(x => x.ToLowerInvariant()).Should().OnlyHaveUniqueItems(); + foreach (var functionsByApiVersion in index.ResourceFunctions.Values) { functionsByApiVersion.Keys.Select(x => x.ToLowerInvariant()).Should().OnlyHaveUniqueItems(); } diff --git a/src/Bicep.Types.K8s.UnitTests/packages.lock.json b/src/Bicep.Types.K8s.UnitTests/packages.lock.json index fa17f002..12bcfe39 100644 --- a/src/Bicep.Types.K8s.UnitTests/packages.lock.json +++ b/src/Bicep.Types.K8s.UnitTests/packages.lock.json @@ -19,12 +19,12 @@ }, "Microsoft.NET.Test.Sdk": { "type": "Direct", - "requested": "[17.8.0, )", - "resolved": "17.8.0", - "contentHash": "BmTYGbD/YuDHmApIENdoyN1jCk0Rj1fJB0+B/fVekyTdVidr91IlzhqzytiUgaEAzL1ZJcYCme0MeBMYvJVzvw==", + "requested": "[17.9.0, )", + "resolved": "17.9.0", + "contentHash": "7GUNAUbJYn644jzwLm5BD3a2p9C1dmP8Hr6fDPDxgItQk9hBs1Svdxzz07KQ/UphMSmgza9AbijBJGmw5D658A==", "dependencies": { - "Microsoft.CodeCoverage": "17.8.0", - "Microsoft.TestPlatform.TestHost": "17.8.0" + "Microsoft.CodeCoverage": "17.9.0", + "Microsoft.TestPlatform.TestHost": "17.9.0" } }, "Microsoft.SourceLink.GitHub": { @@ -39,15 +39,20 @@ }, "MSTest.TestAdapter": { "type": "Direct", - "requested": "[3.1.1, )", - "resolved": "3.1.1", - "contentHash": "kMvdO5dhrUR3o1qk0fzS0St0prlKyMQAfz1ChVAUdGGobTU5ehR60szOFto0+Q7rFG5iXMvTlVIthXM9EcNYnw==" + "requested": "[3.2.1, )", + "resolved": "3.2.1", + "contentHash": "wEMrxnWMxqnzxp18zOhWZGaqxe6S9uTvX7OiVpGzhqjMySO98iK+dPaPG9P7TvSCGygsYrJvijC7nd1mxRLZZw==", + "dependencies": { + "Microsoft.Testing.Extensions.Telemetry": "1.0.1", + "Microsoft.Testing.Extensions.VSTestBridge": "1.0.1", + "Microsoft.Testing.Platform.MSBuild": "1.0.1" + } }, "MSTest.TestFramework": { "type": "Direct", - "requested": "[3.1.1, )", - "resolved": "3.1.1", - "contentHash": "3rjkGxciNHHmPW8cl1/QVIYjOpfptjmAH5JrLBw+dnMTYDoweg3I579N7OIbar3Zd3q9dfWFrCy2LEV/AmPn3A==" + "requested": "[3.2.1, )", + "resolved": "3.2.1", + "contentHash": "KA6VJTKX+nE/6FWvScdEhrKR37zHENPhvucGYTMV+7uJ1i3KItGquv3U0pslgEl+EKaJovUn7UJ79UQgEaZzog==" }, "Nerdbank.GitVersioning": { "type": "Direct", @@ -57,10 +62,18 @@ }, "Azure.Bicep.Types": { "type": "Transitive", - "resolved": "0.4.1", - "contentHash": "IKmxyCwXkuIPcJhpjKkz2P9PNxlTvdtjGLlGEMduGaQTiYgE/glIirPeknwj3DAc9VhysZ9i/nGgpe0O2Vl1eg==", + "resolved": "0.5.6", + "contentHash": "WIzhG/oveD4cVE1jR9/F/jQWfzQu4QMlkPHhojzVIAEBf7eZEOj2d4c+yFBwUzHNOSlNE7T8M+Wuhs+svKdlHg==", + "dependencies": { + "System.Text.Json": "8.0.2" + } + }, + "Microsoft.ApplicationInsights": { + "type": "Transitive", + "resolved": "2.21.0", + "contentHash": "btZEDWAFNo9CoYliMCriSMTX3ruRGZTtYw4mo2XyyfLlowFicYVM2Xszi5evDG95QRYV7MbbH3D2RqVwfZlJHw==", "dependencies": { - "System.Text.Json": "7.0.3" + "System.Diagnostics.DiagnosticSource": "5.0.0" } }, "Microsoft.Build.Tasks.Git": { @@ -70,29 +83,68 @@ }, "Microsoft.CodeCoverage": { "type": "Transitive", - "resolved": "17.8.0", - "contentHash": "KC8SXWbGIdoFVdlxKk9WHccm0llm9HypcHMLUUFabRiTS3SO2fQXNZfdiF3qkEdTJhbRrxhdRxjL4jbtwPq4Ew==" + "resolved": "17.9.0", + "contentHash": "RGD37ZSrratfScYXm7M0HjvxMxZyWZL4jm+XgMZbkIY1UPgjUpbNA/t+WTGj/rC/0Hm9A3IrH3ywbKZkOCnoZA==" }, "Microsoft.SourceLink.Common": { "type": "Transitive", "resolved": "8.0.0", "contentHash": "dk9JPxTCIevS75HyEQ0E4OVAFhB2N+V9ShCXf8Q6FkUQZDkgLI12y679Nym1YqsiSysuQskT7Z+6nUf3yab6Vw==" }, + "Microsoft.Testing.Extensions.Telemetry": { + "type": "Transitive", + "resolved": "1.0.1", + "contentHash": "3Ed6TvDExF/efQzToLaPK6HT0PEfQ5UpiGS2PrGO5/1VoNQ25qyj3MISwqLjDAXztvN7rbN/SFyrC2YG/g0JWQ==", + "dependencies": { + "Microsoft.ApplicationInsights": "2.21.0", + "Microsoft.Testing.Platform": "1.0.1" + } + }, + "Microsoft.Testing.Extensions.TrxReport.Abstractions": { + "type": "Transitive", + "resolved": "1.0.1", + "contentHash": "dsuCR5wFsehiU4Zlqb6bHg76oI33UadiNaLqXokt/XG8eQ8QXBU5GzsdpYaYkzfFF9XNN9pXhCUgC6DFFFbLlQ==", + "dependencies": { + "Microsoft.Testing.Platform": "1.0.1" + } + }, + "Microsoft.Testing.Extensions.VSTestBridge": { + "type": "Transitive", + "resolved": "1.0.1", + "contentHash": "DYUIm8xOdouA38LKn0ZAxrk9Gm5PI96KW+trt2S0rMdzVUTRqv2hEsBCas3Ug1nj8/AGm20isg0ZNppm9LdHrQ==", + "dependencies": { + "Microsoft.TestPlatform.ObjectModel": "17.5.0", + "Microsoft.Testing.Extensions.TrxReport.Abstractions": "1.0.1", + "Microsoft.Testing.Platform": "1.0.1" + } + }, + "Microsoft.Testing.Platform": { + "type": "Transitive", + "resolved": "1.0.1", + "contentHash": "m++nLV2L40Iktdp18nTrxTn6FUtazPAARngsghXK2cAQa8pM6YgFZChRjT6/wuRilBAip9T5kH0jU7ML0sxaQw==" + }, + "Microsoft.Testing.Platform.MSBuild": { + "type": "Transitive", + "resolved": "1.0.1", + "contentHash": "gWJdficmzT2TtKKzoWooI5q7E7V34OrmYC0LWHKUSP34Fn1je31QgOK3q7HyGTxNpl9mFGIMCOnHGtRlj+0LsA==", + "dependencies": { + "Microsoft.Testing.Platform": "1.0.1" + } + }, "Microsoft.TestPlatform.ObjectModel": { "type": "Transitive", - "resolved": "17.8.0", - "contentHash": "AYy6vlpGMfz5kOFq99L93RGbqftW/8eQTqjT9iGXW6s9MRP3UdtY8idJ8rJcjeSja8A18IhIro5YnH3uv1nz4g==", + "resolved": "17.9.0", + "contentHash": "1ilw/8vgmjLyKU+2SKXKXaOqpYFJCQfGqGz+x0cosl981VzjrY74Sv6qAJv+neZMZ9ZMxF3ArN6kotaQ4uvEBw==", "dependencies": { - "NuGet.Frameworks": "6.5.0", "System.Reflection.Metadata": "1.6.0" } }, "Microsoft.TestPlatform.TestHost": { "type": "Transitive", - "resolved": "17.8.0", - "contentHash": "9ivcl/7SGRmOT0YYrHQGohWiT5YCpkmy/UEzldfVisLm6QxbLaK3FAJqZXI34rnRLmqqDCeMQxKINwmKwAPiDw==", + "resolved": "17.9.0", + "contentHash": "Spmg7Wx49Ya3SxBjyeAR+nQpjMTKZwTwpZ7KyeOTIqI/WHNPnBU4HUvl5kuHPQAwGWqMy4FGZja1HvEwvoaDiA==", "dependencies": { - "Microsoft.TestPlatform.ObjectModel": "17.8.0", + "Microsoft.TestPlatform.ObjectModel": "17.9.0", "Newtonsoft.Json": "13.0.1" } }, @@ -101,11 +153,6 @@ "resolved": "13.0.1", "contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==" }, - "NuGet.Frameworks": { - "type": "Transitive", - "resolved": "6.5.0", - "contentHash": "QWINE2x3MbTODsWT1Gh71GaGb5icBz4chS8VYvTgsBnsi8esgN6wtHhydd7fvToWECYGq7T4cgBBDiKD/363fg==" - }, "System.Configuration.ConfigurationManager": { "type": "Transitive", "resolved": "4.4.0", @@ -114,6 +161,11 @@ "System.Security.Cryptography.ProtectedData": "4.4.0" } }, + "System.Diagnostics.DiagnosticSource": { + "type": "Transitive", + "resolved": "5.0.0", + "contentHash": "tCQTzPsGZh/A9LhhA6zrqCRV4hOHsK90/G7q3Khxmn6tnB1PuNU0cRaKANP2AWcF9bn0zsuOoZOSrHuJk6oNBA==" + }, "System.Reflection.Metadata": { "type": "Transitive", "resolved": "1.6.0", @@ -131,25 +183,25 @@ }, "System.Text.Encodings.Web": { "type": "Transitive", - "resolved": "7.0.0", - "contentHash": "OP6umVGxc0Z0MvZQBVigj4/U31Pw72ITihDWP9WiWDm+q5aoe0GaJivsfYGq53o6dxH7DcXWiCTl7+0o2CGdmg==", + "resolved": "8.0.0", + "contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==", "dependencies": { "System.Runtime.CompilerServices.Unsafe": "6.0.0" } }, "System.Text.Json": { "type": "Transitive", - "resolved": "7.0.3", - "contentHash": "AyjhwXN1zTFeIibHimfJn6eAsZ7rTBib79JQpzg8WAuR/HKDu9JGNHTuu3nbbXQ/bgI+U4z6HtZmCHNXB1QXrQ==", + "resolved": "8.0.2", + "contentHash": "29KA2StjWDYp32FvREifawRtNpTziLE1xyuDV9pVQ+MsaE9bIcIieP0io/eZZeLMxR+Nx9zI55RtUtpVpEIdeg==", "dependencies": { "System.Runtime.CompilerServices.Unsafe": "6.0.0", - "System.Text.Encodings.Web": "7.0.0" + "System.Text.Encodings.Web": "8.0.0" } }, "Azure.Bicep.Types.K8s": { "type": "Project", "dependencies": { - "Azure.Bicep.Types": "[0.4.1, )" + "Azure.Bicep.Types": "[0.5.6, )" } } } diff --git a/src/Bicep.Types.K8s/Bicep.Types.K8s.csproj b/src/Bicep.Types.K8s/Bicep.Types.K8s.csproj index ec470109..1eacdea8 100644 --- a/src/Bicep.Types.K8s/Bicep.Types.K8s.csproj +++ b/src/Bicep.Types.K8s/Bicep.Types.K8s.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/Bicep.Types.K8s/packages.lock.json b/src/Bicep.Types.K8s/packages.lock.json index d94853b7..1d618172 100644 --- a/src/Bicep.Types.K8s/packages.lock.json +++ b/src/Bicep.Types.K8s/packages.lock.json @@ -4,11 +4,11 @@ ".NETStandard,Version=v2.0": { "Azure.Bicep.Types": { "type": "Direct", - "requested": "[0.4.1, )", - "resolved": "0.4.1", - "contentHash": "IKmxyCwXkuIPcJhpjKkz2P9PNxlTvdtjGLlGEMduGaQTiYgE/glIirPeknwj3DAc9VhysZ9i/nGgpe0O2Vl1eg==", + "requested": "[0.5.6, )", + "resolved": "0.5.6", + "contentHash": "WIzhG/oveD4cVE1jR9/F/jQWfzQu4QMlkPHhojzVIAEBf7eZEOj2d4c+yFBwUzHNOSlNE7T8M+Wuhs+svKdlHg==", "dependencies": { - "System.Text.Json": "7.0.3" + "System.Text.Json": "8.0.2" } }, "Microsoft.SourceLink.GitHub": { @@ -38,8 +38,8 @@ }, "Microsoft.Bcl.AsyncInterfaces": { "type": "Transitive", - "resolved": "7.0.0", - "contentHash": "3aeMZ1N0lJoSyzqiP03hqemtb1BijhsJADdobn/4nsMJ8V1H+CrpuduUe4hlRdx+ikBQju1VGjMD1GJ3Sk05Eg==", + "resolved": "8.0.0", + "contentHash": "3WA9q9yVqJp222P3x1wYIGDAkpjAku0TMUaaQV22g6L67AI0LdOIrVS7Ht2vJfLHGSPVuqN94vIr15qn+HEkHw==", "dependencies": { "System.Threading.Tasks.Extensions": "4.5.4" } @@ -76,8 +76,8 @@ }, "System.Numerics.Vectors": { "type": "Transitive", - "resolved": "4.5.0", - "contentHash": "QQTlPTl06J/iiDbJCiepZ4H//BVraReU4O4EoRw1U02H5TLUIT7xn3GnDp9AXPSlJUDyFs4uWjWafNX6WrAojQ==" + "resolved": "4.4.0", + "contentHash": "UiLzLW+Lw6HLed1Hcg+8jSRttrbuXv7DANVj0DkL9g6EnnzbL75EB7EWsw5uRbhxd/4YdG8li5XizGWepmG3PQ==" }, "System.Runtime.CompilerServices.Unsafe": { "type": "Transitive", @@ -86,8 +86,8 @@ }, "System.Text.Encodings.Web": { "type": "Transitive", - "resolved": "7.0.0", - "contentHash": "OP6umVGxc0Z0MvZQBVigj4/U31Pw72ITihDWP9WiWDm+q5aoe0GaJivsfYGq53o6dxH7DcXWiCTl7+0o2CGdmg==", + "resolved": "8.0.0", + "contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==", "dependencies": { "System.Buffers": "4.5.1", "System.Memory": "4.5.5", @@ -96,15 +96,14 @@ }, "System.Text.Json": { "type": "Transitive", - "resolved": "7.0.3", - "contentHash": "AyjhwXN1zTFeIibHimfJn6eAsZ7rTBib79JQpzg8WAuR/HKDu9JGNHTuu3nbbXQ/bgI+U4z6HtZmCHNXB1QXrQ==", + "resolved": "8.0.2", + "contentHash": "29KA2StjWDYp32FvREifawRtNpTziLE1xyuDV9pVQ+MsaE9bIcIieP0io/eZZeLMxR+Nx9zI55RtUtpVpEIdeg==", "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "7.0.0", + "Microsoft.Bcl.AsyncInterfaces": "8.0.0", "System.Buffers": "4.5.1", "System.Memory": "4.5.5", - "System.Numerics.Vectors": "4.5.0", "System.Runtime.CompilerServices.Unsafe": "6.0.0", - "System.Text.Encodings.Web": "7.0.0", + "System.Text.Encodings.Web": "8.0.0", "System.Threading.Tasks.Extensions": "4.5.4" } }, diff --git a/src/autorest.bicep/package-lock.json b/src/autorest.bicep/package-lock.json index 21bce057..aeb99124 100644 --- a/src/autorest.bicep/package-lock.json +++ b/src/autorest.bicep/package-lock.json @@ -36,9 +36,9 @@ "license": "MIT", "devDependencies": { "@types/jest": "^29.0.3", - "@types/node": "^18.7.18", - "@typescript-eslint/eslint-plugin": "^5.38.0", - "@typescript-eslint/parser": "^5.38.0", + "@types/node": "^20.1.0", + "@typescript-eslint/eslint-plugin": "^7.0.2", + "@typescript-eslint/parser": "^7.0.2", "eslint": "^8.23.1", "eslint-plugin-header": "^3.1.1", "eslint-plugin-jest": "^27.0.4", @@ -46,7 +46,7 @@ "nerdbank-gitversioning": "^3.5.113", "ts-jest": "^29.0.1", "ts-node": "^10.9.1", - "typescript": "^4.8.3" + "typescript": "^5.0.2" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -7627,9 +7627,9 @@ "version": "file:../../bicep-types/src/bicep-types", "requires": { "@types/jest": "^29.0.3", - "@types/node": "^18.7.18", - "@typescript-eslint/eslint-plugin": "^5.38.0", - "@typescript-eslint/parser": "^5.38.0", + "@types/node": "^20.1.0", + "@typescript-eslint/eslint-plugin": "^7.0.2", + "@typescript-eslint/parser": "^7.0.2", "eslint": "^8.23.1", "eslint-plugin-header": "^3.1.1", "eslint-plugin-jest": "^27.0.4", @@ -7637,7 +7637,7 @@ "nerdbank-gitversioning": "^3.5.113", "ts-jest": "^29.0.1", "ts-node": "^10.9.1", - "typescript": "^4.8.3" + "typescript": "^5.0.2" } }, "brace-expansion": { diff --git a/src/autorest.bicep/src/armconverter.ts b/src/autorest.bicep/src/armconverter.ts index 49588395..7a553526 100644 --- a/src/autorest.bicep/src/armconverter.ts +++ b/src/autorest.bicep/src/armconverter.ts @@ -6,7 +6,7 @@ import { Dictionary } from "lodash"; import { SchemaConverter } from "./converter"; import { ProviderDefinition, ResourceDefinition } from "./resources"; import { TypeBuilder } from "./typebuilder"; -import { BuiltInTypeKind, ObjectTypeProperty, ObjectTypePropertyFlags, ResourceType, TypeReference } from "bicep-types"; +import { ObjectTypeProperty, ObjectTypePropertyFlags, ResourceType, TypeReference } from "bicep-types"; export class ARMConverter extends SchemaConverter { Convert(builder: TypeBuilder, provider: ProviderDefinition, fullyQualifiedType: string, definitions: ResourceDefinition[]): ResourceType | null { @@ -28,7 +28,7 @@ export class ARMConverter extends SchemaConverter { function initializeResource(definition: ResourceDefinition, properties: Dictionary) { const type = builder.factory.addStringLiteralType(fullyQualifiedType); - properties[`id`] = builder.createObjectTypeProperty(builder.factory.lookupBuiltInType(BuiltInTypeKind.String), ObjectTypePropertyFlags.ReadOnly | ObjectTypePropertyFlags.DeployTimeConstant, 'The resource id'); + properties[`id`] = builder.createObjectTypeProperty(builder.factory.addStringType(), ObjectTypePropertyFlags.ReadOnly | ObjectTypePropertyFlags.DeployTimeConstant, 'The resource id'); properties[`type`] = builder.createObjectTypeProperty(type, ObjectTypePropertyFlags.ReadOnly | ObjectTypePropertyFlags.DeployTimeConstant, 'The resource type'); properties[`apiVersion`] = builder.createObjectTypeProperty(builder.factory.addStringLiteralType(provider.apiVersion), ObjectTypePropertyFlags.ReadOnly | ObjectTypePropertyFlags.DeployTimeConstant, 'The resource api version'); diff --git a/src/autorest.bicep/src/converter.ts b/src/autorest.bicep/src/converter.ts index 27c7a950..c365a146 100644 --- a/src/autorest.bicep/src/converter.ts +++ b/src/autorest.bicep/src/converter.ts @@ -114,11 +114,11 @@ export abstract class SchemaConverter { } return { - Type: TypeBaseKind.ResourceType, - Name: `${fullyQualifiedType}@${result.descriptor.apiVersion}`, - ScopeType: result.descriptor.scopeType, - Body: result.bodyType, - Flags: ResourceFlags.None, + type: TypeBaseKind.ResourceType, + name: `${fullyQualifiedType}@${result.descriptor.apiVersion}`, + scopeType: result.descriptor.scopeType, + body: result.bodyType, + flags: ResourceFlags.None, }; } } \ No newline at end of file diff --git a/src/autorest.bicep/src/kubernetesconverter.ts b/src/autorest.bicep/src/kubernetesconverter.ts index 5056dd10..3228fb52 100644 --- a/src/autorest.bicep/src/kubernetesconverter.ts +++ b/src/autorest.bicep/src/kubernetesconverter.ts @@ -6,7 +6,7 @@ import { SchemaConverter } from "./converter"; import { KubernetesDescriptor } from "./kubernetes"; import { ProviderDefinition, ResourceDefinition } from "./resources"; import { TypeBuilder } from "./typebuilder"; -import { BuiltInTypeKind, ObjectTypeProperty, ObjectTypePropertyFlags, ResourceType, TypeReference } from "bicep-types"; +import { ObjectTypeProperty, ObjectTypePropertyFlags, ResourceType, TypeReference } from "bicep-types"; export class KubernetesConverter extends SchemaConverter { Convert(builder: TypeBuilder, provider: ProviderDefinition, fullyQualifiedType: string, definitions: ResourceDefinition[]): ResourceType | null { @@ -33,24 +33,24 @@ export class KubernetesConverter extends SchemaConverter { const properties: Dictionary = {}; properties[`name`] = builder.createObjectTypeProperty( - builder.factory.lookupBuiltInType(BuiltInTypeKind.String), + builder.factory.addStringType(), ObjectTypePropertyFlags.DeployTimeConstant | ObjectTypePropertyFlags.Required, `The name of the resource.`); if (namespaced) { properties[`namespace`] = builder.createObjectTypeProperty( - builder.factory.lookupBuiltInType(BuiltInTypeKind.String), + builder.factory.addStringType(), ObjectTypePropertyFlags.DeployTimeConstant, `The namespace of the resource.`); } properties[`labels`] = builder.createObjectTypeProperty( - builder.factory.addObjectType(`labels`, {}, builder.factory.lookupBuiltInType(BuiltInTypeKind.String)), + builder.factory.addObjectType(`labels`, {}, builder.factory.addStringType()), ObjectTypePropertyFlags.None, `The labels for the resource.`); properties[`annotations`] = builder.createObjectTypeProperty( - builder.factory.addObjectType(`annotations`, {}, builder.factory.lookupBuiltInType(BuiltInTypeKind.String)), + builder.factory.addObjectType(`annotations`, {}, builder.factory.addStringType()), ObjectTypePropertyFlags.None, `The annotations for the resource.`); diff --git a/src/autorest.bicep/src/main.ts b/src/autorest.bicep/src/main.ts index e80a323f..54b475fa 100755 --- a/src/autorest.bicep/src/main.ts +++ b/src/autorest.bicep/src/main.ts @@ -4,7 +4,7 @@ import { AutoRestExtension, AutorestExtensionHost, startSession } from "@autorest/extension-base"; import { generateTypes } from "./type-generator"; import { CodeModel, codeModelSchema } from "@autorest/codemodel"; -import { writeJson, writeMarkdown } from "bicep-types"; +import { writeTypesJson, writeMarkdown } from "bicep-types"; import { getKubernetesDefinitions } from "./kubernetes" export async function processRequest(host: AutorestExtensionHost) { @@ -23,7 +23,7 @@ export async function processRequest(host: AutorestExtensionHost) { const outFolder = `${namespace}/${apiVersion}`.toLowerCase(); // write types.json - host.writeFile({ filename: `${outFolder}/types.json`, content: writeJson(types) }); + host.writeFile({ filename: `${outFolder}/types.json`, content: writeTypesJson(types) }); // writer types.md host.writeFile({ filename: `${outFolder}/types.md`, content: writeMarkdown(types, `${namespace} @ ${apiVersion}`) }); diff --git a/src/autorest.bicep/src/typebuilder.ts b/src/autorest.bicep/src/typebuilder.ts index ca3febbc..7479121a 100644 --- a/src/autorest.bicep/src/typebuilder.ts +++ b/src/autorest.bicep/src/typebuilder.ts @@ -2,7 +2,7 @@ // Licensed under the MIT License. import { Channel, AutorestExtensionHost } from "@autorest/extension-base"; -import { BuiltInTypeKind, DiscriminatedObjectType, ObjectTypeProperty, ObjectTypePropertyFlags, TypeBaseKind, TypeFactory, TypeReference } from "bicep-types"; +import { DiscriminatedObjectType, ObjectTypeProperty, ObjectTypePropertyFlags, TypeBaseKind, TypeFactory, TypeReference } from "bicep-types"; import { Dictionary, flatMap, keyBy, keys, uniq } from 'lodash'; import { getSerializedName } from "./resources"; import { Schema, ObjectSchema, DictionarySchema, ChoiceSchema, SealedChoiceSchema, ConstantSchema, ArraySchema, PrimitiveSchema, AnySchema, Property, SchemaType, StringSchema } from "@autorest/codemodel"; @@ -75,11 +75,11 @@ export class TypeBuilder { // The 'any' type if (combinedSchema instanceof AnySchema) { - return this.factory.lookupBuiltInType(BuiltInTypeKind.Any); + return this.factory.addAnyType(); } this.logWarning(`Unrecognized property type: ${combinedSchema.type}. Returning 'any'.`); - return this.factory.lookupBuiltInType(BuiltInTypeKind.Any); + return this.factory.addAnyType(); } parsePropertyFlags(putProperty: Property | undefined, getProperty: Property | undefined) { @@ -105,15 +105,15 @@ export class TypeBuilder { switch (combinedSchema.type) { case SchemaType.Boolean: - return this.factory.lookupBuiltInType(BuiltInTypeKind.Bool); + return this.factory.addBooleanType(); case SchemaType.Integer: case SchemaType.Number: case SchemaType.UnixTime: - return this.factory.lookupBuiltInType(BuiltInTypeKind.Int); + return this.factory.addIntegerType(); case SchemaType.Object: - return this.factory.lookupBuiltInType(BuiltInTypeKind.Any); + return this.factory.addAnyType(); case SchemaType.ByteArray: - return this.factory.lookupBuiltInType(BuiltInTypeKind.Array); + return this.factory.addArrayType(this.factory.addAnyType()); case SchemaType.Uri: case SchemaType.Date: case SchemaType.DateTime: @@ -122,10 +122,10 @@ export class TypeBuilder { case SchemaType.Uuid: case SchemaType.Duration: case SchemaType.Credential: - return this.factory.lookupBuiltInType(BuiltInTypeKind.String); + return this.factory.addStringType(); default: this.logWarning(`Unrecognized known property type: "${combinedSchema.type}"`); - return this.factory.lookupBuiltInType(BuiltInTypeKind.Any); + return this.factory.addAnyType(); } } @@ -225,15 +225,15 @@ export class TypeBuilder { const objectTypeRef = this.parseObjectType(putSubType, getSubType, false); const objectType = this.factory.lookupType(objectTypeRef); - if (objectType.Type !== TypeBaseKind.ObjectType) { - this.logWarning(`Found unexpected element of discriminated type '${discriminatedObjectType.Name}'`) + if (objectType.type !== TypeBaseKind.ObjectType) { + this.logWarning(`Found unexpected element of discriminated type '${discriminatedObjectType.name}'`) continue; } - discriminatedObjectType.Elements[combinedSubType.discriminatorValue] = objectTypeRef; + discriminatedObjectType.elements[combinedSubType.discriminatorValue] = objectTypeRef; const description = (putSchema ?? getSchema)?.discriminator?.property.language.default.description; - objectType.Properties[discriminatedObjectType.Discriminator] = this.createObjectTypeProperty( + objectType.properties[discriminatedObjectType.discriminator] = this.createObjectTypeProperty( this.factory.addStringLiteralType(combinedSubType.discriminatorValue), ObjectTypePropertyFlags.Required, description); @@ -323,13 +323,13 @@ export class TypeBuilder { parseArrayType(putSchema: ArraySchema | undefined, getSchema: ArraySchema | undefined) { const itemType = this.parseType(putSchema?.elementType, getSchema?.elementType); if (itemType === undefined) { - return this.factory.lookupBuiltInType(BuiltInTypeKind.Array); + return this.factory.addArrayType(this.factory.addAnyType()); } return this.factory.addArrayType(itemType); } createObjectTypeProperty(type: TypeReference, flags: ObjectTypePropertyFlags, description?: string): ObjectTypeProperty { - return { Type: type, Flags: flags, Description: description?.trim() || undefined }; + return { type: type, flags: flags, description: description?.trim() || undefined }; } } \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/aadpodidentity.k8s.io/v1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/aadpodidentity.k8s.io/v1/types.json index 27ad4f6c..0637a088 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/aadpodidentity.k8s.io/v1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/aadpodidentity.k8s.io/v1/types.json @@ -1 +1 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}}] \ No newline at end of file +[] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/admissionregistration.k8s.io/v1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/admissionregistration.k8s.io/v1/types.json index 14c00b6e..077f676b 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/admissionregistration.k8s.io/v1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/admissionregistration.k8s.io/v1/types.json @@ -1 +1,587 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"MutatingWebhookConfiguration"}},{"6":{"Value":"admissionregistration.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiAdmissionregistrationV1MutatingWebhook","Properties":{"admissionReviewVersions":{"Type":14,"Flags":1,"Description":"AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy."},"clientConfig":{"Type":15,"Flags":1,"Description":"WebhookClientConfig contains the information to make a TLS connection with the webhook"},"failurePolicy":{"Type":4,"Flags":0,"Description":"FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail."},"matchPolicy":{"Type":4,"Flags":0,"Description":"matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\".\n\n- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.\n\n- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.\n\nDefaults to \"Equivalent\""},"name":{"Type":4,"Flags":1,"Description":"The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required."},"namespaceSelector":{"Type":17,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"objectSelector":{"Type":17,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"reinvocationPolicy":{"Type":4,"Flags":0,"Description":"reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\".\n\nNever: the webhook will not be called more than once in a single admission evaluation.\n\nIfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead.\n\nDefaults to \"Never\"."},"rules":{"Type":27,"Flags":0,"Description":"Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."},"sideEffects":{"Type":4,"Flags":1,"Description":"SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some."},"timeoutSeconds":{"Type":3,"Flags":0,"Description":"TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiAdmissionregistrationV1WebhookClientConfig","Properties":{"caBundle":{"Type":0,"Flags":0,"Description":"`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."},"service":{"Type":16,"Flags":0,"Description":"ServiceReference holds a reference to Service.legacy.k8s.io"},"url":{"Type":4,"Flags":0,"Description":"`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either."}}}},{"2":{"Name":"IoK8SApiAdmissionregistrationV1ServiceReference","Properties":{"name":{"Type":4,"Flags":1,"Description":"`name` is the name of the service. Required"},"namespace":{"Type":4,"Flags":1,"Description":"`namespace` is the namespace of the service. Required"},"path":{"Type":4,"Flags":0,"Description":"`path` is an optional URL path which will be sent in any request to this service."},"port":{"Type":3,"Flags":0,"Description":"If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelector","Properties":{"matchExpressions":{"Type":20,"Flags":0,"Description":"matchExpressions is a list of label selector requirements. The requirements are ANDed."},"matchLabels":{"Type":21,"Flags":0,"Description":"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."},"values":{"Type":19,"Flags":0,"Description":"values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":18}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiAdmissionregistrationV1RuleWithOperations","Properties":{"apiGroups":{"Type":23,"Flags":0,"Description":"APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required."},"apiVersions":{"Type":24,"Flags":0,"Description":"APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required."},"operations":{"Type":25,"Flags":0,"Description":"Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required."},"resources":{"Type":26,"Flags":0,"Description":"Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required."},"scope":{"Type":4,"Flags":0,"Description":"scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\"."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":22}},{"3":{"ItemType":13}},{"2":{"Name":"admissionregistration.k8s.io/MutatingWebhookConfiguration","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"webhooks":{"Type":28,"Flags":0,"Description":"Webhooks is a list of webhooks and the affected resources and operations."}}}},{"4":{"Name":"admissionregistration.k8s.io/MutatingWebhookConfiguration@v1","ScopeType":0,"Body":29,"Flags":0}},{"6":{"Value":"ValidatingWebhookConfiguration"}},{"6":{"Value":"admissionregistration.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":33,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":34,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiAdmissionregistrationV1ValidatingWebhook","Properties":{"admissionReviewVersions":{"Type":37,"Flags":1,"Description":"AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy."},"clientConfig":{"Type":15,"Flags":1,"Description":"WebhookClientConfig contains the information to make a TLS connection with the webhook"},"failurePolicy":{"Type":4,"Flags":0,"Description":"FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail."},"matchPolicy":{"Type":4,"Flags":0,"Description":"matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\".\n\n- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.\n\n- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.\n\nDefaults to \"Equivalent\""},"name":{"Type":4,"Flags":1,"Description":"The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required."},"namespaceSelector":{"Type":17,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"objectSelector":{"Type":17,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"rules":{"Type":38,"Flags":0,"Description":"Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."},"sideEffects":{"Type":4,"Flags":1,"Description":"SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some."},"timeoutSeconds":{"Type":3,"Flags":0,"Description":"TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":22}},{"3":{"ItemType":36}},{"2":{"Name":"admissionregistration.k8s.io/ValidatingWebhookConfiguration","Properties":{"kind":{"Type":31,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":32,"Flags":10,"Description":"The api version."},"metadata":{"Type":35,"Flags":1,"Description":"The resource metadata."},"webhooks":{"Type":39,"Flags":0,"Description":"Webhooks is a list of webhooks and the affected resources and operations."}}}},{"4":{"Name":"admissionregistration.k8s.io/ValidatingWebhookConfiguration@v1","ScopeType":0,"Body":40,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "MutatingWebhookConfiguration" + }, + { + "$type": "StringLiteralType", + "value": "admissionregistration.k8s.io/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAdmissionregistrationV1MutatingWebhook", + "properties": { + "admissionReviewVersions": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy." + }, + "clientConfig": { + "type": { + "$ref": "#/8" + }, + "flags": 1, + "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook" + }, + "failurePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail." + }, + "matchPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\".\n\n- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.\n\n- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.\n\nDefaults to \"Equivalent\"" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required." + }, + "namespaceSelector": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "objectSelector": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "reinvocationPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\".\n\nNever: the webhook will not be called more than once in a single admission evaluation.\n\nIfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead.\n\nDefaults to \"Never\"." + }, + "rules": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects." + }, + "sideEffects": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some." + }, + "timeoutSeconds": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAdmissionregistrationV1WebhookClientConfig", + "properties": { + "caBundle": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used." + }, + "service": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "ServiceReference holds a reference to Service.legacy.k8s.io" + }, + "url": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either." + } + } + }, + { + "$type": "AnyType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAdmissionregistrationV1ServiceReference", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "`name` is the name of the service. Required" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "`namespace` is the namespace of the service. Required" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "`path` is an optional URL path which will be sent in any request to this service." + }, + "port": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelector", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/15" + }, + "flags": 0, + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." + }, + "matchLabels": { + "type": { + "$ref": "#/16" + }, + "flags": 0, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/13" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAdmissionregistrationV1RuleWithOperations", + "properties": { + "apiGroups": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required." + }, + "apiVersions": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required." + }, + "operations": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required." + }, + "resources": { + "type": { + "$ref": "#/21" + }, + "flags": 0, + "description": "Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required." + }, + "scope": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\"." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/17" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/6" + } + }, + { + "$type": "ObjectType", + "name": "admissionregistration.k8s.io/MutatingWebhookConfiguration", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "webhooks": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Webhooks is a list of webhooks and the affected resources and operations." + } + } + }, + { + "$type": "ResourceType", + "name": "admissionregistration.k8s.io/MutatingWebhookConfiguration@v1", + "scopeType": 0, + "body": { + "$ref": "#/24" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "ValidatingWebhookConfiguration" + }, + { + "$type": "StringLiteralType", + "value": "admissionregistration.k8s.io/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/28" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAdmissionregistrationV1ValidatingWebhook", + "properties": { + "admissionReviewVersions": { + "type": { + "$ref": "#/32" + }, + "flags": 1, + "description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy." + }, + "clientConfig": { + "type": { + "$ref": "#/8" + }, + "flags": 1, + "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook" + }, + "failurePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail." + }, + "matchPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\".\n\n- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.\n\n- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.\n\nDefaults to \"Equivalent\"" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required." + }, + "namespaceSelector": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "objectSelector": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "rules": { + "type": { + "$ref": "#/33" + }, + "flags": 0, + "description": "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects." + }, + "sideEffects": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some." + }, + "timeoutSeconds": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/17" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/31" + } + }, + { + "$type": "ObjectType", + "name": "admissionregistration.k8s.io/ValidatingWebhookConfiguration", + "properties": { + "kind": { + "type": { + "$ref": "#/26" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/27" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/30" + }, + "flags": 1, + "description": "The resource metadata." + }, + "webhooks": { + "type": { + "$ref": "#/34" + }, + "flags": 0, + "description": "Webhooks is a list of webhooks and the affected resources and operations." + } + } + }, + { + "$type": "ResourceType", + "name": "admissionregistration.k8s.io/ValidatingWebhookConfiguration@v1", + "scopeType": 0, + "body": { + "$ref": "#/35" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/admissionregistration.k8s.io/v1beta1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/admissionregistration.k8s.io/v1beta1/types.json index 9f3beba1..8e548ade 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/admissionregistration.k8s.io/v1beta1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/admissionregistration.k8s.io/v1beta1/types.json @@ -1 +1,587 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"MutatingWebhookConfiguration"}},{"6":{"Value":"admissionregistration.k8s.io/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiAdmissionregistrationV1Beta1MutatingWebhook","Properties":{"admissionReviewVersions":{"Type":14,"Flags":0,"Description":"AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`."},"clientConfig":{"Type":15,"Flags":1,"Description":"WebhookClientConfig contains the information to make a TLS connection with the webhook"},"failurePolicy":{"Type":4,"Flags":0,"Description":"FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore."},"matchPolicy":{"Type":4,"Flags":0,"Description":"matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\".\n\n- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.\n\n- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.\n\nDefaults to \"Exact\""},"name":{"Type":4,"Flags":1,"Description":"The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required."},"namespaceSelector":{"Type":17,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"objectSelector":{"Type":17,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"reinvocationPolicy":{"Type":4,"Flags":0,"Description":"reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\".\n\nNever: the webhook will not be called more than once in a single admission evaluation.\n\nIfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead.\n\nDefaults to \"Never\"."},"rules":{"Type":27,"Flags":0,"Description":"Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."},"sideEffects":{"Type":4,"Flags":0,"Description":"SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown."},"timeoutSeconds":{"Type":3,"Flags":0,"Description":"TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiAdmissionregistrationV1Beta1WebhookClientConfig","Properties":{"caBundle":{"Type":0,"Flags":0,"Description":"`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."},"service":{"Type":16,"Flags":0,"Description":"ServiceReference holds a reference to Service.legacy.k8s.io"},"url":{"Type":4,"Flags":0,"Description":"`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either."}}}},{"2":{"Name":"IoK8SApiAdmissionregistrationV1Beta1ServiceReference","Properties":{"name":{"Type":4,"Flags":1,"Description":"`name` is the name of the service. Required"},"namespace":{"Type":4,"Flags":1,"Description":"`namespace` is the namespace of the service. Required"},"path":{"Type":4,"Flags":0,"Description":"`path` is an optional URL path which will be sent in any request to this service."},"port":{"Type":3,"Flags":0,"Description":"If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelector","Properties":{"matchExpressions":{"Type":20,"Flags":0,"Description":"matchExpressions is a list of label selector requirements. The requirements are ANDed."},"matchLabels":{"Type":21,"Flags":0,"Description":"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."},"values":{"Type":19,"Flags":0,"Description":"values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":18}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiAdmissionregistrationV1Beta1RuleWithOperations","Properties":{"apiGroups":{"Type":23,"Flags":0,"Description":"APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required."},"apiVersions":{"Type":24,"Flags":0,"Description":"APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required."},"operations":{"Type":25,"Flags":0,"Description":"Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required."},"resources":{"Type":26,"Flags":0,"Description":"Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required."},"scope":{"Type":4,"Flags":0,"Description":"scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\"."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":22}},{"3":{"ItemType":13}},{"2":{"Name":"admissionregistration.k8s.io/MutatingWebhookConfiguration","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"webhooks":{"Type":28,"Flags":0,"Description":"Webhooks is a list of webhooks and the affected resources and operations."}}}},{"4":{"Name":"admissionregistration.k8s.io/MutatingWebhookConfiguration@v1beta1","ScopeType":0,"Body":29,"Flags":0}},{"6":{"Value":"ValidatingWebhookConfiguration"}},{"6":{"Value":"admissionregistration.k8s.io/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":33,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":34,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiAdmissionregistrationV1Beta1ValidatingWebhook","Properties":{"admissionReviewVersions":{"Type":37,"Flags":0,"Description":"AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`."},"clientConfig":{"Type":15,"Flags":1,"Description":"WebhookClientConfig contains the information to make a TLS connection with the webhook"},"failurePolicy":{"Type":4,"Flags":0,"Description":"FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore."},"matchPolicy":{"Type":4,"Flags":0,"Description":"matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\".\n\n- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.\n\n- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.\n\nDefaults to \"Exact\""},"name":{"Type":4,"Flags":1,"Description":"The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required."},"namespaceSelector":{"Type":17,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"objectSelector":{"Type":17,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"rules":{"Type":38,"Flags":0,"Description":"Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."},"sideEffects":{"Type":4,"Flags":0,"Description":"SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown."},"timeoutSeconds":{"Type":3,"Flags":0,"Description":"TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":22}},{"3":{"ItemType":36}},{"2":{"Name":"admissionregistration.k8s.io/ValidatingWebhookConfiguration","Properties":{"kind":{"Type":31,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":32,"Flags":10,"Description":"The api version."},"metadata":{"Type":35,"Flags":1,"Description":"The resource metadata."},"webhooks":{"Type":39,"Flags":0,"Description":"Webhooks is a list of webhooks and the affected resources and operations."}}}},{"4":{"Name":"admissionregistration.k8s.io/ValidatingWebhookConfiguration@v1beta1","ScopeType":0,"Body":40,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "MutatingWebhookConfiguration" + }, + { + "$type": "StringLiteralType", + "value": "admissionregistration.k8s.io/v1beta1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAdmissionregistrationV1Beta1MutatingWebhook", + "properties": { + "admissionReviewVersions": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`." + }, + "clientConfig": { + "type": { + "$ref": "#/8" + }, + "flags": 1, + "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook" + }, + "failurePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore." + }, + "matchPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\".\n\n- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.\n\n- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.\n\nDefaults to \"Exact\"" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required." + }, + "namespaceSelector": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "objectSelector": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "reinvocationPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\".\n\nNever: the webhook will not be called more than once in a single admission evaluation.\n\nIfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead.\n\nDefaults to \"Never\"." + }, + "rules": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects." + }, + "sideEffects": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown." + }, + "timeoutSeconds": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAdmissionregistrationV1Beta1WebhookClientConfig", + "properties": { + "caBundle": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used." + }, + "service": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "ServiceReference holds a reference to Service.legacy.k8s.io" + }, + "url": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either." + } + } + }, + { + "$type": "AnyType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAdmissionregistrationV1Beta1ServiceReference", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "`name` is the name of the service. Required" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "`namespace` is the namespace of the service. Required" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "`path` is an optional URL path which will be sent in any request to this service." + }, + "port": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelector", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/15" + }, + "flags": 0, + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." + }, + "matchLabels": { + "type": { + "$ref": "#/16" + }, + "flags": 0, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/13" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAdmissionregistrationV1Beta1RuleWithOperations", + "properties": { + "apiGroups": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required." + }, + "apiVersions": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required." + }, + "operations": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required." + }, + "resources": { + "type": { + "$ref": "#/21" + }, + "flags": 0, + "description": "Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required." + }, + "scope": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\"." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/17" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/6" + } + }, + { + "$type": "ObjectType", + "name": "admissionregistration.k8s.io/MutatingWebhookConfiguration", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "webhooks": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Webhooks is a list of webhooks and the affected resources and operations." + } + } + }, + { + "$type": "ResourceType", + "name": "admissionregistration.k8s.io/MutatingWebhookConfiguration@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/24" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "ValidatingWebhookConfiguration" + }, + { + "$type": "StringLiteralType", + "value": "admissionregistration.k8s.io/v1beta1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/28" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAdmissionregistrationV1Beta1ValidatingWebhook", + "properties": { + "admissionReviewVersions": { + "type": { + "$ref": "#/32" + }, + "flags": 0, + "description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`." + }, + "clientConfig": { + "type": { + "$ref": "#/8" + }, + "flags": 1, + "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook" + }, + "failurePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore." + }, + "matchPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\".\n\n- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.\n\n- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.\n\nDefaults to \"Exact\"" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required." + }, + "namespaceSelector": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "objectSelector": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "rules": { + "type": { + "$ref": "#/33" + }, + "flags": 0, + "description": "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects." + }, + "sideEffects": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown." + }, + "timeoutSeconds": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/17" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/31" + } + }, + { + "$type": "ObjectType", + "name": "admissionregistration.k8s.io/ValidatingWebhookConfiguration", + "properties": { + "kind": { + "type": { + "$ref": "#/26" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/27" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/30" + }, + "flags": 1, + "description": "The resource metadata." + }, + "webhooks": { + "type": { + "$ref": "#/34" + }, + "flags": 0, + "description": "Webhooks is a list of webhooks and the affected resources and operations." + } + } + }, + { + "$type": "ResourceType", + "name": "admissionregistration.k8s.io/ValidatingWebhookConfiguration@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/35" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/apiextensions.k8s.io/v1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/apiextensions.k8s.io/v1/types.json index 2be004bb..d5a260d0 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/apiextensions.k8s.io/v1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/apiextensions.k8s.io/v1/types.json @@ -1 +1,965 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"CustomResourceDefinition"}},{"6":{"Value":"apiextensions.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec","Properties":{"conversion":{"Type":14,"Flags":0,"Description":"CustomResourceConversion describes how to convert different versions of a CR."},"group":{"Type":4,"Flags":1,"Description":"group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`)."},"names":{"Type":19,"Flags":1,"Description":"CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition"},"preserveUnknownFields":{"Type":2,"Flags":0,"Description":"preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details."},"scope":{"Type":4,"Flags":1,"Description":"scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`."},"versions":{"Type":40,"Flags":1,"Description":"versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. 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."}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion","Properties":{"strategy":{"Type":4,"Flags":1,"Description":"strategy specifies how custom resources are converted between versions. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information\n is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set."},"webhook":{"Type":15,"Flags":0,"Description":"WebhookConversion describes how to call a conversion webhook"}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion","Properties":{"clientConfig":{"Type":16,"Flags":0,"Description":"WebhookClientConfig contains the information to make a TLS connection with the webhook."},"conversionReviewVersions":{"Type":18,"Flags":1,"Description":"conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail."}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig","Properties":{"caBundle":{"Type":0,"Flags":0,"Description":"caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."},"service":{"Type":17,"Flags":0,"Description":"ServiceReference holds a reference to Service.legacy.k8s.io"},"url":{"Type":4,"Flags":0,"Description":"url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either."}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1ServiceReference","Properties":{"name":{"Type":4,"Flags":1,"Description":"name is the name of the service. Required"},"namespace":{"Type":4,"Flags":1,"Description":"namespace is the namespace of the service. Required"},"path":{"Type":4,"Flags":0,"Description":"path is an optional URL path at which the webhook will be contacted."},"port":{"Type":3,"Flags":0,"Description":"port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames","Properties":{"categories":{"Type":20,"Flags":0,"Description":"categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`."},"kind":{"Type":4,"Flags":1,"Description":"kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls."},"listKind":{"Type":4,"Flags":0,"Description":"listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\"."},"plural":{"Type":4,"Flags":1,"Description":"plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase."},"shortNames":{"Type":21,"Flags":0,"Description":"shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase."},"singular":{"Type":4,"Flags":0,"Description":"singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion","Properties":{"additionalPrinterColumns":{"Type":24,"Flags":0,"Description":"additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used."},"deprecated":{"Type":2,"Flags":0,"Description":"deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false."},"deprecationWarning":{"Type":4,"Flags":0,"Description":"deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists."},"name":{"Type":4,"Flags":1,"Description":"name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis///...` if `served` is true."},"schema":{"Type":25,"Flags":0,"Description":"CustomResourceValidation is a list of validation methods for CustomResources."},"served":{"Type":2,"Flags":1,"Description":"served is a flag enabling/disabling this version from being served via REST APIs"},"storage":{"Type":2,"Flags":1,"Description":"storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true."},"subresources":{"Type":38,"Flags":0,"Description":"CustomResourceSubresources defines the status and scale subresources for CustomResources."}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition","Properties":{"description":{"Type":4,"Flags":0,"Description":"description is a human readable description of this column."},"format":{"Type":4,"Flags":0,"Description":"format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."},"jsonPath":{"Type":4,"Flags":1,"Description":"jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column."},"name":{"Type":4,"Flags":1,"Description":"name is a human readable name for the column."},"priority":{"Type":3,"Flags":0,"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 priority greater than 0."},"type":{"Type":4,"Flags":1,"Description":"type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."}}}},{"3":{"ItemType":23}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation","Properties":{"openAPIV3Schema":{"Type":26,"Flags":0,"Description":"JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/)."}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1JsonSchemaProps","Properties":{"$ref":{"Type":4,"Flags":0},"$schema":{"Type":4,"Flags":0},"additionalItems":{"Type":0,"Flags":0,"Description":"Anything"},"additionalProperties":{"Type":0,"Flags":0,"Description":"Anything"},"allOf":{"Type":27,"Flags":0,"Description":"Array of io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps"},"anyOf":{"Type":28,"Flags":0,"Description":"Array of io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps"},"default":{"Type":0,"Flags":0,"Description":"Anything"},"definitions":{"Type":29,"Flags":0,"Description":"Dictionary of "},"dependencies":{"Type":30,"Flags":0,"Description":"Dictionary of "},"description":{"Type":4,"Flags":0},"enum":{"Type":31,"Flags":0,"Description":"Array of any"},"example":{"Type":0,"Flags":0,"Description":"Anything"},"exclusiveMaximum":{"Type":2,"Flags":0},"exclusiveMinimum":{"Type":2,"Flags":0},"externalDocs":{"Type":32,"Flags":0,"Description":"ExternalDocumentation allows referencing an external resource for extended documentation."},"format":{"Type":4,"Flags":0,"Description":"format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339."},"id":{"Type":4,"Flags":0},"items":{"Type":0,"Flags":0,"Description":"Anything"},"maxItems":{"Type":3,"Flags":0},"maxLength":{"Type":3,"Flags":0},"maxProperties":{"Type":3,"Flags":0},"maximum":{"Type":3,"Flags":0},"minItems":{"Type":3,"Flags":0},"minLength":{"Type":3,"Flags":0},"minProperties":{"Type":3,"Flags":0},"minimum":{"Type":3,"Flags":0},"multipleOf":{"Type":3,"Flags":0},"not":{"Type":26,"Flags":0,"Description":"JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/)."},"nullable":{"Type":2,"Flags":0},"oneOf":{"Type":33,"Flags":0,"Description":"Array of io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps"},"pattern":{"Type":4,"Flags":0},"patternProperties":{"Type":34,"Flags":0,"Description":"Dictionary of "},"properties":{"Type":35,"Flags":0,"Description":"Dictionary of "},"required":{"Type":36,"Flags":0,"Description":"Array of IoK8SApiextensionsApiserverPkgApisApiextensionsV1JsonSchemaPropsRequiredItem"},"title":{"Type":4,"Flags":0},"type":{"Type":4,"Flags":0},"uniqueItems":{"Type":2,"Flags":0},"x-kubernetes-embedded-resource":{"Type":2,"Flags":0,"Description":"x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata)."},"x-kubernetes-int-or-string":{"Type":2,"Flags":0,"Description":"x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:\n\n1) anyOf:\n - type: integer\n - type: string\n2) allOf:\n - anyOf:\n - type: integer\n - type: string\n - ... zero or more"},"x-kubernetes-list-map-keys":{"Type":37,"Flags":0,"Description":"x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.\n\nThis tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).\n\nThe properties specified must either be required or have a default value, to ensure those properties are present for all list items."},"x-kubernetes-list-type":{"Type":4,"Flags":0,"Description":"x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar, an object with x-kubernetes-map-type `atomic` or an\n array with x-kubernetes-list-type `atomic`.\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays."},"x-kubernetes-map-type":{"Type":4,"Flags":0,"Description":"x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:\n\n1) `granular`:\n These maps are actual maps (key-value pairs) and each fields are independent\n from each other (they can each be manipulated by separate actors). This is\n the default behaviour for all maps.\n2) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic maps will be entirely replaced when updated."},"x-kubernetes-preserve-unknown-fields":{"Type":2,"Flags":0,"Description":"x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden."}}}},{"3":{"ItemType":26}},{"3":{"ItemType":26}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1JsonSchemaPropsDefinitions","Properties":{},"AdditionalProperties":26}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1JsonSchemaPropsDependencies","Properties":{},"AdditionalProperties":0}},{"3":{"ItemType":0}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation","Properties":{"description":{"Type":4,"Flags":0},"url":{"Type":4,"Flags":0}}}},{"3":{"ItemType":26}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1JsonSchemaPropsPatternProperties","Properties":{},"AdditionalProperties":26}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1JsonSchemaPropsProperties","Properties":{},"AdditionalProperties":26}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources","Properties":{"scale":{"Type":39,"Flags":0,"Description":"CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources."},"status":{"Type":0,"Flags":0,"Description":"Any object"}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale","Properties":{"labelSelectorPath":{"Type":4,"Flags":0,"Description":"labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string."},"specReplicasPath":{"Type":4,"Flags":1,"Description":"specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET."},"statusReplicasPath":{"Type":4,"Flags":1,"Description":"statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0."}}}},{"3":{"ItemType":22}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus","Properties":{"acceptedNames":{"Type":19,"Flags":0,"Description":"CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition"},"conditions":{"Type":43,"Flags":0,"Description":"conditions indicate state for particular aspects of a CustomResourceDefinition"},"storedVersions":{"Type":44,"Flags":0,"Description":"storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list."}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"message is a human-readable message indicating details about last transition."},"reason":{"Type":4,"Flags":0,"Description":"reason is a unique, one-word, CamelCase reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"status is the status of the condition. Can be True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"type is the type of the condition. Types include Established, NamesAccepted and Terminating."}}}},{"3":{"ItemType":42}},{"3":{"ItemType":4}},{"2":{"Name":"apiextensions.k8s.io/CustomResourceDefinition","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":1,"Description":"CustomResourceDefinitionSpec describes how a user wants their resource to appear"},"status":{"Type":41,"Flags":0,"Description":"CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition"}}}},{"4":{"Name":"apiextensions.k8s.io/CustomResourceDefinition@v1","ScopeType":0,"Body":45,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "CustomResourceDefinition" + }, + { + "$type": "StringLiteralType", + "value": "apiextensions.k8s.io/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec", + "properties": { + "conversion": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "CustomResourceConversion describes how to convert different versions of a CR." + }, + "group": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`)." + }, + "names": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition" + }, + "preserveUnknownFields": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details." + }, + "scope": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`." + }, + "versions": { + "type": { + "$ref": "#/36" + }, + "flags": 1, + "description": "versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. 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": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion", + "properties": { + "strategy": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "strategy specifies how custom resources are converted between versions. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information\n is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set." + }, + "webhook": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "WebhookConversion describes how to call a conversion webhook" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion", + "properties": { + "clientConfig": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook." + }, + "conversionReviewVersions": { + "type": { + "$ref": "#/13" + }, + "flags": 1, + "description": "conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig", + "properties": { + "caBundle": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used." + }, + "service": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "ServiceReference holds a reference to Service.legacy.k8s.io" + }, + "url": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either." + } + } + }, + { + "$type": "AnyType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1ServiceReference", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name is the name of the service. Required" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "namespace is the namespace of the service. Required" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "path is an optional URL path at which the webhook will be contacted." + }, + "port": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames", + "properties": { + "categories": { + "type": { + "$ref": "#/15" + }, + "flags": 0, + "description": "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls." + }, + "listKind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\"." + }, + "plural": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase." + }, + "shortNames": { + "type": { + "$ref": "#/16" + }, + "flags": 0, + "description": "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase." + }, + "singular": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "BooleanType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion", + "properties": { + "additionalPrinterColumns": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used." + }, + "deprecated": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false." + }, + "deprecationWarning": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis///...` if `served` is true." + }, + "schema": { + "type": { + "$ref": "#/21" + }, + "flags": 0, + "description": "CustomResourceValidation is a list of validation methods for CustomResources." + }, + "served": { + "type": { + "$ref": "#/17" + }, + "flags": 1, + "description": "served is a flag enabling/disabling this version from being served via REST APIs" + }, + "storage": { + "type": { + "$ref": "#/17" + }, + "flags": 1, + "description": "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true." + }, + "subresources": { + "type": { + "$ref": "#/34" + }, + "flags": 0, + "description": "CustomResourceSubresources defines the status and scale subresources for CustomResources." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition", + "properties": { + "description": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "description is a human readable description of this column." + }, + "format": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details." + }, + "jsonPath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name is a human readable name for the column." + }, + "priority": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "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 priority greater than 0." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/19" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation", + "properties": { + "openAPIV3Schema": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/)." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1JsonSchemaProps", + "properties": { + "$ref": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "$schema": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "additionalItems": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "Anything" + }, + "additionalProperties": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "Anything" + }, + "allOf": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Array of io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" + }, + "anyOf": { + "type": { + "$ref": "#/24" + }, + "flags": 0, + "description": "Array of io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" + }, + "default": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "Anything" + }, + "definitions": { + "type": { + "$ref": "#/25" + }, + "flags": 0, + "description": "Dictionary of " + }, + "dependencies": { + "type": { + "$ref": "#/26" + }, + "flags": 0, + "description": "Dictionary of " + }, + "description": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "enum": { + "type": { + "$ref": "#/27" + }, + "flags": 0, + "description": "Array of any" + }, + "example": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "Anything" + }, + "exclusiveMaximum": { + "type": { + "$ref": "#/17" + }, + "flags": 0 + }, + "exclusiveMinimum": { + "type": { + "$ref": "#/17" + }, + "flags": 0 + }, + "externalDocs": { + "type": { + "$ref": "#/28" + }, + "flags": 0, + "description": "ExternalDocumentation allows referencing an external resource for extended documentation." + }, + "format": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339." + }, + "id": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "items": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "Anything" + }, + "maxItems": { + "type": { + "$ref": "#/12" + }, + "flags": 0 + }, + "maxLength": { + "type": { + "$ref": "#/12" + }, + "flags": 0 + }, + "maxProperties": { + "type": { + "$ref": "#/12" + }, + "flags": 0 + }, + "maximum": { + "type": { + "$ref": "#/12" + }, + "flags": 0 + }, + "minItems": { + "type": { + "$ref": "#/12" + }, + "flags": 0 + }, + "minLength": { + "type": { + "$ref": "#/12" + }, + "flags": 0 + }, + "minProperties": { + "type": { + "$ref": "#/12" + }, + "flags": 0 + }, + "minimum": { + "type": { + "$ref": "#/12" + }, + "flags": 0 + }, + "multipleOf": { + "type": { + "$ref": "#/12" + }, + "flags": 0 + }, + "not": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/)." + }, + "nullable": { + "type": { + "$ref": "#/17" + }, + "flags": 0 + }, + "oneOf": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Array of io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" + }, + "pattern": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "patternProperties": { + "type": { + "$ref": "#/30" + }, + "flags": 0, + "description": "Dictionary of " + }, + "properties": { + "type": { + "$ref": "#/31" + }, + "flags": 0, + "description": "Dictionary of " + }, + "required": { + "type": { + "$ref": "#/32" + }, + "flags": 0, + "description": "Array of IoK8SApiextensionsApiserverPkgApisApiextensionsV1JsonSchemaPropsRequiredItem" + }, + "title": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "uniqueItems": { + "type": { + "$ref": "#/17" + }, + "flags": 0 + }, + "x-kubernetes-embedded-resource": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata)." + }, + "x-kubernetes-int-or-string": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:\n\n1) anyOf:\n - type: integer\n - type: string\n2) allOf:\n - anyOf:\n - type: integer\n - type: string\n - ... zero or more" + }, + "x-kubernetes-list-map-keys": { + "type": { + "$ref": "#/33" + }, + "flags": 0, + "description": "x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.\n\nThis tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).\n\nThe properties specified must either be required or have a default value, to ensure those properties are present for all list items." + }, + "x-kubernetes-list-type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar, an object with x-kubernetes-map-type `atomic` or an\n array with x-kubernetes-list-type `atomic`.\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays." + }, + "x-kubernetes-map-type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:\n\n1) `granular`:\n These maps are actual maps (key-value pairs) and each fields are independent\n from each other (they can each be manipulated by separate actors). This is\n the default behaviour for all maps.\n2) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic maps will be entirely replaced when updated." + }, + "x-kubernetes-preserve-unknown-fields": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/22" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/22" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1JsonSchemaPropsDefinitions", + "properties": {}, + "additionalProperties": { + "$ref": "#/22" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1JsonSchemaPropsDependencies", + "properties": {}, + "additionalProperties": { + "$ref": "#/10" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/10" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation", + "properties": { + "description": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "url": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/22" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1JsonSchemaPropsPatternProperties", + "properties": {}, + "additionalProperties": { + "$ref": "#/22" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1JsonSchemaPropsProperties", + "properties": {}, + "additionalProperties": { + "$ref": "#/22" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources", + "properties": { + "scale": { + "type": { + "$ref": "#/35" + }, + "flags": 0, + "description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources." + }, + "status": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "Any object" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale", + "properties": { + "labelSelectorPath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string." + }, + "specReplicasPath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET." + }, + "statusReplicasPath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/18" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus", + "properties": { + "acceptedNames": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition" + }, + "conditions": { + "type": { + "$ref": "#/39" + }, + "flags": 0, + "description": "conditions indicate state for particular aspects of a CustomResourceDefinition" + }, + "storedVersions": { + "type": { + "$ref": "#/40" + }, + "flags": 0, + "description": "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "message is a human-readable message indicating details about last transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "reason is a unique, one-word, CamelCase reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "status is the status of the condition. Can be True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type is the type of the condition. Types include Established, NamesAccepted and Terminating." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/38" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "apiextensions.k8s.io/CustomResourceDefinition", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 1, + "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear" + }, + "status": { + "type": { + "$ref": "#/37" + }, + "flags": 0, + "description": "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition" + } + } + }, + { + "$type": "ResourceType", + "name": "apiextensions.k8s.io/CustomResourceDefinition@v1", + "scopeType": 0, + "body": { + "$ref": "#/41" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/apiextensions.k8s.io/v1beta1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/apiextensions.k8s.io/v1beta1/types.json index bce7b39a..22fc9ef5 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/apiextensions.k8s.io/v1beta1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/apiextensions.k8s.io/v1beta1/types.json @@ -1 +1,986 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"CustomResourceDefinition"}},{"6":{"Value":"apiextensions.k8s.io/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1CustomResourceDefinitionSpec","Properties":{"additionalPrinterColumns":{"Type":15,"Flags":0,"Description":"additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used."},"conversion":{"Type":16,"Flags":0,"Description":"CustomResourceConversion describes how to convert different versions of a CR."},"group":{"Type":4,"Flags":1,"Description":"group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`)."},"names":{"Type":20,"Flags":1,"Description":"CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition"},"preserveUnknownFields":{"Type":2,"Flags":0,"Description":"preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. If false, schemas must be defined for all versions. Defaults to true in v1beta for backwards compatibility. Deprecated: will be required to be false in v1. Preservation of unknown fields can be specified in the validation schema using the `x-kubernetes-preserve-unknown-fields: true` extension. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details."},"scope":{"Type":4,"Flags":1,"Description":"scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`."},"subresources":{"Type":23,"Flags":0,"Description":"CustomResourceSubresources defines the status and scale subresources for CustomResources."},"validation":{"Type":25,"Flags":0,"Description":"CustomResourceValidation is a list of validation methods for CustomResources."},"version":{"Type":4,"Flags":0,"Description":"version is the API version of the defined custom resource. The custom resources are served under `/apis///...`. Must match the name of the first item in the `versions` list if `version` and `versions` are both specified. Optional if `versions` is specified. Deprecated: use `versions` instead."},"versions":{"Type":40,"Flags":0,"Description":"versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. 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."}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1CustomResourceColumnDefinition","Properties":{"JSONPath":{"Type":4,"Flags":1,"Description":"JSONPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column."},"description":{"Type":4,"Flags":0,"Description":"description is a human readable description of this column."},"format":{"Type":4,"Flags":0,"Description":"format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."},"name":{"Type":4,"Flags":1,"Description":"name is a human readable name for the column."},"priority":{"Type":3,"Flags":0,"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 priority greater than 0."},"type":{"Type":4,"Flags":1,"Description":"type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."}}}},{"3":{"ItemType":14}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1CustomResourceConversion","Properties":{"conversionReviewVersions":{"Type":17,"Flags":0,"Description":"conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail. Defaults to `[\"v1beta1\"]`."},"strategy":{"Type":4,"Flags":1,"Description":"strategy specifies how custom resources are converted between versions. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information\n is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhookClientConfig to be set."},"webhookClientConfig":{"Type":18,"Flags":0,"Description":"WebhookClientConfig contains the information to make a TLS connection with the webhook."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1WebhookClientConfig","Properties":{"caBundle":{"Type":0,"Flags":0,"Description":"caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."},"service":{"Type":19,"Flags":0,"Description":"ServiceReference holds a reference to Service.legacy.k8s.io"},"url":{"Type":4,"Flags":0,"Description":"url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either."}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1ServiceReference","Properties":{"name":{"Type":4,"Flags":1,"Description":"name is the name of the service. Required"},"namespace":{"Type":4,"Flags":1,"Description":"namespace is the namespace of the service. Required"},"path":{"Type":4,"Flags":0,"Description":"path is an optional URL path at which the webhook will be contacted."},"port":{"Type":3,"Flags":0,"Description":"port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility."}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1CustomResourceDefinitionNames","Properties":{"categories":{"Type":21,"Flags":0,"Description":"categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`."},"kind":{"Type":4,"Flags":1,"Description":"kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls."},"listKind":{"Type":4,"Flags":0,"Description":"listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\"."},"plural":{"Type":4,"Flags":1,"Description":"plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase."},"shortNames":{"Type":22,"Flags":0,"Description":"shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase."},"singular":{"Type":4,"Flags":0,"Description":"singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1CustomResourceSubresources","Properties":{"scale":{"Type":24,"Flags":0,"Description":"CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources."},"status":{"Type":0,"Flags":0,"Description":"Any object"}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1CustomResourceSubresourceScale","Properties":{"labelSelectorPath":{"Type":4,"Flags":0,"Description":"labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string."},"specReplicasPath":{"Type":4,"Flags":1,"Description":"specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET."},"statusReplicasPath":{"Type":4,"Flags":1,"Description":"statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0."}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1CustomResourceValidation","Properties":{"openAPIV3Schema":{"Type":26,"Flags":0,"Description":"JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/)."}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1JsonSchemaProps","Properties":{"$ref":{"Type":4,"Flags":0},"$schema":{"Type":4,"Flags":0},"additionalItems":{"Type":0,"Flags":0,"Description":"Anything"},"additionalProperties":{"Type":0,"Flags":0,"Description":"Anything"},"allOf":{"Type":27,"Flags":0,"Description":"Array of io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps"},"anyOf":{"Type":28,"Flags":0,"Description":"Array of io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps"},"default":{"Type":0,"Flags":0,"Description":"Anything"},"definitions":{"Type":29,"Flags":0,"Description":"Dictionary of "},"dependencies":{"Type":30,"Flags":0,"Description":"Dictionary of "},"description":{"Type":4,"Flags":0},"enum":{"Type":31,"Flags":0,"Description":"Array of any"},"example":{"Type":0,"Flags":0,"Description":"Anything"},"exclusiveMaximum":{"Type":2,"Flags":0},"exclusiveMinimum":{"Type":2,"Flags":0},"externalDocs":{"Type":32,"Flags":0,"Description":"ExternalDocumentation allows referencing an external resource for extended documentation."},"format":{"Type":4,"Flags":0,"Description":"format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339."},"id":{"Type":4,"Flags":0},"items":{"Type":0,"Flags":0,"Description":"Anything"},"maxItems":{"Type":3,"Flags":0},"maxLength":{"Type":3,"Flags":0},"maxProperties":{"Type":3,"Flags":0},"maximum":{"Type":3,"Flags":0},"minItems":{"Type":3,"Flags":0},"minLength":{"Type":3,"Flags":0},"minProperties":{"Type":3,"Flags":0},"minimum":{"Type":3,"Flags":0},"multipleOf":{"Type":3,"Flags":0},"not":{"Type":26,"Flags":0,"Description":"JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/)."},"nullable":{"Type":2,"Flags":0},"oneOf":{"Type":33,"Flags":0,"Description":"Array of io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps"},"pattern":{"Type":4,"Flags":0},"patternProperties":{"Type":34,"Flags":0,"Description":"Dictionary of "},"properties":{"Type":35,"Flags":0,"Description":"Dictionary of "},"required":{"Type":36,"Flags":0,"Description":"Array of IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1JsonSchemaPropsRequiredItem"},"title":{"Type":4,"Flags":0},"type":{"Type":4,"Flags":0},"uniqueItems":{"Type":2,"Flags":0},"x-kubernetes-embedded-resource":{"Type":2,"Flags":0,"Description":"x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata)."},"x-kubernetes-int-or-string":{"Type":2,"Flags":0,"Description":"x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:\n\n1) anyOf:\n - type: integer\n - type: string\n2) allOf:\n - anyOf:\n - type: integer\n - type: string\n - ... zero or more"},"x-kubernetes-list-map-keys":{"Type":37,"Flags":0,"Description":"x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.\n\nThis tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).\n\nThe properties specified must either be required or have a default value, to ensure those properties are present for all list items."},"x-kubernetes-list-type":{"Type":4,"Flags":0,"Description":"x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar, an object with x-kubernetes-map-type `atomic` or an\n array with x-kubernetes-list-type `atomic`.\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays."},"x-kubernetes-map-type":{"Type":4,"Flags":0,"Description":"x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:\n\n1) `granular`:\n These maps are actual maps (key-value pairs) and each fields are independent\n from each other (they can each be manipulated by separate actors). This is\n the default behaviour for all maps.\n2) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic maps will be entirely replaced when updated."},"x-kubernetes-preserve-unknown-fields":{"Type":2,"Flags":0,"Description":"x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden."}}}},{"3":{"ItemType":26}},{"3":{"ItemType":26}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1JsonSchemaPropsDefinitions","Properties":{},"AdditionalProperties":26}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1JsonSchemaPropsDependencies","Properties":{},"AdditionalProperties":0}},{"3":{"ItemType":0}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1ExternalDocumentation","Properties":{"description":{"Type":4,"Flags":0},"url":{"Type":4,"Flags":0}}}},{"3":{"ItemType":26}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1JsonSchemaPropsPatternProperties","Properties":{},"AdditionalProperties":26}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1JsonSchemaPropsProperties","Properties":{},"AdditionalProperties":26}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1CustomResourceDefinitionVersion","Properties":{"additionalPrinterColumns":{"Type":39,"Flags":0,"Description":"additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead). If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used."},"deprecated":{"Type":2,"Flags":0,"Description":"deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false."},"deprecationWarning":{"Type":4,"Flags":0,"Description":"deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists."},"name":{"Type":4,"Flags":1,"Description":"name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis///...` if `served` is true."},"schema":{"Type":25,"Flags":0,"Description":"CustomResourceValidation is a list of validation methods for CustomResources."},"served":{"Type":2,"Flags":1,"Description":"served is a flag enabling/disabling this version from being served via REST APIs"},"storage":{"Type":2,"Flags":1,"Description":"storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true."},"subresources":{"Type":23,"Flags":0,"Description":"CustomResourceSubresources defines the status and scale subresources for CustomResources."}}}},{"3":{"ItemType":14}},{"3":{"ItemType":38}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1CustomResourceDefinitionStatus","Properties":{"acceptedNames":{"Type":20,"Flags":0,"Description":"CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition"},"conditions":{"Type":43,"Flags":0,"Description":"conditions indicate state for particular aspects of a CustomResourceDefinition"},"storedVersions":{"Type":44,"Flags":0,"Description":"storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list."}}}},{"2":{"Name":"IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1CustomResourceDefinitionCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"message is a human-readable message indicating details about last transition."},"reason":{"Type":4,"Flags":0,"Description":"reason is a unique, one-word, CamelCase reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"status is the status of the condition. Can be True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"type is the type of the condition. Types include Established, NamesAccepted and Terminating."}}}},{"3":{"ItemType":42}},{"3":{"ItemType":4}},{"2":{"Name":"apiextensions.k8s.io/CustomResourceDefinition","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":1,"Description":"CustomResourceDefinitionSpec describes how a user wants their resource to appear"},"status":{"Type":41,"Flags":0,"Description":"CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition"}}}},{"4":{"Name":"apiextensions.k8s.io/CustomResourceDefinition@v1beta1","ScopeType":0,"Body":45,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "CustomResourceDefinition" + }, + { + "$type": "StringLiteralType", + "value": "apiextensions.k8s.io/v1beta1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1CustomResourceDefinitionSpec", + "properties": { + "additionalPrinterColumns": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used." + }, + "conversion": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "CustomResourceConversion describes how to convert different versions of a CR." + }, + "group": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`)." + }, + "names": { + "type": { + "$ref": "#/15" + }, + "flags": 1, + "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition" + }, + "preserveUnknownFields": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. If false, schemas must be defined for all versions. Defaults to true in v1beta for backwards compatibility. Deprecated: will be required to be false in v1. Preservation of unknown fields can be specified in the validation schema using the `x-kubernetes-preserve-unknown-fields: true` extension. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details." + }, + "scope": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`." + }, + "subresources": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "CustomResourceSubresources defines the status and scale subresources for CustomResources." + }, + "validation": { + "type": { + "$ref": "#/21" + }, + "flags": 0, + "description": "CustomResourceValidation is a list of validation methods for CustomResources." + }, + "version": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "version is the API version of the defined custom resource. The custom resources are served under `/apis///...`. Must match the name of the first item in the `versions` list if `version` and `versions` are both specified. Optional if `versions` is specified. Deprecated: use `versions` instead." + }, + "versions": { + "type": { + "$ref": "#/36" + }, + "flags": 0, + "description": "versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. 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": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1CustomResourceColumnDefinition", + "properties": { + "JSONPath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "JSONPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column." + }, + "description": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "description is a human readable description of this column." + }, + "format": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name is a human readable name for the column." + }, + "priority": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "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 priority greater than 0." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/7" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1CustomResourceConversion", + "properties": { + "conversionReviewVersions": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail. Defaults to `[\"v1beta1\"]`." + }, + "strategy": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "strategy specifies how custom resources are converted between versions. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information\n is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhookClientConfig to be set." + }, + "webhookClientConfig": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1WebhookClientConfig", + "properties": { + "caBundle": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used." + }, + "service": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "ServiceReference holds a reference to Service.legacy.k8s.io" + }, + "url": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either." + } + } + }, + { + "$type": "AnyType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1ServiceReference", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name is the name of the service. Required" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "namespace is the namespace of the service. Required" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "path is an optional URL path at which the webhook will be contacted." + }, + "port": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1CustomResourceDefinitionNames", + "properties": { + "categories": { + "type": { + "$ref": "#/16" + }, + "flags": 0, + "description": "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls." + }, + "listKind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\"." + }, + "plural": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase." + }, + "shortNames": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase." + }, + "singular": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "BooleanType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1CustomResourceSubresources", + "properties": { + "scale": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources." + }, + "status": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "Any object" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1CustomResourceSubresourceScale", + "properties": { + "labelSelectorPath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string." + }, + "specReplicasPath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET." + }, + "statusReplicasPath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1CustomResourceValidation", + "properties": { + "openAPIV3Schema": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/)." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1JsonSchemaProps", + "properties": { + "$ref": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "$schema": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "additionalItems": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "Anything" + }, + "additionalProperties": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "Anything" + }, + "allOf": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Array of io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" + }, + "anyOf": { + "type": { + "$ref": "#/24" + }, + "flags": 0, + "description": "Array of io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" + }, + "default": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "Anything" + }, + "definitions": { + "type": { + "$ref": "#/25" + }, + "flags": 0, + "description": "Dictionary of " + }, + "dependencies": { + "type": { + "$ref": "#/26" + }, + "flags": 0, + "description": "Dictionary of " + }, + "description": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "enum": { + "type": { + "$ref": "#/27" + }, + "flags": 0, + "description": "Array of any" + }, + "example": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "Anything" + }, + "exclusiveMaximum": { + "type": { + "$ref": "#/18" + }, + "flags": 0 + }, + "exclusiveMinimum": { + "type": { + "$ref": "#/18" + }, + "flags": 0 + }, + "externalDocs": { + "type": { + "$ref": "#/28" + }, + "flags": 0, + "description": "ExternalDocumentation allows referencing an external resource for extended documentation." + }, + "format": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339." + }, + "id": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "items": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "Anything" + }, + "maxItems": { + "type": { + "$ref": "#/8" + }, + "flags": 0 + }, + "maxLength": { + "type": { + "$ref": "#/8" + }, + "flags": 0 + }, + "maxProperties": { + "type": { + "$ref": "#/8" + }, + "flags": 0 + }, + "maximum": { + "type": { + "$ref": "#/8" + }, + "flags": 0 + }, + "minItems": { + "type": { + "$ref": "#/8" + }, + "flags": 0 + }, + "minLength": { + "type": { + "$ref": "#/8" + }, + "flags": 0 + }, + "minProperties": { + "type": { + "$ref": "#/8" + }, + "flags": 0 + }, + "minimum": { + "type": { + "$ref": "#/8" + }, + "flags": 0 + }, + "multipleOf": { + "type": { + "$ref": "#/8" + }, + "flags": 0 + }, + "not": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/)." + }, + "nullable": { + "type": { + "$ref": "#/18" + }, + "flags": 0 + }, + "oneOf": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Array of io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" + }, + "pattern": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "patternProperties": { + "type": { + "$ref": "#/30" + }, + "flags": 0, + "description": "Dictionary of " + }, + "properties": { + "type": { + "$ref": "#/31" + }, + "flags": 0, + "description": "Dictionary of " + }, + "required": { + "type": { + "$ref": "#/32" + }, + "flags": 0, + "description": "Array of IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1JsonSchemaPropsRequiredItem" + }, + "title": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "uniqueItems": { + "type": { + "$ref": "#/18" + }, + "flags": 0 + }, + "x-kubernetes-embedded-resource": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata)." + }, + "x-kubernetes-int-or-string": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:\n\n1) anyOf:\n - type: integer\n - type: string\n2) allOf:\n - anyOf:\n - type: integer\n - type: string\n - ... zero or more" + }, + "x-kubernetes-list-map-keys": { + "type": { + "$ref": "#/33" + }, + "flags": 0, + "description": "x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.\n\nThis tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).\n\nThe properties specified must either be required or have a default value, to ensure those properties are present for all list items." + }, + "x-kubernetes-list-type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar, an object with x-kubernetes-map-type `atomic` or an\n array with x-kubernetes-list-type `atomic`.\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays." + }, + "x-kubernetes-map-type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:\n\n1) `granular`:\n These maps are actual maps (key-value pairs) and each fields are independent\n from each other (they can each be manipulated by separate actors). This is\n the default behaviour for all maps.\n2) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic maps will be entirely replaced when updated." + }, + "x-kubernetes-preserve-unknown-fields": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/22" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/22" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1JsonSchemaPropsDefinitions", + "properties": {}, + "additionalProperties": { + "$ref": "#/22" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1JsonSchemaPropsDependencies", + "properties": {}, + "additionalProperties": { + "$ref": "#/13" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/13" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1ExternalDocumentation", + "properties": { + "description": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "url": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/22" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1JsonSchemaPropsPatternProperties", + "properties": {}, + "additionalProperties": { + "$ref": "#/22" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1JsonSchemaPropsProperties", + "properties": {}, + "additionalProperties": { + "$ref": "#/22" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1CustomResourceDefinitionVersion", + "properties": { + "additionalPrinterColumns": { + "type": { + "$ref": "#/35" + }, + "flags": 0, + "description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead). If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used." + }, + "deprecated": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false." + }, + "deprecationWarning": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis///...` if `served` is true." + }, + "schema": { + "type": { + "$ref": "#/21" + }, + "flags": 0, + "description": "CustomResourceValidation is a list of validation methods for CustomResources." + }, + "served": { + "type": { + "$ref": "#/18" + }, + "flags": 1, + "description": "served is a flag enabling/disabling this version from being served via REST APIs" + }, + "storage": { + "type": { + "$ref": "#/18" + }, + "flags": 1, + "description": "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true." + }, + "subresources": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "CustomResourceSubresources defines the status and scale subresources for CustomResources." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/7" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/34" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1CustomResourceDefinitionStatus", + "properties": { + "acceptedNames": { + "type": { + "$ref": "#/15" + }, + "flags": 0, + "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition" + }, + "conditions": { + "type": { + "$ref": "#/39" + }, + "flags": 0, + "description": "conditions indicate state for particular aspects of a CustomResourceDefinition" + }, + "storedVersions": { + "type": { + "$ref": "#/40" + }, + "flags": 0, + "description": "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiextensionsApiserverPkgApisApiextensionsV1Beta1CustomResourceDefinitionCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "message is a human-readable message indicating details about last transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "reason is a unique, one-word, CamelCase reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "status is the status of the condition. Can be True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type is the type of the condition. Types include Established, NamesAccepted and Terminating." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/38" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "apiextensions.k8s.io/CustomResourceDefinition", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 1, + "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear" + }, + "status": { + "type": { + "$ref": "#/37" + }, + "flags": 0, + "description": "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition" + } + } + }, + { + "$type": "ResourceType", + "name": "apiextensions.k8s.io/CustomResourceDefinition@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/41" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/apiregistration.k8s.io/v1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/apiregistration.k8s.io/v1/types.json index af277785..b6eb0193 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/apiregistration.k8s.io/v1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/apiregistration.k8s.io/v1/types.json @@ -1 +1,257 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"APIService"}},{"6":{"Value":"apiregistration.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SKubeAggregatorPkgApisApiregistrationV1APIServiceSpec","Properties":{"caBundle":{"Type":0,"Flags":0,"Description":"CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used."},"group":{"Type":4,"Flags":0,"Description":"Group is the API group name this server hosts"},"groupPriorityMinimum":{"Type":3,"Flags":1,"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"},"insecureSkipTLSVerify":{"Type":2,"Flags":0,"Description":"InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead."},"service":{"Type":14,"Flags":0,"Description":"ServiceReference holds a reference to Service.legacy.k8s.io"},"version":{"Type":4,"Flags":0,"Description":"Version is the API version this server hosts. For example, \"v1\""},"versionPriority":{"Type":3,"Flags":1,"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."}}}},{"2":{"Name":"IoK8SKubeAggregatorPkgApisApiregistrationV1ServiceReference","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name is the name of the service"},"namespace":{"Type":4,"Flags":0,"Description":"Namespace is the namespace of the service"},"port":{"Type":3,"Flags":0,"Description":"If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."}}}},{"2":{"Name":"IoK8SKubeAggregatorPkgApisApiregistrationV1APIServiceStatus","Properties":{"conditions":{"Type":17,"Flags":0,"Description":"Current service state of apiService."}}}},{"2":{"Name":"IoK8SKubeAggregatorPkgApisApiregistrationV1APIServiceCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"Human-readable message indicating details about last transition."},"reason":{"Type":4,"Flags":0,"Description":"Unique, one-word, CamelCase reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"Status is the status of the condition. Can be True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"Type is the type of the condition."}}}},{"3":{"ItemType":16}},{"2":{"Name":"apiregistration.k8s.io/APIService","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":0,"Description":"APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification."},"status":{"Type":15,"Flags":0,"Description":"APIServiceStatus contains derived information about an API server"}}}},{"4":{"Name":"apiregistration.k8s.io/APIService@v1","ScopeType":0,"Body":18,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "APIService" + }, + { + "$type": "StringLiteralType", + "value": "apiregistration.k8s.io/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SKubeAggregatorPkgApisApiregistrationV1APIServiceSpec", + "properties": { + "caBundle": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used." + }, + "group": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Group is the API group name this server hosts" + }, + "groupPriorityMinimum": { + "type": { + "$ref": "#/8" + }, + "flags": 1, + "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" + }, + "insecureSkipTLSVerify": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead." + }, + "service": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "ServiceReference holds a reference to Service.legacy.k8s.io" + }, + "version": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Version is the API version this server hosts. For example, \"v1\"" + }, + "versionPriority": { + "type": { + "$ref": "#/8" + }, + "flags": 1, + "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": "AnyType" + }, + { + "$type": "IntegerType" + }, + { + "$type": "BooleanType" + }, + { + "$type": "ObjectType", + "name": "IoK8SKubeAggregatorPkgApisApiregistrationV1ServiceReference", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name is the name of the service" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace is the namespace of the service" + }, + "port": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SKubeAggregatorPkgApisApiregistrationV1APIServiceStatus", + "properties": { + "conditions": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "Current service state of apiService." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SKubeAggregatorPkgApisApiregistrationV1APIServiceCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Human-readable message indicating details about last transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Unique, one-word, CamelCase reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Status is the status of the condition. Can be True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type is the type of the condition." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/12" + } + }, + { + "$type": "ObjectType", + "name": "apiregistration.k8s.io/APIService", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification." + }, + "status": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "APIServiceStatus contains derived information about an API server" + } + } + }, + { + "$type": "ResourceType", + "name": "apiregistration.k8s.io/APIService@v1", + "scopeType": 0, + "body": { + "$ref": "#/14" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/apiregistration.k8s.io/v1beta1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/apiregistration.k8s.io/v1beta1/types.json index ef666fac..d8c86c03 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/apiregistration.k8s.io/v1beta1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/apiregistration.k8s.io/v1beta1/types.json @@ -1 +1,257 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"APIService"}},{"6":{"Value":"apiregistration.k8s.io/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SKubeAggregatorPkgApisApiregistrationV1Beta1APIServiceSpec","Properties":{"caBundle":{"Type":0,"Flags":0,"Description":"CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used."},"group":{"Type":4,"Flags":0,"Description":"Group is the API group name this server hosts"},"groupPriorityMinimum":{"Type":3,"Flags":1,"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"},"insecureSkipTLSVerify":{"Type":2,"Flags":0,"Description":"InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead."},"service":{"Type":14,"Flags":0,"Description":"ServiceReference holds a reference to Service.legacy.k8s.io"},"version":{"Type":4,"Flags":0,"Description":"Version is the API version this server hosts. For example, \"v1\""},"versionPriority":{"Type":3,"Flags":1,"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."}}}},{"2":{"Name":"IoK8SKubeAggregatorPkgApisApiregistrationV1Beta1ServiceReference","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name is the name of the service"},"namespace":{"Type":4,"Flags":0,"Description":"Namespace is the namespace of the service"},"port":{"Type":3,"Flags":0,"Description":"If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."}}}},{"2":{"Name":"IoK8SKubeAggregatorPkgApisApiregistrationV1Beta1APIServiceStatus","Properties":{"conditions":{"Type":17,"Flags":0,"Description":"Current service state of apiService."}}}},{"2":{"Name":"IoK8SKubeAggregatorPkgApisApiregistrationV1Beta1APIServiceCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"Human-readable message indicating details about last transition."},"reason":{"Type":4,"Flags":0,"Description":"Unique, one-word, CamelCase reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"Status is the status of the condition. Can be True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"Type is the type of the condition."}}}},{"3":{"ItemType":16}},{"2":{"Name":"apiregistration.k8s.io/APIService","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":0,"Description":"APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification."},"status":{"Type":15,"Flags":0,"Description":"APIServiceStatus contains derived information about an API server"}}}},{"4":{"Name":"apiregistration.k8s.io/APIService@v1beta1","ScopeType":0,"Body":18,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "APIService" + }, + { + "$type": "StringLiteralType", + "value": "apiregistration.k8s.io/v1beta1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SKubeAggregatorPkgApisApiregistrationV1Beta1APIServiceSpec", + "properties": { + "caBundle": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used." + }, + "group": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Group is the API group name this server hosts" + }, + "groupPriorityMinimum": { + "type": { + "$ref": "#/8" + }, + "flags": 1, + "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" + }, + "insecureSkipTLSVerify": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead." + }, + "service": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "ServiceReference holds a reference to Service.legacy.k8s.io" + }, + "version": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Version is the API version this server hosts. For example, \"v1\"" + }, + "versionPriority": { + "type": { + "$ref": "#/8" + }, + "flags": 1, + "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": "AnyType" + }, + { + "$type": "IntegerType" + }, + { + "$type": "BooleanType" + }, + { + "$type": "ObjectType", + "name": "IoK8SKubeAggregatorPkgApisApiregistrationV1Beta1ServiceReference", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name is the name of the service" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace is the namespace of the service" + }, + "port": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SKubeAggregatorPkgApisApiregistrationV1Beta1APIServiceStatus", + "properties": { + "conditions": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "Current service state of apiService." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SKubeAggregatorPkgApisApiregistrationV1Beta1APIServiceCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Human-readable message indicating details about last transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Unique, one-word, CamelCase reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Status is the status of the condition. Can be True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type is the type of the condition." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/12" + } + }, + { + "$type": "ObjectType", + "name": "apiregistration.k8s.io/APIService", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification." + }, + "status": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "APIServiceStatus contains derived information about an API server" + } + } + }, + { + "$type": "ResourceType", + "name": "apiregistration.k8s.io/APIService@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/14" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/apps/v1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/apps/v1/types.json index 6fe624f6..34a3f716 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/apps/v1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/apps/v1/types.json @@ -1 +1,5510 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"ControllerRevision"}},{"6":{"Value":"apps/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"apps/ControllerRevision","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"data":{"Type":0,"Flags":0,"Description":"Any object"},"revision":{"Type":3,"Flags":1,"Description":"Revision indicates the revision of the state represented by Data."}}}},{"4":{"Name":"apps/ControllerRevision@v1","ScopeType":0,"Body":13,"Flags":0}},{"6":{"Value":"DaemonSet"}},{"6":{"Value":"apps/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":17,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":18,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiAppsV1DaemonSetSpec","Properties":{"minReadySeconds":{"Type":3,"Flags":0,"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)."},"revisionHistoryLimit":{"Type":3,"Flags":0,"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."},"selector":{"Type":21,"Flags":1,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"template":{"Type":26,"Flags":1,"Description":"PodTemplateSpec describes the data a pod should have when created from a template"},"updateStrategy":{"Type":184,"Flags":0,"Description":"DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelector","Properties":{"matchExpressions":{"Type":24,"Flags":0,"Description":"matchExpressions is a list of label selector requirements. The requirements are ANDed."},"matchLabels":{"Type":25,"Flags":0,"Description":"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."},"values":{"Type":23,"Flags":0,"Description":"values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":22}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PodTemplateSpec","Properties":{"metadata":{"Type":27,"Flags":0,"Description":"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."},"spec":{"Type":35,"Flags":0,"Description":"PodSpec is a description of a pod."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ObjectMeta","Properties":{"annotations":{"Type":28,"Flags":0,"Description":"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"},"clusterName":{"Type":4,"Flags":0,"Description":"The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."},"creationTimestamp":{"Type":4,"Flags":0,"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."},"deletionGracePeriodSeconds":{"Type":3,"Flags":0,"Description":"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."},"deletionTimestamp":{"Type":4,"Flags":0,"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."},"finalizers":{"Type":29,"Flags":0,"Description":"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."},"generateName":{"Type":4,"Flags":0,"Description":"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency"},"generation":{"Type":3,"Flags":0,"Description":"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."},"labels":{"Type":30,"Flags":0,"Description":"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"},"managedFields":{"Type":32,"Flags":0,"Description":"ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object."},"name":{"Type":4,"Flags":0,"Description":"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"},"namespace":{"Type":4,"Flags":0,"Description":"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces"},"ownerReferences":{"Type":34,"Flags":0,"Description":"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."},"resourceVersion":{"Type":4,"Flags":0,"Description":"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"},"selfLink":{"Type":4,"Flags":0,"Description":"SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release."},"uid":{"Type":4,"Flags":0,"Description":"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ObjectMetaAnnotations","Properties":{},"AdditionalProperties":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ObjectMetaLabels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ManagedFieldsEntry","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted."},"fieldsType":{"Type":4,"Flags":0,"Description":"FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\""},"fieldsV1":{"Type":0,"Flags":0,"Description":"Any object"},"manager":{"Type":4,"Flags":0,"Description":"Manager is an identifier of the workflow managing these fields."},"operation":{"Type":4,"Flags":0,"Description":"Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'."},"time":{"Type":4,"Flags":0,"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."}}}},{"3":{"ItemType":31}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1OwnerReference","Properties":{"apiVersion":{"Type":4,"Flags":1,"Description":"API version of the referent."},"blockOwnerDeletion":{"Type":2,"Flags":0,"Description":"If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned."},"controller":{"Type":2,"Flags":0,"Description":"If true, this reference points to the managing controller."},"kind":{"Type":4,"Flags":1,"Description":"Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"},"name":{"Type":4,"Flags":1,"Description":"Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names"},"uid":{"Type":4,"Flags":1,"Description":"UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"}}}},{"3":{"ItemType":33}},{"2":{"Name":"IoK8SApiCoreV1PodSpec","Properties":{"activeDeadlineSeconds":{"Type":3,"Flags":0,"Description":"Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer."},"affinity":{"Type":36,"Flags":0,"Description":"Affinity is a group of affinity scheduling rules."},"automountServiceAccountToken":{"Type":2,"Flags":0,"Description":"AutomountServiceAccountToken indicates whether a service account token should be automatically mounted."},"containers":{"Type":95,"Flags":1,"Description":"List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated."},"dnsConfig":{"Type":96,"Flags":0,"Description":"PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy."},"dnsPolicy":{"Type":4,"Flags":0,"Description":"Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'."},"enableServiceLinks":{"Type":2,"Flags":0,"Description":"EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true."},"ephemeralContainers":{"Type":109,"Flags":0,"Description":"List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature."},"hostAliases":{"Type":112,"Flags":0,"Description":"HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods."},"hostIPC":{"Type":2,"Flags":0,"Description":"Use the host's ipc namespace. Optional: Default to false."},"hostNetwork":{"Type":2,"Flags":0,"Description":"Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false."},"hostPID":{"Type":2,"Flags":0,"Description":"Use the host's pid namespace. Optional: Default to false."},"hostname":{"Type":4,"Flags":0,"Description":"Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value."},"imagePullSecrets":{"Type":114,"Flags":0,"Description":"ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod"},"initContainers":{"Type":115,"Flags":0,"Description":"List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/"},"nodeName":{"Type":4,"Flags":0,"Description":"NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements."},"nodeSelector":{"Type":116,"Flags":0,"Description":"NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/"},"overhead":{"Type":117,"Flags":0,"Description":"Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature."},"preemptionPolicy":{"Type":4,"Flags":0,"Description":"PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."},"priority":{"Type":3,"Flags":0,"Description":"The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority."},"priorityClassName":{"Type":4,"Flags":0,"Description":"If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default."},"readinessGates":{"Type":119,"Flags":0,"Description":"If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md"},"restartPolicy":{"Type":4,"Flags":0,"Description":"Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy"},"runtimeClassName":{"Type":4,"Flags":0,"Description":"RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14."},"schedulerName":{"Type":4,"Flags":0,"Description":"If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler."},"securityContext":{"Type":120,"Flags":0,"Description":"PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext."},"serviceAccount":{"Type":4,"Flags":0,"Description":"DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead."},"serviceAccountName":{"Type":4,"Flags":0,"Description":"ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/"},"setHostnameAsFQDN":{"Type":2,"Flags":0,"Description":"If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false."},"shareProcessNamespace":{"Type":2,"Flags":0,"Description":"Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false."},"subdomain":{"Type":4,"Flags":0,"Description":"If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all."},"terminationGracePeriodSeconds":{"Type":3,"Flags":0,"Description":"Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds."},"tolerations":{"Type":125,"Flags":0,"Description":"If specified, the pod's tolerations."},"topologySpreadConstraints":{"Type":127,"Flags":0,"Description":"TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed."},"volumes":{"Type":183,"Flags":0,"Description":"List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes"}}}},{"2":{"Name":"IoK8SApiCoreV1Affinity","Properties":{"nodeAffinity":{"Type":37,"Flags":0,"Description":"Node affinity is a group of node affinity scheduling rules."},"podAffinity":{"Type":47,"Flags":0,"Description":"Pod affinity is a group of inter pod affinity scheduling rules."},"podAntiAffinity":{"Type":53,"Flags":0,"Description":"Pod anti affinity is a group of inter pod anti affinity scheduling rules."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeAffinity","Properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"Type":44,"Flags":0,"Description":"The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred."},"requiredDuringSchedulingIgnoredDuringExecution":{"Type":45,"Flags":0,"Description":"A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms."}}}},{"2":{"Name":"IoK8SApiCoreV1PreferredSchedulingTerm","Properties":{"preference":{"Type":39,"Flags":1,"Description":"A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm."},"weight":{"Type":3,"Flags":1,"Description":"Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelectorTerm","Properties":{"matchExpressions":{"Type":42,"Flags":0,"Description":"A list of node selector requirements by node's labels."},"matchFields":{"Type":43,"Flags":0,"Description":"A list of node selector requirements by node's fields."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"The label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."},"values":{"Type":41,"Flags":0,"Description":"An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":40}},{"3":{"ItemType":40}},{"3":{"ItemType":38}},{"2":{"Name":"IoK8SApiCoreV1NodeSelector","Properties":{"nodeSelectorTerms":{"Type":46,"Flags":1,"Description":"Required. A list of node selector terms. The terms are ORed."}}}},{"3":{"ItemType":39}},{"2":{"Name":"IoK8SApiCoreV1PodAffinity","Properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"Type":51,"Flags":0,"Description":"The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred."},"requiredDuringSchedulingIgnoredDuringExecution":{"Type":52,"Flags":0,"Description":"If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."}}}},{"2":{"Name":"IoK8SApiCoreV1WeightedPodAffinityTerm","Properties":{"podAffinityTerm":{"Type":49,"Flags":1,"Description":"Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running"},"weight":{"Type":3,"Flags":1,"Description":"weight associated with matching the corresponding podAffinityTerm, in the range 1-100."}}}},{"2":{"Name":"IoK8SApiCoreV1PodAffinityTerm","Properties":{"labelSelector":{"Type":21,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"namespaces":{"Type":50,"Flags":0,"Description":"namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means \"this pod's namespace\""},"topologyKey":{"Type":4,"Flags":1,"Description":"This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":48}},{"3":{"ItemType":49}},{"2":{"Name":"IoK8SApiCoreV1PodAntiAffinity","Properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"Type":54,"Flags":0,"Description":"The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred."},"requiredDuringSchedulingIgnoredDuringExecution":{"Type":55,"Flags":0,"Description":"If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."}}}},{"3":{"ItemType":48}},{"3":{"ItemType":49}},{"2":{"Name":"IoK8SApiCoreV1Container","Properties":{"args":{"Type":57,"Flags":0,"Description":"Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"command":{"Type":58,"Flags":0,"Description":"Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"env":{"Type":65,"Flags":0,"Description":"List of environment variables to set in the container. Cannot be updated."},"envFrom":{"Type":69,"Flags":0,"Description":"List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."},"image":{"Type":4,"Flags":0,"Description":"Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets."},"imagePullPolicy":{"Type":4,"Flags":0,"Description":"Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"},"lifecycle":{"Type":70,"Flags":0,"Description":"Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted."},"livenessProbe":{"Type":78,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"name":{"Type":4,"Flags":1,"Description":"Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated."},"ports":{"Type":80,"Flags":0,"Description":"List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated."},"readinessProbe":{"Type":78,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"resources":{"Type":81,"Flags":0,"Description":"ResourceRequirements describes the compute resource requirements."},"securityContext":{"Type":84,"Flags":0,"Description":"SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence."},"startupProbe":{"Type":78,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"stdin":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."},"stdinOnce":{"Type":2,"Flags":0,"Description":"Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"},"terminationMessagePath":{"Type":4,"Flags":0,"Description":"Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."},"terminationMessagePolicy":{"Type":4,"Flags":0,"Description":"Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."},"tty":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."},"volumeDevices":{"Type":92,"Flags":0,"Description":"volumeDevices is the list of block devices to be used by the container."},"volumeMounts":{"Type":94,"Flags":0,"Description":"Pod volumes to mount into the container's filesystem. Cannot be updated."},"workingDir":{"Type":4,"Flags":0,"Description":"Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1EnvVar","Properties":{"name":{"Type":4,"Flags":1,"Description":"Name of the environment variable. Must be a C_IDENTIFIER."},"value":{"Type":4,"Flags":0,"Description":"Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\"."},"valueFrom":{"Type":60,"Flags":0,"Description":"EnvVarSource represents a source for the value of an EnvVar."}}}},{"2":{"Name":"IoK8SApiCoreV1EnvVarSource","Properties":{"configMapKeyRef":{"Type":61,"Flags":0,"Description":"Selects a key from a ConfigMap."},"fieldRef":{"Type":62,"Flags":0,"Description":"ObjectFieldSelector selects an APIVersioned field of an object."},"resourceFieldRef":{"Type":63,"Flags":0,"Description":"ResourceFieldSelector represents container resources (cpu, memory) and their output format"},"secretKeyRef":{"Type":64,"Flags":0,"Description":"SecretKeySelector selects a key of a Secret."}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapKeySelector","Properties":{"key":{"Type":4,"Flags":1,"Description":"The key to select."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the ConfigMap or its key must be defined"}}}},{"2":{"Name":"IoK8SApiCoreV1ObjectFieldSelector","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"Version of the schema the FieldPath is written in terms of, defaults to \"v1\"."},"fieldPath":{"Type":4,"Flags":1,"Description":"Path of the field to select in the specified API version."}}}},{"2":{"Name":"IoK8SApiCoreV1ResourceFieldSelector","Properties":{"containerName":{"Type":4,"Flags":0,"Description":"Container name: required for volumes, optional for env vars"},"divisor":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."},"resource":{"Type":4,"Flags":1,"Description":"Required: resource to select"}}}},{"2":{"Name":"IoK8SApiCoreV1SecretKeySelector","Properties":{"key":{"Type":4,"Flags":1,"Description":"The key of the secret to select from. Must be a valid secret key."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the Secret or its key must be defined"}}}},{"3":{"ItemType":59}},{"2":{"Name":"IoK8SApiCoreV1EnvFromSource","Properties":{"configMapRef":{"Type":67,"Flags":0,"Description":"ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables."},"prefix":{"Type":4,"Flags":0,"Description":"An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER."},"secretRef":{"Type":68,"Flags":0,"Description":"SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables."}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapEnvSource","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the ConfigMap must be defined"}}}},{"2":{"Name":"IoK8SApiCoreV1SecretEnvSource","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the Secret must be defined"}}}},{"3":{"ItemType":66}},{"2":{"Name":"IoK8SApiCoreV1Lifecycle","Properties":{"postStart":{"Type":71,"Flags":0,"Description":"Handler defines a specific action that should be taken"},"preStop":{"Type":71,"Flags":0,"Description":"Handler defines a specific action that should be taken"}}}},{"2":{"Name":"IoK8SApiCoreV1Handler","Properties":{"exec":{"Type":72,"Flags":0,"Description":"ExecAction describes a \"run in container\" action."},"httpGet":{"Type":74,"Flags":0,"Description":"HTTPGetAction describes an action based on HTTP Get requests."},"tcpSocket":{"Type":77,"Flags":0,"Description":"TCPSocketAction describes an action based on opening a socket"}}}},{"2":{"Name":"IoK8SApiCoreV1ExecAction","Properties":{"command":{"Type":73,"Flags":0,"Description":"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1HttpGetAction","Properties":{"host":{"Type":4,"Flags":0,"Description":"Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead."},"httpHeaders":{"Type":76,"Flags":0,"Description":"Custom headers to set in the request. HTTP allows repeated headers."},"path":{"Type":4,"Flags":0,"Description":"Path to access on the HTTP server."},"port":{"Type":4,"Flags":1,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."},"scheme":{"Type":4,"Flags":0,"Description":"Scheme to use for connecting to the host. Defaults to HTTP."}}}},{"2":{"Name":"IoK8SApiCoreV1HttpHeader","Properties":{"name":{"Type":4,"Flags":1,"Description":"The header field name"},"value":{"Type":4,"Flags":1,"Description":"The header field value"}}}},{"3":{"ItemType":75}},{"2":{"Name":"IoK8SApiCoreV1TCPSocketAction","Properties":{"host":{"Type":4,"Flags":0,"Description":"Optional: Host name to connect to, defaults to the pod IP."},"port":{"Type":4,"Flags":1,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."}}}},{"2":{"Name":"IoK8SApiCoreV1Probe","Properties":{"exec":{"Type":72,"Flags":0,"Description":"ExecAction describes a \"run in container\" action."},"failureThreshold":{"Type":3,"Flags":0,"Description":"Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1."},"httpGet":{"Type":74,"Flags":0,"Description":"HTTPGetAction describes an action based on HTTP Get requests."},"initialDelaySeconds":{"Type":3,"Flags":0,"Description":"Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"},"periodSeconds":{"Type":3,"Flags":0,"Description":"How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."},"successThreshold":{"Type":3,"Flags":0,"Description":"Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1."},"tcpSocket":{"Type":77,"Flags":0,"Description":"TCPSocketAction describes an action based on opening a socket"},"timeoutSeconds":{"Type":3,"Flags":0,"Description":"Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}}}},{"2":{"Name":"IoK8SApiCoreV1ContainerPort","Properties":{"containerPort":{"Type":3,"Flags":1,"Description":"Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536."},"hostIP":{"Type":4,"Flags":0,"Description":"What host IP to bind the external port to."},"hostPort":{"Type":3,"Flags":0,"Description":"Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this."},"name":{"Type":4,"Flags":0,"Description":"If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services."},"protocol":{"Type":4,"Flags":0,"Description":"Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\"."}}}},{"3":{"ItemType":79}},{"2":{"Name":"IoK8SApiCoreV1ResourceRequirements","Properties":{"limits":{"Type":82,"Flags":0,"Description":"Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"},"requests":{"Type":83,"Flags":0,"Description":"Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"}}}},{"2":{"Name":"IoK8SApiCoreV1ResourceRequirementsLimits","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1ResourceRequirementsRequests","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1SecurityContext","Properties":{"allowPrivilegeEscalation":{"Type":2,"Flags":0,"Description":"AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN"},"capabilities":{"Type":85,"Flags":0,"Description":"Adds and removes POSIX capabilities from running containers."},"privileged":{"Type":2,"Flags":0,"Description":"Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false."},"procMount":{"Type":4,"Flags":0,"Description":"procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled."},"readOnlyRootFilesystem":{"Type":2,"Flags":0,"Description":"Whether this container has a read-only root filesystem. Default is false."},"runAsGroup":{"Type":3,"Flags":0,"Description":"The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."},"runAsNonRoot":{"Type":2,"Flags":0,"Description":"Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."},"runAsUser":{"Type":3,"Flags":0,"Description":"The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."},"seLinuxOptions":{"Type":88,"Flags":0,"Description":"SELinuxOptions are the labels to be applied to the container"},"seccompProfile":{"Type":89,"Flags":0,"Description":"SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set."},"windowsOptions":{"Type":90,"Flags":0,"Description":"WindowsSecurityContextOptions contain Windows-specific options and credentials."}}}},{"2":{"Name":"IoK8SApiCoreV1Capabilities","Properties":{"add":{"Type":86,"Flags":0,"Description":"Added capabilities"},"drop":{"Type":87,"Flags":0,"Description":"Removed capabilities"}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1SELinuxOptions","Properties":{"level":{"Type":4,"Flags":0,"Description":"Level is SELinux level label that applies to the container."},"role":{"Type":4,"Flags":0,"Description":"Role is a SELinux role label that applies to the container."},"type":{"Type":4,"Flags":0,"Description":"Type is a SELinux type label that applies to the container."},"user":{"Type":4,"Flags":0,"Description":"User is a SELinux user label that applies to the container."}}}},{"2":{"Name":"IoK8SApiCoreV1SeccompProfile","Properties":{"localhostProfile":{"Type":4,"Flags":0,"Description":"localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is \"Localhost\"."},"type":{"Type":4,"Flags":1,"Description":"type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied."}}}},{"2":{"Name":"IoK8SApiCoreV1WindowsSecurityContextOptions","Properties":{"gmsaCredentialSpec":{"Type":4,"Flags":0,"Description":"GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field."},"gmsaCredentialSpecName":{"Type":4,"Flags":0,"Description":"GMSACredentialSpecName is the name of the GMSA credential spec to use."},"runAsUserName":{"Type":4,"Flags":0,"Description":"The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."}}}},{"2":{"Name":"IoK8SApiCoreV1VolumeDevice","Properties":{"devicePath":{"Type":4,"Flags":1,"Description":"devicePath is the path inside of the container that the device will be mapped to."},"name":{"Type":4,"Flags":1,"Description":"name must match the name of a persistentVolumeClaim in the pod"}}}},{"3":{"ItemType":91}},{"2":{"Name":"IoK8SApiCoreV1VolumeMount","Properties":{"mountPath":{"Type":4,"Flags":1,"Description":"Path within the container at which the volume should be mounted. Must not contain ':'."},"mountPropagation":{"Type":4,"Flags":0,"Description":"mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10."},"name":{"Type":4,"Flags":1,"Description":"This must match the Name of a Volume."},"readOnly":{"Type":2,"Flags":0,"Description":"Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false."},"subPath":{"Type":4,"Flags":0,"Description":"Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root)."},"subPathExpr":{"Type":4,"Flags":0,"Description":"Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive."}}}},{"3":{"ItemType":93}},{"3":{"ItemType":56}},{"2":{"Name":"IoK8SApiCoreV1PodDNSConfig","Properties":{"nameservers":{"Type":97,"Flags":0,"Description":"A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed."},"options":{"Type":99,"Flags":0,"Description":"A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy."},"searches":{"Type":100,"Flags":0,"Description":"A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1PodDNSConfigOption","Properties":{"name":{"Type":4,"Flags":0,"Description":"Required."},"value":{"Type":4,"Flags":0}}}},{"3":{"ItemType":98}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1EphemeralContainer","Properties":{"args":{"Type":102,"Flags":0,"Description":"Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"command":{"Type":103,"Flags":0,"Description":"Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"env":{"Type":104,"Flags":0,"Description":"List of environment variables to set in the container. Cannot be updated."},"envFrom":{"Type":105,"Flags":0,"Description":"List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."},"image":{"Type":4,"Flags":0,"Description":"Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images"},"imagePullPolicy":{"Type":4,"Flags":0,"Description":"Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"},"lifecycle":{"Type":70,"Flags":0,"Description":"Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted."},"livenessProbe":{"Type":78,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"name":{"Type":4,"Flags":1,"Description":"Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers."},"ports":{"Type":106,"Flags":0,"Description":"Ports are not allowed for ephemeral containers."},"readinessProbe":{"Type":78,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"resources":{"Type":81,"Flags":0,"Description":"ResourceRequirements describes the compute resource requirements."},"securityContext":{"Type":84,"Flags":0,"Description":"SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence."},"startupProbe":{"Type":78,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"stdin":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."},"stdinOnce":{"Type":2,"Flags":0,"Description":"Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"},"targetContainerName":{"Type":4,"Flags":0,"Description":"If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature."},"terminationMessagePath":{"Type":4,"Flags":0,"Description":"Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."},"terminationMessagePolicy":{"Type":4,"Flags":0,"Description":"Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."},"tty":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."},"volumeDevices":{"Type":107,"Flags":0,"Description":"volumeDevices is the list of block devices to be used by the container."},"volumeMounts":{"Type":108,"Flags":0,"Description":"Pod volumes to mount into the container's filesystem. Cannot be updated."},"workingDir":{"Type":4,"Flags":0,"Description":"Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":59}},{"3":{"ItemType":66}},{"3":{"ItemType":79}},{"3":{"ItemType":91}},{"3":{"ItemType":93}},{"3":{"ItemType":101}},{"2":{"Name":"IoK8SApiCoreV1HostAlias","Properties":{"hostnames":{"Type":111,"Flags":0,"Description":"Hostnames for the above IP address."},"ip":{"Type":4,"Flags":0,"Description":"IP address of the host file entry."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":110}},{"2":{"Name":"IoK8SApiCoreV1LocalObjectReference","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}}}},{"3":{"ItemType":113}},{"3":{"ItemType":56}},{"2":{"Name":"IoK8SApiCoreV1PodSpecNodeSelector","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PodSpecOverhead","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PodReadinessGate","Properties":{"conditionType":{"Type":4,"Flags":1,"Description":"ConditionType refers to a condition in the pod's condition list with matching type."}}}},{"3":{"ItemType":118}},{"2":{"Name":"IoK8SApiCoreV1PodSecurityContext","Properties":{"fsGroup":{"Type":3,"Flags":0,"Description":"A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume."},"fsGroupChangePolicy":{"Type":4,"Flags":0,"Description":"fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified defaults to \"Always\"."},"runAsGroup":{"Type":3,"Flags":0,"Description":"The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."},"runAsNonRoot":{"Type":2,"Flags":0,"Description":"Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."},"runAsUser":{"Type":3,"Flags":0,"Description":"The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."},"seLinuxOptions":{"Type":88,"Flags":0,"Description":"SELinuxOptions are the labels to be applied to the container"},"seccompProfile":{"Type":89,"Flags":0,"Description":"SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set."},"supplementalGroups":{"Type":121,"Flags":0,"Description":"A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container."},"sysctls":{"Type":123,"Flags":0,"Description":"Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch."},"windowsOptions":{"Type":90,"Flags":0,"Description":"WindowsSecurityContextOptions contain Windows-specific options and credentials."}}}},{"3":{"ItemType":3}},{"2":{"Name":"IoK8SApiCoreV1Sysctl","Properties":{"name":{"Type":4,"Flags":1,"Description":"Name of a property to set"},"value":{"Type":4,"Flags":1,"Description":"Value of a property to set"}}}},{"3":{"ItemType":122}},{"2":{"Name":"IoK8SApiCoreV1Toleration","Properties":{"effect":{"Type":4,"Flags":0,"Description":"Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute."},"key":{"Type":4,"Flags":0,"Description":"Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys."},"operator":{"Type":4,"Flags":0,"Description":"Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category."},"tolerationSeconds":{"Type":3,"Flags":0,"Description":"TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system."},"value":{"Type":4,"Flags":0,"Description":"Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string."}}}},{"3":{"ItemType":124}},{"2":{"Name":"IoK8SApiCoreV1TopologySpreadConstraint","Properties":{"labelSelector":{"Type":21,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"maxSkew":{"Type":3,"Flags":1,"Description":"MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed."},"topologyKey":{"Type":4,"Flags":1,"Description":"TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. It's a required field."},"whenUnsatisfiable":{"Type":4,"Flags":1,"Description":"WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assigment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field."}}}},{"3":{"ItemType":126}},{"2":{"Name":"IoK8SApiCoreV1Volume","Properties":{"awsElasticBlockStore":{"Type":129,"Flags":0,"Description":"Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling."},"azureDisk":{"Type":130,"Flags":0,"Description":"AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."},"azureFile":{"Type":131,"Flags":0,"Description":"AzureFile represents an Azure File Service mount on the host and bind mount to the pod."},"cephfs":{"Type":132,"Flags":0,"Description":"Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling."},"cinder":{"Type":134,"Flags":0,"Description":"Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling."},"configMap":{"Type":135,"Flags":0,"Description":"Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling."},"csi":{"Type":138,"Flags":0,"Description":"Represents a source location of a volume to mount, managed by an external CSI driver"},"downwardAPI":{"Type":140,"Flags":0,"Description":"DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling."},"emptyDir":{"Type":143,"Flags":0,"Description":"Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling."},"ephemeral":{"Type":144,"Flags":0,"Description":"Represents an ephemeral volume that is handled by a normal storage driver."},"fc":{"Type":149,"Flags":0,"Description":"Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling."},"flexVolume":{"Type":152,"Flags":0,"Description":"FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin."},"flocker":{"Type":154,"Flags":0,"Description":"Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling."},"gcePersistentDisk":{"Type":155,"Flags":0,"Description":"Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling."},"gitRepo":{"Type":156,"Flags":0,"Description":"Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container."},"glusterfs":{"Type":157,"Flags":0,"Description":"Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling."},"hostPath":{"Type":158,"Flags":0,"Description":"Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling."},"iscsi":{"Type":159,"Flags":0,"Description":"Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling."},"name":{"Type":4,"Flags":1,"Description":"Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"nfs":{"Type":161,"Flags":0,"Description":"Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling."},"persistentVolumeClaim":{"Type":162,"Flags":0,"Description":"PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system)."},"photonPersistentDisk":{"Type":163,"Flags":0,"Description":"Represents a Photon Controller persistent disk resource."},"portworxVolume":{"Type":164,"Flags":0,"Description":"PortworxVolumeSource represents a Portworx volume resource."},"projected":{"Type":165,"Flags":0,"Description":"Represents a projected volume source"},"quobyte":{"Type":175,"Flags":0,"Description":"Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling."},"rbd":{"Type":176,"Flags":0,"Description":"Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling."},"scaleIO":{"Type":178,"Flags":0,"Description":"ScaleIOVolumeSource represents a persistent ScaleIO volume"},"secret":{"Type":179,"Flags":0,"Description":"Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling."},"storageos":{"Type":181,"Flags":0,"Description":"Represents a StorageOS persistent volume resource."},"vsphereVolume":{"Type":182,"Flags":0,"Description":"Represents a vSphere volume resource."}}}},{"2":{"Name":"IoK8SApiCoreV1AWSElasticBlockStoreVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"},"partition":{"Type":3,"Flags":0,"Description":"The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty)."},"readOnly":{"Type":2,"Flags":0,"Description":"Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"},"volumeID":{"Type":4,"Flags":1,"Description":"Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"}}}},{"2":{"Name":"IoK8SApiCoreV1AzureDiskVolumeSource","Properties":{"cachingMode":{"Type":4,"Flags":0,"Description":"Host Caching mode: None, Read Only, Read Write."},"diskName":{"Type":4,"Flags":1,"Description":"The Name of the data disk in the blob storage"},"diskURI":{"Type":4,"Flags":1,"Description":"The URI the data disk in the blob storage"},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"kind":{"Type":4,"Flags":0,"Description":"Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared"},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."}}}},{"2":{"Name":"IoK8SApiCoreV1AzureFileVolumeSource","Properties":{"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretName":{"Type":4,"Flags":1,"Description":"the name of secret that contains Azure Storage Account Name and Key"},"shareName":{"Type":4,"Flags":1,"Description":"Share Name"}}}},{"2":{"Name":"IoK8SApiCoreV1CephFSVolumeSource","Properties":{"monitors":{"Type":133,"Flags":1,"Description":"Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"path":{"Type":4,"Flags":0,"Description":"Optional: Used as the mounted root, rather than the full Ceph tree, default is /"},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"secretFile":{"Type":4,"Flags":0,"Description":"Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"secretRef":{"Type":113,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"user":{"Type":4,"Flags":0,"Description":"Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1CinderVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"},"secretRef":{"Type":113,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"volumeID":{"Type":4,"Flags":1,"Description":"volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"items":{"Type":137,"Flags":0,"Description":"If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the ConfigMap or its keys must be defined"}}}},{"2":{"Name":"IoK8SApiCoreV1KeyToPath","Properties":{"key":{"Type":4,"Flags":1,"Description":"The key to project."},"mode":{"Type":3,"Flags":0,"Description":"Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"path":{"Type":4,"Flags":1,"Description":"The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'."}}}},{"3":{"ItemType":136}},{"2":{"Name":"IoK8SApiCoreV1CSIVolumeSource","Properties":{"driver":{"Type":4,"Flags":1,"Description":"Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster."},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply."},"nodePublishSecretRef":{"Type":113,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"readOnly":{"Type":2,"Flags":0,"Description":"Specifies a read-only configuration for the volume. Defaults to false (read/write)."},"volumeAttributes":{"Type":139,"Flags":0,"Description":"VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values."}}}},{"2":{"Name":"IoK8SApiCoreV1CSIVolumeSourceVolumeAttributes","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1DownwardAPIVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"items":{"Type":142,"Flags":0,"Description":"Items is a list of downward API volume file"}}}},{"2":{"Name":"IoK8SApiCoreV1DownwardAPIVolumeFile","Properties":{"fieldRef":{"Type":62,"Flags":0,"Description":"ObjectFieldSelector selects an APIVersioned field of an object."},"mode":{"Type":3,"Flags":0,"Description":"Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"path":{"Type":4,"Flags":1,"Description":"Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'"},"resourceFieldRef":{"Type":63,"Flags":0,"Description":"ResourceFieldSelector represents container resources (cpu, memory) and their output format"}}}},{"3":{"ItemType":141}},{"2":{"Name":"IoK8SApiCoreV1EmptyDirVolumeSource","Properties":{"medium":{"Type":4,"Flags":0,"Description":"What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir"},"sizeLimit":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."}}}},{"2":{"Name":"IoK8SApiCoreV1EphemeralVolumeSource","Properties":{"readOnly":{"Type":2,"Flags":0,"Description":"Specifies a read-only configuration for the volume. Defaults to false (read/write)."},"volumeClaimTemplate":{"Type":145,"Flags":0,"Description":"PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource."}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimTemplate","Properties":{"metadata":{"Type":27,"Flags":0,"Description":"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."},"spec":{"Type":146,"Flags":1,"Description":"PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes"}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimSpec","Properties":{"accessModes":{"Type":147,"Flags":0,"Description":"AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"},"dataSource":{"Type":148,"Flags":0,"Description":"TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace."},"resources":{"Type":81,"Flags":0,"Description":"ResourceRequirements describes the compute resource requirements."},"selector":{"Type":21,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"storageClassName":{"Type":4,"Flags":0,"Description":"Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1"},"volumeMode":{"Type":4,"Flags":0,"Description":"volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec."},"volumeName":{"Type":4,"Flags":0,"Description":"VolumeName is the binding reference to the PersistentVolume backing this claim."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1TypedLocalObjectReference","Properties":{"apiGroup":{"Type":4,"Flags":0,"Description":"APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required."},"kind":{"Type":4,"Flags":1,"Description":"Kind is the type of resource being referenced"},"name":{"Type":4,"Flags":1,"Description":"Name is the name of resource being referenced"}}}},{"2":{"Name":"IoK8SApiCoreV1FCVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"lun":{"Type":3,"Flags":0,"Description":"Optional: FC target lun number"},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"targetWWNs":{"Type":150,"Flags":0,"Description":"Optional: FC target worldwide names (WWNs)"},"wwids":{"Type":151,"Flags":0,"Description":"Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1FlexVolumeSource","Properties":{"driver":{"Type":4,"Flags":1,"Description":"Driver is the name of the driver to use for this volume."},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script."},"options":{"Type":153,"Flags":0,"Description":"Optional: Extra command options if any."},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":113,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."}}}},{"2":{"Name":"IoK8SApiCoreV1FlexVolumeSourceOptions","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1FlockerVolumeSource","Properties":{"datasetName":{"Type":4,"Flags":0,"Description":"Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated"},"datasetUUID":{"Type":4,"Flags":0,"Description":"UUID of the dataset. This is unique identifier of a Flocker dataset"}}}},{"2":{"Name":"IoK8SApiCoreV1GCEPersistentDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"partition":{"Type":3,"Flags":0,"Description":"The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"pdName":{"Type":4,"Flags":1,"Description":"Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"}}}},{"2":{"Name":"IoK8SApiCoreV1GitRepoVolumeSource","Properties":{"directory":{"Type":4,"Flags":0,"Description":"Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name."},"repository":{"Type":4,"Flags":1,"Description":"Repository URL"},"revision":{"Type":4,"Flags":0,"Description":"Commit hash for the specified revision."}}}},{"2":{"Name":"IoK8SApiCoreV1GlusterfsVolumeSource","Properties":{"endpoints":{"Type":4,"Flags":1,"Description":"EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"path":{"Type":4,"Flags":1,"Description":"Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"}}}},{"2":{"Name":"IoK8SApiCoreV1HostPathVolumeSource","Properties":{"path":{"Type":4,"Flags":1,"Description":"Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"},"type":{"Type":4,"Flags":0,"Description":"Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"}}}},{"2":{"Name":"IoK8SApiCoreV1IscsiVolumeSource","Properties":{"chapAuthDiscovery":{"Type":2,"Flags":0,"Description":"whether support iSCSI Discovery CHAP authentication"},"chapAuthSession":{"Type":2,"Flags":0,"Description":"whether support iSCSI Session CHAP authentication"},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi"},"initiatorName":{"Type":4,"Flags":0,"Description":"Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection."},"iqn":{"Type":4,"Flags":1,"Description":"Target iSCSI Qualified Name."},"iscsiInterface":{"Type":4,"Flags":0,"Description":"iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."},"lun":{"Type":3,"Flags":1,"Description":"iSCSI Target Lun number."},"portals":{"Type":160,"Flags":0,"Description":"iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."},"secretRef":{"Type":113,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"targetPortal":{"Type":4,"Flags":1,"Description":"iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1NFSVolumeSource","Properties":{"path":{"Type":4,"Flags":1,"Description":"Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"},"server":{"Type":4,"Flags":1,"Description":"Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimVolumeSource","Properties":{"claimName":{"Type":4,"Flags":1,"Description":"ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"},"readOnly":{"Type":2,"Flags":0,"Description":"Will force the ReadOnly setting in VolumeMounts. Default false."}}}},{"2":{"Name":"IoK8SApiCoreV1PhotonPersistentDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"pdID":{"Type":4,"Flags":1,"Description":"ID that identifies Photon Controller persistent disk"}}}},{"2":{"Name":"IoK8SApiCoreV1PortworxVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified."},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"volumeID":{"Type":4,"Flags":1,"Description":"VolumeID uniquely identifies a Portworx volume"}}}},{"2":{"Name":"IoK8SApiCoreV1ProjectedVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"Mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"sources":{"Type":174,"Flags":1,"Description":"list of volume projections"}}}},{"2":{"Name":"IoK8SApiCoreV1VolumeProjection","Properties":{"configMap":{"Type":167,"Flags":0,"Description":"Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode."},"downwardAPI":{"Type":169,"Flags":0,"Description":"Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode."},"secret":{"Type":171,"Flags":0,"Description":"Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode."},"serviceAccountToken":{"Type":173,"Flags":0,"Description":"ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise)."}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapProjection","Properties":{"items":{"Type":168,"Flags":0,"Description":"If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the ConfigMap or its keys must be defined"}}}},{"3":{"ItemType":136}},{"2":{"Name":"IoK8SApiCoreV1DownwardAPIProjection","Properties":{"items":{"Type":170,"Flags":0,"Description":"Items is a list of DownwardAPIVolume file"}}}},{"3":{"ItemType":141}},{"2":{"Name":"IoK8SApiCoreV1SecretProjection","Properties":{"items":{"Type":172,"Flags":0,"Description":"If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the Secret or its key must be defined"}}}},{"3":{"ItemType":136}},{"2":{"Name":"IoK8SApiCoreV1ServiceAccountTokenProjection","Properties":{"audience":{"Type":4,"Flags":0,"Description":"Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver."},"expirationSeconds":{"Type":3,"Flags":0,"Description":"ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes."},"path":{"Type":4,"Flags":1,"Description":"Path is the path relative to the mount point of the file to project the token into."}}}},{"3":{"ItemType":166}},{"2":{"Name":"IoK8SApiCoreV1QuobyteVolumeSource","Properties":{"group":{"Type":4,"Flags":0,"Description":"Group to map volume access to Default is no group"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false."},"registry":{"Type":4,"Flags":1,"Description":"Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes"},"tenant":{"Type":4,"Flags":0,"Description":"Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin"},"user":{"Type":4,"Flags":0,"Description":"User to map volume access to Defaults to serivceaccount user"},"volume":{"Type":4,"Flags":1,"Description":"Volume is a string that references an already created Quobyte volume by name."}}}},{"2":{"Name":"IoK8SApiCoreV1RBDVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd"},"image":{"Type":4,"Flags":1,"Description":"The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"keyring":{"Type":4,"Flags":0,"Description":"Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"monitors":{"Type":177,"Flags":1,"Description":"A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"pool":{"Type":4,"Flags":0,"Description":"The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"secretRef":{"Type":113,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"user":{"Type":4,"Flags":0,"Description":"The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1ScaleIOVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"."},"gateway":{"Type":4,"Flags":1,"Description":"The host address of the ScaleIO API Gateway."},"protectionDomain":{"Type":4,"Flags":0,"Description":"The name of the ScaleIO Protection Domain for the configured storage."},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":113,"Flags":1,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"sslEnabled":{"Type":2,"Flags":0,"Description":"Flag to enable/disable SSL communication with Gateway, default false"},"storageMode":{"Type":4,"Flags":0,"Description":"Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned."},"storagePool":{"Type":4,"Flags":0,"Description":"The ScaleIO Storage Pool associated with the protection domain."},"system":{"Type":4,"Flags":1,"Description":"The name of the storage system as configured in ScaleIO."},"volumeName":{"Type":4,"Flags":0,"Description":"The name of a volume already created in the ScaleIO system that is associated with this volume source."}}}},{"2":{"Name":"IoK8SApiCoreV1SecretVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"items":{"Type":180,"Flags":0,"Description":"If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the Secret or its keys must be defined"},"secretName":{"Type":4,"Flags":0,"Description":"Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret"}}}},{"3":{"ItemType":136}},{"2":{"Name":"IoK8SApiCoreV1StorageOSVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":113,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"volumeName":{"Type":4,"Flags":0,"Description":"VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace."},"volumeNamespace":{"Type":4,"Flags":0,"Description":"VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created."}}}},{"2":{"Name":"IoK8SApiCoreV1VsphereVirtualDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"storagePolicyID":{"Type":4,"Flags":0,"Description":"Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName."},"storagePolicyName":{"Type":4,"Flags":0,"Description":"Storage Policy Based Management (SPBM) profile name."},"volumePath":{"Type":4,"Flags":1,"Description":"Path that identifies vSphere volume vmdk"}}}},{"3":{"ItemType":128}},{"2":{"Name":"IoK8SApiAppsV1DaemonSetUpdateStrategy","Properties":{"rollingUpdate":{"Type":185,"Flags":0,"Description":"Spec to control the desired behavior of daemon set rolling update."},"type":{"Type":4,"Flags":0,"Description":"Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate."}}}},{"2":{"Name":"IoK8SApiAppsV1RollingUpdateDaemonSet","Properties":{"maxUnavailable":{"Type":4,"Flags":0,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."}}}},{"2":{"Name":"IoK8SApiAppsV1DaemonSetStatus","Properties":{"collisionCount":{"Type":3,"Flags":0,"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."},"conditions":{"Type":188,"Flags":0,"Description":"Represents the latest available observations of a DaemonSet's current state."},"currentNumberScheduled":{"Type":3,"Flags":1,"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/"},"desiredNumberScheduled":{"Type":3,"Flags":1,"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/"},"numberAvailable":{"Type":3,"Flags":0,"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)"},"numberMisscheduled":{"Type":3,"Flags":1,"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/"},"numberReady":{"Type":3,"Flags":1,"Description":"The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready."},"numberUnavailable":{"Type":3,"Flags":0,"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)"},"observedGeneration":{"Type":3,"Flags":0,"Description":"The most recent generation observed by the daemon set controller."},"updatedNumberScheduled":{"Type":3,"Flags":0,"Description":"The total number of nodes that are running updated daemon pod"}}}},{"2":{"Name":"IoK8SApiAppsV1DaemonSetCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"A human readable message indicating details about the transition."},"reason":{"Type":4,"Flags":0,"Description":"The reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"Status of the condition, one of True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"Type of DaemonSet condition."}}}},{"3":{"ItemType":187}},{"2":{"Name":"apps/DaemonSet","Properties":{"kind":{"Type":15,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":16,"Flags":10,"Description":"The api version."},"metadata":{"Type":19,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":20,"Flags":0,"Description":"DaemonSetSpec is the specification of a daemon set."},"status":{"Type":186,"Flags":0,"Description":"DaemonSetStatus represents the current status of a daemon set."}}}},{"4":{"Name":"apps/DaemonSet@v1","ScopeType":0,"Body":189,"Flags":0}},{"6":{"Value":"Deployment"}},{"6":{"Value":"apps/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":193,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":194,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiAppsV1DeploymentSpec","Properties":{"minReadySeconds":{"Type":3,"Flags":0,"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)"},"paused":{"Type":2,"Flags":0,"Description":"Indicates that the deployment is paused."},"progressDeadlineSeconds":{"Type":3,"Flags":0,"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."},"replicas":{"Type":3,"Flags":0,"Description":"Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1."},"revisionHistoryLimit":{"Type":3,"Flags":0,"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."},"selector":{"Type":21,"Flags":1,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"strategy":{"Type":197,"Flags":0,"Description":"DeploymentStrategy describes how to replace existing pods with new ones."},"template":{"Type":26,"Flags":1,"Description":"PodTemplateSpec describes the data a pod should have when created from a template"}}}},{"2":{"Name":"IoK8SApiAppsV1DeploymentStrategy","Properties":{"rollingUpdate":{"Type":198,"Flags":0,"Description":"Spec to control the desired behavior of rolling update."},"type":{"Type":4,"Flags":0,"Description":"Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate."}}}},{"2":{"Name":"IoK8SApiAppsV1RollingUpdateDeployment","Properties":{"maxSurge":{"Type":4,"Flags":0,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."},"maxUnavailable":{"Type":4,"Flags":0,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."}}}},{"2":{"Name":"IoK8SApiAppsV1DeploymentStatus","Properties":{"availableReplicas":{"Type":3,"Flags":0,"Description":"Total number of available pods (ready for at least minReadySeconds) targeted by this deployment."},"collisionCount":{"Type":3,"Flags":0,"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."},"conditions":{"Type":201,"Flags":0,"Description":"Represents the latest available observations of a deployment's current state."},"observedGeneration":{"Type":3,"Flags":0,"Description":"The generation observed by the deployment controller."},"readyReplicas":{"Type":3,"Flags":0,"Description":"Total number of ready pods targeted by this deployment."},"replicas":{"Type":3,"Flags":0,"Description":"Total number of non-terminated pods targeted by this deployment (their labels match the selector)."},"unavailableReplicas":{"Type":3,"Flags":0,"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."},"updatedReplicas":{"Type":3,"Flags":0,"Description":"Total number of non-terminated pods targeted by this deployment that have the desired template spec."}}}},{"2":{"Name":"IoK8SApiAppsV1DeploymentCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"lastUpdateTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"A human readable message indicating details about the transition."},"reason":{"Type":4,"Flags":0,"Description":"The reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"Status of the condition, one of True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"Type of deployment condition."}}}},{"3":{"ItemType":200}},{"2":{"Name":"apps/Deployment","Properties":{"kind":{"Type":191,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":192,"Flags":10,"Description":"The api version."},"metadata":{"Type":195,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":196,"Flags":0,"Description":"DeploymentSpec is the specification of the desired behavior of the Deployment."},"status":{"Type":199,"Flags":0,"Description":"DeploymentStatus is the most recently observed status of the Deployment."}}}},{"4":{"Name":"apps/Deployment@v1","ScopeType":0,"Body":202,"Flags":0}},{"6":{"Value":"ReplicaSet"}},{"6":{"Value":"apps/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":206,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":207,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiAppsV1ReplicaSetSpec","Properties":{"minReadySeconds":{"Type":3,"Flags":0,"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)"},"replicas":{"Type":3,"Flags":0,"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"},"selector":{"Type":21,"Flags":1,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"template":{"Type":26,"Flags":0,"Description":"PodTemplateSpec describes the data a pod should have when created from a template"}}}},{"2":{"Name":"IoK8SApiAppsV1ReplicaSetStatus","Properties":{"availableReplicas":{"Type":3,"Flags":0,"Description":"The number of available replicas (ready for at least minReadySeconds) for this replica set."},"conditions":{"Type":212,"Flags":0,"Description":"Represents the latest available observations of a replica set's current state."},"fullyLabeledReplicas":{"Type":3,"Flags":0,"Description":"The number of pods that have labels matching the labels of the pod template of the replicaset."},"observedGeneration":{"Type":3,"Flags":0,"Description":"ObservedGeneration reflects the generation of the most recently observed ReplicaSet."},"readyReplicas":{"Type":3,"Flags":0,"Description":"The number of ready replicas for this replica set."},"replicas":{"Type":3,"Flags":1,"Description":"Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller"}}}},{"2":{"Name":"IoK8SApiAppsV1ReplicaSetCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"A human readable message indicating details about the transition."},"reason":{"Type":4,"Flags":0,"Description":"The reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"Status of the condition, one of True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"Type of replica set condition."}}}},{"3":{"ItemType":211}},{"2":{"Name":"apps/ReplicaSet","Properties":{"kind":{"Type":204,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":205,"Flags":10,"Description":"The api version."},"metadata":{"Type":208,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":209,"Flags":0,"Description":"ReplicaSetSpec is the specification of a ReplicaSet."},"status":{"Type":210,"Flags":0,"Description":"ReplicaSetStatus represents the current status of a ReplicaSet."}}}},{"4":{"Name":"apps/ReplicaSet@v1","ScopeType":0,"Body":213,"Flags":0}},{"6":{"Value":"StatefulSet"}},{"6":{"Value":"apps/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":217,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":218,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiAppsV1StatefulSetSpec","Properties":{"podManagementPolicy":{"Type":4,"Flags":0,"Description":"podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once."},"replicas":{"Type":3,"Flags":0,"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."},"revisionHistoryLimit":{"Type":3,"Flags":0,"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."},"selector":{"Type":21,"Flags":1,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"serviceName":{"Type":4,"Flags":1,"Description":"serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller."},"template":{"Type":26,"Flags":1,"Description":"PodTemplateSpec describes the data a pod should have when created from a template"},"updateStrategy":{"Type":221,"Flags":0,"Description":"StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy."},"volumeClaimTemplates":{"Type":229,"Flags":0,"Description":"volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name."}}}},{"2":{"Name":"IoK8SApiAppsV1StatefulSetUpdateStrategy","Properties":{"rollingUpdate":{"Type":222,"Flags":0,"Description":"RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType."},"type":{"Type":4,"Flags":0,"Description":"Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate."}}}},{"2":{"Name":"IoK8SApiAppsV1RollingUpdateStatefulSetStrategy","Properties":{"partition":{"Type":3,"Flags":0,"Description":"Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0."}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaim","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"},"kind":{"Type":4,"Flags":0,"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/sig-architecture/api-conventions.md#types-kinds"},"metadata":{"Type":27,"Flags":0,"Description":"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."},"spec":{"Type":146,"Flags":0,"Description":"PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes"},"status":{"Type":224,"Flags":0,"Description":"PersistentVolumeClaimStatus is the current status of a persistent volume claim."}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimStatus","Properties":{"accessModes":{"Type":225,"Flags":0,"Description":"AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"},"capacity":{"Type":226,"Flags":0,"Description":"Represents the actual resources of the underlying volume."},"conditions":{"Type":228,"Flags":0,"Description":"Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'."},"phase":{"Type":4,"Flags":0,"Description":"Phase represents the current phase of PersistentVolumeClaim."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimStatusCapacity","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimCondition","Properties":{"lastProbeTime":{"Type":4,"Flags":0,"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."},"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"Human-readable message indicating details about last transition."},"reason":{"Type":4,"Flags":0,"Description":"Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized."},"status":{"Type":4,"Flags":1},"type":{"Type":4,"Flags":1}}}},{"3":{"ItemType":227}},{"3":{"ItemType":223}},{"2":{"Name":"IoK8SApiAppsV1StatefulSetStatus","Properties":{"collisionCount":{"Type":3,"Flags":0,"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."},"conditions":{"Type":232,"Flags":0,"Description":"Represents the latest available observations of a statefulset's current state."},"currentReplicas":{"Type":3,"Flags":0,"Description":"currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision."},"currentRevision":{"Type":4,"Flags":0,"Description":"currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas)."},"observedGeneration":{"Type":3,"Flags":0,"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."},"readyReplicas":{"Type":3,"Flags":0,"Description":"readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition."},"replicas":{"Type":3,"Flags":1,"Description":"replicas is the number of Pods created by the StatefulSet controller."},"updateRevision":{"Type":4,"Flags":0,"Description":"updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)"},"updatedReplicas":{"Type":3,"Flags":0,"Description":"updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision."}}}},{"2":{"Name":"IoK8SApiAppsV1StatefulSetCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"A human readable message indicating details about the transition."},"reason":{"Type":4,"Flags":0,"Description":"The reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"Status of the condition, one of True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"Type of statefulset condition."}}}},{"3":{"ItemType":231}},{"2":{"Name":"apps/StatefulSet","Properties":{"kind":{"Type":215,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":216,"Flags":10,"Description":"The api version."},"metadata":{"Type":219,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":220,"Flags":0,"Description":"A StatefulSetSpec is the specification of a StatefulSet."},"status":{"Type":230,"Flags":0,"Description":"StatefulSetStatus represents the current state of a StatefulSet."}}}},{"4":{"Name":"apps/StatefulSet@v1","ScopeType":0,"Body":233,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "ControllerRevision" + }, + { + "$type": "StringLiteralType", + "value": "apps/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "AnyType" + }, + { + "$type": "IntegerType" + }, + { + "$type": "ObjectType", + "name": "apps/ControllerRevision", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "data": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "Any object" + }, + "revision": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "Revision indicates the revision of the state represented by Data." + } + } + }, + { + "$type": "ResourceType", + "name": "apps/ControllerRevision@v1", + "scopeType": 0, + "body": { + "$ref": "#/8" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "DaemonSet" + }, + { + "$type": "StringLiteralType", + "value": "apps/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1DaemonSetSpec", + "properties": { + "minReadySeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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)." + }, + "revisionHistoryLimit": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "selector": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "template": { + "type": { + "$ref": "#/21" + }, + "flags": 1, + "description": "PodTemplateSpec describes the data a pod should have when created from a template" + }, + "updateStrategy": { + "type": { + "$ref": "#/180" + }, + "flags": 0, + "description": "DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelector", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." + }, + "matchLabels": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/17" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodTemplateSpec", + "properties": { + "metadata": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create." + }, + "spec": { + "type": { + "$ref": "#/31" + }, + "flags": 0, + "description": "PodSpec is a description of a pod." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ObjectMeta", + "properties": { + "annotations": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations" + }, + "clusterName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request." + }, + "creationTimestamp": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "deletionGracePeriodSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only." + }, + "deletionTimestamp": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "finalizers": { + "type": { + "$ref": "#/24" + }, + "flags": 0, + "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list." + }, + "generateName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency" + }, + "generation": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only." + }, + "labels": { + "type": { + "$ref": "#/25" + }, + "flags": 0, + "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels" + }, + "managedFields": { + "type": { + "$ref": "#/27" + }, + "flags": 0, + "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces" + }, + "ownerReferences": { + "type": { + "$ref": "#/30" + }, + "flags": 0, + "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller." + }, + "resourceVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + }, + "selfLink": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release." + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ObjectMetaAnnotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ObjectMetaLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ManagedFieldsEntry", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted." + }, + "fieldsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"" + }, + "fieldsV1": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "Any object" + }, + "manager": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Manager is an identifier of the workflow managing these fields." + }, + "operation": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'." + }, + "time": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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": "ArrayType", + "itemType": { + "$ref": "#/26" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1OwnerReference", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "API version of the referent." + }, + "blockOwnerDeletion": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned." + }, + "controller": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "If true, this reference points to the managing controller." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names" + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids" + } + } + }, + { + "$type": "BooleanType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/28" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSpec", + "properties": { + "activeDeadlineSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer." + }, + "affinity": { + "type": { + "$ref": "#/32" + }, + "flags": 0, + "description": "Affinity is a group of affinity scheduling rules." + }, + "automountServiceAccountToken": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted." + }, + "containers": { + "type": { + "$ref": "#/91" + }, + "flags": 1, + "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated." + }, + "dnsConfig": { + "type": { + "$ref": "#/92" + }, + "flags": 0, + "description": "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy." + }, + "dnsPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'." + }, + "enableServiceLinks": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true." + }, + "ephemeralContainers": { + "type": { + "$ref": "#/105" + }, + "flags": 0, + "description": "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature." + }, + "hostAliases": { + "type": { + "$ref": "#/108" + }, + "flags": 0, + "description": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods." + }, + "hostIPC": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Use the host's ipc namespace. Optional: Default to false." + }, + "hostNetwork": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false." + }, + "hostPID": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Use the host's pid namespace. Optional: Default to false." + }, + "hostname": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value." + }, + "imagePullSecrets": { + "type": { + "$ref": "#/110" + }, + "flags": 0, + "description": "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod" + }, + "initContainers": { + "type": { + "$ref": "#/111" + }, + "flags": 0, + "description": "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/" + }, + "nodeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements." + }, + "nodeSelector": { + "type": { + "$ref": "#/112" + }, + "flags": 0, + "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/" + }, + "overhead": { + "type": { + "$ref": "#/113" + }, + "flags": 0, + "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature." + }, + "preemptionPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate." + }, + "priority": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority." + }, + "priorityClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default." + }, + "readinessGates": { + "type": { + "$ref": "#/115" + }, + "flags": 0, + "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md" + }, + "restartPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy" + }, + "runtimeClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14." + }, + "schedulerName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler." + }, + "securityContext": { + "type": { + "$ref": "#/116" + }, + "flags": 0, + "description": "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext." + }, + "serviceAccount": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead." + }, + "serviceAccountName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/" + }, + "setHostnameAsFQDN": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false." + }, + "shareProcessNamespace": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false." + }, + "subdomain": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all." + }, + "terminationGracePeriodSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds." + }, + "tolerations": { + "type": { + "$ref": "#/121" + }, + "flags": 0, + "description": "If specified, the pod's tolerations." + }, + "topologySpreadConstraints": { + "type": { + "$ref": "#/123" + }, + "flags": 0, + "description": "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed." + }, + "volumes": { + "type": { + "$ref": "#/179" + }, + "flags": 0, + "description": "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Affinity", + "properties": { + "nodeAffinity": { + "type": { + "$ref": "#/33" + }, + "flags": 0, + "description": "Node affinity is a group of node affinity scheduling rules." + }, + "podAffinity": { + "type": { + "$ref": "#/43" + }, + "flags": 0, + "description": "Pod affinity is a group of inter pod affinity scheduling rules." + }, + "podAntiAffinity": { + "type": { + "$ref": "#/49" + }, + "flags": 0, + "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeAffinity", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/40" + }, + "flags": 0, + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred." + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/41" + }, + "flags": 0, + "description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PreferredSchedulingTerm", + "properties": { + "preference": { + "type": { + "$ref": "#/35" + }, + "flags": 1, + "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm." + }, + "weight": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelectorTerm", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/38" + }, + "flags": 0, + "description": "A list of node selector requirements by node's labels." + }, + "matchFields": { + "type": { + "$ref": "#/39" + }, + "flags": 0, + "description": "A list of node selector requirements by node's fields." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + }, + "values": { + "type": { + "$ref": "#/37" + }, + "flags": 0, + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/36" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/36" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/34" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelector", + "properties": { + "nodeSelectorTerms": { + "type": { + "$ref": "#/42" + }, + "flags": 1, + "description": "Required. A list of node selector terms. The terms are ORed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/35" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodAffinity", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/47" + }, + "flags": 0, + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred." + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/48" + }, + "flags": 0, + "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1WeightedPodAffinityTerm", + "properties": { + "podAffinityTerm": { + "type": { + "$ref": "#/45" + }, + "flags": 1, + "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running" + }, + "weight": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodAffinityTerm", + "properties": { + "labelSelector": { + "type": { + "$ref": "#/16" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "namespaces": { + "type": { + "$ref": "#/46" + }, + "flags": 0, + "description": "namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means \"this pod's namespace\"" + }, + "topologyKey": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/44" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/45" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodAntiAffinity", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/50" + }, + "flags": 0, + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred." + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/51" + }, + "flags": 0, + "description": "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/44" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/45" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Container", + "properties": { + "args": { + "type": { + "$ref": "#/53" + }, + "flags": 0, + "description": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "command": { + "type": { + "$ref": "#/54" + }, + "flags": 0, + "description": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "env": { + "type": { + "$ref": "#/61" + }, + "flags": 0, + "description": "List of environment variables to set in the container. Cannot be updated." + }, + "envFrom": { + "type": { + "$ref": "#/65" + }, + "flags": 0, + "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated." + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets." + }, + "imagePullPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images" + }, + "lifecycle": { + "type": { + "$ref": "#/66" + }, + "flags": 0, + "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted." + }, + "livenessProbe": { + "type": { + "$ref": "#/74" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated." + }, + "ports": { + "type": { + "$ref": "#/76" + }, + "flags": 0, + "description": "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated." + }, + "readinessProbe": { + "type": { + "$ref": "#/74" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "resources": { + "type": { + "$ref": "#/77" + }, + "flags": 0, + "description": "ResourceRequirements describes the compute resource requirements." + }, + "securityContext": { + "type": { + "$ref": "#/80" + }, + "flags": 0, + "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence." + }, + "startupProbe": { + "type": { + "$ref": "#/74" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "stdin": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false." + }, + "stdinOnce": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false" + }, + "terminationMessagePath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated." + }, + "terminationMessagePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated." + }, + "tty": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false." + }, + "volumeDevices": { + "type": { + "$ref": "#/88" + }, + "flags": 0, + "description": "volumeDevices is the list of block devices to be used by the container." + }, + "volumeMounts": { + "type": { + "$ref": "#/90" + }, + "flags": 0, + "description": "Pod volumes to mount into the container's filesystem. Cannot be updated." + }, + "workingDir": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EnvVar", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the environment variable. Must be a C_IDENTIFIER." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\"." + }, + "valueFrom": { + "type": { + "$ref": "#/56" + }, + "flags": 0, + "description": "EnvVarSource represents a source for the value of an EnvVar." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EnvVarSource", + "properties": { + "configMapKeyRef": { + "type": { + "$ref": "#/57" + }, + "flags": 0, + "description": "Selects a key from a ConfigMap." + }, + "fieldRef": { + "type": { + "$ref": "#/58" + }, + "flags": 0, + "description": "ObjectFieldSelector selects an APIVersioned field of an object." + }, + "resourceFieldRef": { + "type": { + "$ref": "#/59" + }, + "flags": 0, + "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format" + }, + "secretKeyRef": { + "type": { + "$ref": "#/60" + }, + "flags": 0, + "description": "SecretKeySelector selects a key of a Secret." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapKeySelector", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The key to select." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Specify whether the ConfigMap or its key must be defined" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ObjectFieldSelector", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." + }, + "fieldPath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path of the field to select in the specified API version." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceFieldSelector", + "properties": { + "containerName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container name: required for volumes, optional for env vars" + }, + "divisor": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + }, + "resource": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Required: resource to select" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretKeySelector", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The key of the secret to select from. Must be a valid secret key." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Specify whether the Secret or its key must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/55" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EnvFromSource", + "properties": { + "configMapRef": { + "type": { + "$ref": "#/63" + }, + "flags": 0, + "description": "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables." + }, + "prefix": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER." + }, + "secretRef": { + "type": { + "$ref": "#/64" + }, + "flags": 0, + "description": "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapEnvSource", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Specify whether the ConfigMap must be defined" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretEnvSource", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Specify whether the Secret must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/62" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Lifecycle", + "properties": { + "postStart": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "Handler defines a specific action that should be taken" + }, + "preStop": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "Handler defines a specific action that should be taken" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Handler", + "properties": { + "exec": { + "type": { + "$ref": "#/68" + }, + "flags": 0, + "description": "ExecAction describes a \"run in container\" action." + }, + "httpGet": { + "type": { + "$ref": "#/70" + }, + "flags": 0, + "description": "HTTPGetAction describes an action based on HTTP Get requests." + }, + "tcpSocket": { + "type": { + "$ref": "#/73" + }, + "flags": 0, + "description": "TCPSocketAction describes an action based on opening a socket" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ExecAction", + "properties": { + "command": { + "type": { + "$ref": "#/69" + }, + "flags": 0, + "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HttpGetAction", + "properties": { + "host": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead." + }, + "httpHeaders": { + "type": { + "$ref": "#/72" + }, + "flags": 0, + "description": "Custom headers to set in the request. HTTP allows repeated headers." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Path to access on the HTTP server." + }, + "port": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + }, + "scheme": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Scheme to use for connecting to the host. Defaults to HTTP." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HttpHeader", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The header field name" + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The header field value" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/71" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TCPSocketAction", + "properties": { + "host": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Host name to connect to, defaults to the pod IP." + }, + "port": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Probe", + "properties": { + "exec": { + "type": { + "$ref": "#/68" + }, + "flags": 0, + "description": "ExecAction describes a \"run in container\" action." + }, + "failureThreshold": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." + }, + "httpGet": { + "type": { + "$ref": "#/70" + }, + "flags": 0, + "description": "HTTPGetAction describes an action based on HTTP Get requests." + }, + "initialDelaySeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + }, + "periodSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." + }, + "successThreshold": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1." + }, + "tcpSocket": { + "type": { + "$ref": "#/73" + }, + "flags": 0, + "description": "TCPSocketAction describes an action based on opening a socket" + }, + "timeoutSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ContainerPort", + "properties": { + "containerPort": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536." + }, + "hostIP": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "What host IP to bind the external port to." + }, + "hostPort": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services." + }, + "protocol": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\"." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/75" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceRequirements", + "properties": { + "limits": { + "type": { + "$ref": "#/78" + }, + "flags": 0, + "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/" + }, + "requests": { + "type": { + "$ref": "#/79" + }, + "flags": 0, + "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceRequirementsLimits", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceRequirementsRequests", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecurityContext", + "properties": { + "allowPrivilegeEscalation": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN" + }, + "capabilities": { + "type": { + "$ref": "#/81" + }, + "flags": 0, + "description": "Adds and removes POSIX capabilities from running containers." + }, + "privileged": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false." + }, + "procMount": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled." + }, + "readOnlyRootFilesystem": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Whether this container has a read-only root filesystem. Default is false." + }, + "runAsGroup": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + }, + "runAsNonRoot": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + }, + "runAsUser": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + }, + "seLinuxOptions": { + "type": { + "$ref": "#/84" + }, + "flags": 0, + "description": "SELinuxOptions are the labels to be applied to the container" + }, + "seccompProfile": { + "type": { + "$ref": "#/85" + }, + "flags": 0, + "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set." + }, + "windowsOptions": { + "type": { + "$ref": "#/86" + }, + "flags": 0, + "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Capabilities", + "properties": { + "add": { + "type": { + "$ref": "#/82" + }, + "flags": 0, + "description": "Added capabilities" + }, + "drop": { + "type": { + "$ref": "#/83" + }, + "flags": 0, + "description": "Removed capabilities" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SELinuxOptions", + "properties": { + "level": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Level is SELinux level label that applies to the container." + }, + "role": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Role is a SELinux role label that applies to the container." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Type is a SELinux type label that applies to the container." + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "User is a SELinux user label that applies to the container." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SeccompProfile", + "properties": { + "localhostProfile": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is \"Localhost\"." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1WindowsSecurityContextOptions", + "properties": { + "gmsaCredentialSpec": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field." + }, + "gmsaCredentialSpecName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use." + }, + "runAsUserName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeDevice", + "properties": { + "devicePath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "devicePath is the path inside of the container that the device will be mapped to." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name must match the name of a persistentVolumeClaim in the pod" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/87" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeMount", + "properties": { + "mountPath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path within the container at which the volume should be mounted. Must not contain ':'." + }, + "mountPropagation": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "This must match the Name of a Volume." + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false." + }, + "subPath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root)." + }, + "subPathExpr": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/89" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/52" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodDNSConfig", + "properties": { + "nameservers": { + "type": { + "$ref": "#/93" + }, + "flags": 0, + "description": "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed." + }, + "options": { + "type": { + "$ref": "#/95" + }, + "flags": 0, + "description": "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy." + }, + "searches": { + "type": { + "$ref": "#/96" + }, + "flags": 0, + "description": "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodDNSConfigOption", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Required." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/94" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EphemeralContainer", + "properties": { + "args": { + "type": { + "$ref": "#/98" + }, + "flags": 0, + "description": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "command": { + "type": { + "$ref": "#/99" + }, + "flags": 0, + "description": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "env": { + "type": { + "$ref": "#/100" + }, + "flags": 0, + "description": "List of environment variables to set in the container. Cannot be updated." + }, + "envFrom": { + "type": { + "$ref": "#/101" + }, + "flags": 0, + "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated." + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images" + }, + "imagePullPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images" + }, + "lifecycle": { + "type": { + "$ref": "#/66" + }, + "flags": 0, + "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted." + }, + "livenessProbe": { + "type": { + "$ref": "#/74" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers." + }, + "ports": { + "type": { + "$ref": "#/102" + }, + "flags": 0, + "description": "Ports are not allowed for ephemeral containers." + }, + "readinessProbe": { + "type": { + "$ref": "#/74" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "resources": { + "type": { + "$ref": "#/77" + }, + "flags": 0, + "description": "ResourceRequirements describes the compute resource requirements." + }, + "securityContext": { + "type": { + "$ref": "#/80" + }, + "flags": 0, + "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence." + }, + "startupProbe": { + "type": { + "$ref": "#/74" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "stdin": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false." + }, + "stdinOnce": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false" + }, + "targetContainerName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature." + }, + "terminationMessagePath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated." + }, + "terminationMessagePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated." + }, + "tty": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false." + }, + "volumeDevices": { + "type": { + "$ref": "#/103" + }, + "flags": 0, + "description": "volumeDevices is the list of block devices to be used by the container." + }, + "volumeMounts": { + "type": { + "$ref": "#/104" + }, + "flags": 0, + "description": "Pod volumes to mount into the container's filesystem. Cannot be updated." + }, + "workingDir": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/55" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/62" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/75" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/87" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/89" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/97" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HostAlias", + "properties": { + "hostnames": { + "type": { + "$ref": "#/107" + }, + "flags": 0, + "description": "Hostnames for the above IP address." + }, + "ip": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IP address of the host file entry." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/106" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LocalObjectReference", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/109" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/52" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSpecNodeSelector", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSpecOverhead", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodReadinessGate", + "properties": { + "conditionType": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "ConditionType refers to a condition in the pod's condition list with matching type." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/114" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSecurityContext", + "properties": { + "fsGroup": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume." + }, + "fsGroupChangePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified defaults to \"Always\"." + }, + "runAsGroup": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container." + }, + "runAsNonRoot": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + }, + "runAsUser": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container." + }, + "seLinuxOptions": { + "type": { + "$ref": "#/84" + }, + "flags": 0, + "description": "SELinuxOptions are the labels to be applied to the container" + }, + "seccompProfile": { + "type": { + "$ref": "#/85" + }, + "flags": 0, + "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set." + }, + "supplementalGroups": { + "type": { + "$ref": "#/117" + }, + "flags": 0, + "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container." + }, + "sysctls": { + "type": { + "$ref": "#/119" + }, + "flags": 0, + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch." + }, + "windowsOptions": { + "type": { + "$ref": "#/86" + }, + "flags": 0, + "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/7" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Sysctl", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of a property to set" + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Value of a property to set" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/118" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Toleration", + "properties": { + "effect": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute." + }, + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category." + }, + "tolerationSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/120" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TopologySpreadConstraint", + "properties": { + "labelSelector": { + "type": { + "$ref": "#/16" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "maxSkew": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed." + }, + "topologyKey": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. It's a required field." + }, + "whenUnsatisfiable": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assigment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/122" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Volume", + "properties": { + "awsElasticBlockStore": { + "type": { + "$ref": "#/125" + }, + "flags": 0, + "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling." + }, + "azureDisk": { + "type": { + "$ref": "#/126" + }, + "flags": 0, + "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." + }, + "azureFile": { + "type": { + "$ref": "#/127" + }, + "flags": 0, + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod." + }, + "cephfs": { + "type": { + "$ref": "#/128" + }, + "flags": 0, + "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling." + }, + "cinder": { + "type": { + "$ref": "#/130" + }, + "flags": 0, + "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling." + }, + "configMap": { + "type": { + "$ref": "#/131" + }, + "flags": 0, + "description": "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling." + }, + "csi": { + "type": { + "$ref": "#/134" + }, + "flags": 0, + "description": "Represents a source location of a volume to mount, managed by an external CSI driver" + }, + "downwardAPI": { + "type": { + "$ref": "#/136" + }, + "flags": 0, + "description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling." + }, + "emptyDir": { + "type": { + "$ref": "#/139" + }, + "flags": 0, + "description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling." + }, + "ephemeral": { + "type": { + "$ref": "#/140" + }, + "flags": 0, + "description": "Represents an ephemeral volume that is handled by a normal storage driver." + }, + "fc": { + "type": { + "$ref": "#/145" + }, + "flags": 0, + "description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling." + }, + "flexVolume": { + "type": { + "$ref": "#/148" + }, + "flags": 0, + "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin." + }, + "flocker": { + "type": { + "$ref": "#/150" + }, + "flags": 0, + "description": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling." + }, + "gcePersistentDisk": { + "type": { + "$ref": "#/151" + }, + "flags": 0, + "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling." + }, + "gitRepo": { + "type": { + "$ref": "#/152" + }, + "flags": 0, + "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container." + }, + "glusterfs": { + "type": { + "$ref": "#/153" + }, + "flags": 0, + "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling." + }, + "hostPath": { + "type": { + "$ref": "#/154" + }, + "flags": 0, + "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling." + }, + "iscsi": { + "type": { + "$ref": "#/155" + }, + "flags": 0, + "description": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "nfs": { + "type": { + "$ref": "#/157" + }, + "flags": 0, + "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling." + }, + "persistentVolumeClaim": { + "type": { + "$ref": "#/158" + }, + "flags": 0, + "description": "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system)." + }, + "photonPersistentDisk": { + "type": { + "$ref": "#/159" + }, + "flags": 0, + "description": "Represents a Photon Controller persistent disk resource." + }, + "portworxVolume": { + "type": { + "$ref": "#/160" + }, + "flags": 0, + "description": "PortworxVolumeSource represents a Portworx volume resource." + }, + "projected": { + "type": { + "$ref": "#/161" + }, + "flags": 0, + "description": "Represents a projected volume source" + }, + "quobyte": { + "type": { + "$ref": "#/171" + }, + "flags": 0, + "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling." + }, + "rbd": { + "type": { + "$ref": "#/172" + }, + "flags": 0, + "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling." + }, + "scaleIO": { + "type": { + "$ref": "#/174" + }, + "flags": 0, + "description": "ScaleIOVolumeSource represents a persistent ScaleIO volume" + }, + "secret": { + "type": { + "$ref": "#/175" + }, + "flags": 0, + "description": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling." + }, + "storageos": { + "type": { + "$ref": "#/177" + }, + "flags": 0, + "description": "Represents a StorageOS persistent volume resource." + }, + "vsphereVolume": { + "type": { + "$ref": "#/178" + }, + "flags": 0, + "description": "Represents a vSphere volume resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AWSElasticBlockStoreVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + }, + "partition": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty)." + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AzureDiskVolumeSource", + "properties": { + "cachingMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Host Caching mode: None, Read Only, Read Write." + }, + "diskName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The Name of the data disk in the blob storage" + }, + "diskURI": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The URI the data disk in the blob storage" + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared" + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AzureFileVolumeSource", + "properties": { + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "the name of secret that contains Azure Storage Account Name and Key" + }, + "shareName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Share Name" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CephFSVolumeSource", + "properties": { + "monitors": { + "type": { + "$ref": "#/129" + }, + "flags": 1, + "description": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /" + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "secretFile": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "secretRef": { + "type": { + "$ref": "#/109" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CinderVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + }, + "secretRef": { + "type": { + "$ref": "#/109" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "items": { + "type": { + "$ref": "#/133" + }, + "flags": 0, + "description": "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Specify whether the ConfigMap or its keys must be defined" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1KeyToPath", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The key to project." + }, + "mode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/132" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CSIVolumeSource", + "properties": { + "driver": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster." + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply." + }, + "nodePublishSecretRef": { + "type": { + "$ref": "#/109" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Specifies a read-only configuration for the volume. Defaults to false (read/write)." + }, + "volumeAttributes": { + "type": { + "$ref": "#/135" + }, + "flags": 0, + "description": "VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CSIVolumeSourceVolumeAttributes", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1DownwardAPIVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "items": { + "type": { + "$ref": "#/138" + }, + "flags": 0, + "description": "Items is a list of downward API volume file" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1DownwardAPIVolumeFile", + "properties": { + "fieldRef": { + "type": { + "$ref": "#/58" + }, + "flags": 0, + "description": "ObjectFieldSelector selects an APIVersioned field of an object." + }, + "mode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'" + }, + "resourceFieldRef": { + "type": { + "$ref": "#/59" + }, + "flags": 0, + "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/137" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EmptyDirVolumeSource", + "properties": { + "medium": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir" + }, + "sizeLimit": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EphemeralVolumeSource", + "properties": { + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Specifies a read-only configuration for the volume. Defaults to false (read/write)." + }, + "volumeClaimTemplate": { + "type": { + "$ref": "#/141" + }, + "flags": 0, + "description": "PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimTemplate", + "properties": { + "metadata": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create." + }, + "spec": { + "type": { + "$ref": "#/142" + }, + "flags": 1, + "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimSpec", + "properties": { + "accessModes": { + "type": { + "$ref": "#/143" + }, + "flags": 0, + "description": "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1" + }, + "dataSource": { + "type": { + "$ref": "#/144" + }, + "flags": 0, + "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace." + }, + "resources": { + "type": { + "$ref": "#/77" + }, + "flags": 0, + "description": "ResourceRequirements describes the compute resource requirements." + }, + "selector": { + "type": { + "$ref": "#/16" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "storageClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" + }, + "volumeMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "VolumeName is the binding reference to the PersistentVolume backing this claim." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TypedLocalObjectReference", + "properties": { + "apiGroup": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind is the type of resource being referenced" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the name of resource being referenced" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FCVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "lun": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: FC target lun number" + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "targetWWNs": { + "type": { + "$ref": "#/146" + }, + "flags": 0, + "description": "Optional: FC target worldwide names (WWNs)" + }, + "wwids": { + "type": { + "$ref": "#/147" + }, + "flags": 0, + "description": "Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlexVolumeSource", + "properties": { + "driver": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Driver is the name of the driver to use for this volume." + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script." + }, + "options": { + "type": { + "$ref": "#/149" + }, + "flags": 0, + "description": "Optional: Extra command options if any." + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/109" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlexVolumeSourceOptions", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlockerVolumeSource", + "properties": { + "datasetName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated" + }, + "datasetUUID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UUID of the dataset. This is unique identifier of a Flocker dataset" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GCEPersistentDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "partition": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "pdName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GitRepoVolumeSource", + "properties": { + "directory": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name." + }, + "repository": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Repository URL" + }, + "revision": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Commit hash for the specified revision." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GlusterfsVolumeSource", + "properties": { + "endpoints": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HostPathVolumeSource", + "properties": { + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1IscsiVolumeSource", + "properties": { + "chapAuthDiscovery": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "whether support iSCSI Discovery CHAP authentication" + }, + "chapAuthSession": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "whether support iSCSI Session CHAP authentication" + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi" + }, + "initiatorName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection." + }, + "iqn": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Target iSCSI Qualified Name." + }, + "iscsiInterface": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)." + }, + "lun": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "iSCSI Target Lun number." + }, + "portals": { + "type": { + "$ref": "#/156" + }, + "flags": 0, + "description": "iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)." + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false." + }, + "secretRef": { + "type": { + "$ref": "#/109" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "targetPortal": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NFSVolumeSource", + "properties": { + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + }, + "server": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimVolumeSource", + "properties": { + "claimName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Will force the ReadOnly setting in VolumeMounts. Default false." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PhotonPersistentDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "pdID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "ID that identifies Photon Controller persistent disk" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PortworxVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "VolumeID uniquely identifies a Portworx volume" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ProjectedVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "sources": { + "type": { + "$ref": "#/170" + }, + "flags": 1, + "description": "list of volume projections" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeProjection", + "properties": { + "configMap": { + "type": { + "$ref": "#/163" + }, + "flags": 0, + "description": "Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode." + }, + "downwardAPI": { + "type": { + "$ref": "#/165" + }, + "flags": 0, + "description": "Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode." + }, + "secret": { + "type": { + "$ref": "#/167" + }, + "flags": 0, + "description": "Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode." + }, + "serviceAccountToken": { + "type": { + "$ref": "#/169" + }, + "flags": 0, + "description": "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise)." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapProjection", + "properties": { + "items": { + "type": { + "$ref": "#/164" + }, + "flags": 0, + "description": "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Specify whether the ConfigMap or its keys must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/132" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1DownwardAPIProjection", + "properties": { + "items": { + "type": { + "$ref": "#/166" + }, + "flags": 0, + "description": "Items is a list of DownwardAPIVolume file" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/137" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretProjection", + "properties": { + "items": { + "type": { + "$ref": "#/168" + }, + "flags": 0, + "description": "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Specify whether the Secret or its key must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/132" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ServiceAccountTokenProjection", + "properties": { + "audience": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver." + }, + "expirationSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path is the path relative to the mount point of the file to project the token into." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/162" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1QuobyteVolumeSource", + "properties": { + "group": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Group to map volume access to Default is no group" + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false." + }, + "registry": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes" + }, + "tenant": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin" + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "User to map volume access to Defaults to serivceaccount user" + }, + "volume": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Volume is a string that references an already created Quobyte volume by name." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1RBDVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd" + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "keyring": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "monitors": { + "type": { + "$ref": "#/173" + }, + "flags": 1, + "description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "pool": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "secretRef": { + "type": { + "$ref": "#/109" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ScaleIOVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"." + }, + "gateway": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The host address of the ScaleIO API Gateway." + }, + "protectionDomain": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The name of the ScaleIO Protection Domain for the configured storage." + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/109" + }, + "flags": 1, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "sslEnabled": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Flag to enable/disable SSL communication with Gateway, default false" + }, + "storageMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned." + }, + "storagePool": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The ScaleIO Storage Pool associated with the protection domain." + }, + "system": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The name of the storage system as configured in ScaleIO." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The name of a volume already created in the ScaleIO system that is associated with this volume source." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "items": { + "type": { + "$ref": "#/176" + }, + "flags": 0, + "description": "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "optional": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Specify whether the Secret or its keys must be defined" + }, + "secretName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/132" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1StorageOSVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "readOnly": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/109" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace." + }, + "volumeNamespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VsphereVirtualDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "storagePolicyID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName." + }, + "storagePolicyName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Storage Policy Based Management (SPBM) profile name." + }, + "volumePath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path that identifies vSphere volume vmdk" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/124" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1DaemonSetUpdateStrategy", + "properties": { + "rollingUpdate": { + "type": { + "$ref": "#/181" + }, + "flags": 0, + "description": "Spec to control the desired behavior of daemon set rolling update." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1RollingUpdateDaemonSet", + "properties": { + "maxUnavailable": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1DaemonSetStatus", + "properties": { + "collisionCount": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "conditions": { + "type": { + "$ref": "#/184" + }, + "flags": 0, + "description": "Represents the latest available observations of a DaemonSet's current state." + }, + "currentNumberScheduled": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "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/" + }, + "desiredNumberScheduled": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "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/" + }, + "numberAvailable": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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)" + }, + "numberMisscheduled": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "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/" + }, + "numberReady": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready." + }, + "numberUnavailable": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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)" + }, + "observedGeneration": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The most recent generation observed by the daemon set controller." + }, + "updatedNumberScheduled": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The total number of nodes that are running updated daemon pod" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1DaemonSetCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "A human readable message indicating details about the transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Status of the condition, one of True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type of DaemonSet condition." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/183" + } + }, + { + "$type": "ObjectType", + "name": "apps/DaemonSet", + "properties": { + "kind": { + "type": { + "$ref": "#/10" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/11" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/15" + }, + "flags": 0, + "description": "DaemonSetSpec is the specification of a daemon set." + }, + "status": { + "type": { + "$ref": "#/182" + }, + "flags": 0, + "description": "DaemonSetStatus represents the current status of a daemon set." + } + } + }, + { + "$type": "ResourceType", + "name": "apps/DaemonSet@v1", + "scopeType": 0, + "body": { + "$ref": "#/185" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "Deployment" + }, + { + "$type": "StringLiteralType", + "value": "apps/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/189" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/190" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1DeploymentSpec", + "properties": { + "minReadySeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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)" + }, + "paused": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Indicates that the deployment is paused." + }, + "progressDeadlineSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "replicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1." + }, + "revisionHistoryLimit": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "selector": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "strategy": { + "type": { + "$ref": "#/193" + }, + "flags": 0, + "description": "DeploymentStrategy describes how to replace existing pods with new ones." + }, + "template": { + "type": { + "$ref": "#/21" + }, + "flags": 1, + "description": "PodTemplateSpec describes the data a pod should have when created from a template" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1DeploymentStrategy", + "properties": { + "rollingUpdate": { + "type": { + "$ref": "#/194" + }, + "flags": 0, + "description": "Spec to control the desired behavior of rolling update." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1RollingUpdateDeployment", + "properties": { + "maxSurge": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + }, + "maxUnavailable": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1DeploymentStatus", + "properties": { + "availableReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment." + }, + "collisionCount": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "conditions": { + "type": { + "$ref": "#/197" + }, + "flags": 0, + "description": "Represents the latest available observations of a deployment's current state." + }, + "observedGeneration": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The generation observed by the deployment controller." + }, + "readyReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Total number of ready pods targeted by this deployment." + }, + "replicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector)." + }, + "unavailableReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "updatedReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1DeploymentCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "lastUpdateTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "A human readable message indicating details about the transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Status of the condition, one of True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type of deployment condition." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/196" + } + }, + { + "$type": "ObjectType", + "name": "apps/Deployment", + "properties": { + "kind": { + "type": { + "$ref": "#/187" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/188" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/191" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/192" + }, + "flags": 0, + "description": "DeploymentSpec is the specification of the desired behavior of the Deployment." + }, + "status": { + "type": { + "$ref": "#/195" + }, + "flags": 0, + "description": "DeploymentStatus is the most recently observed status of the Deployment." + } + } + }, + { + "$type": "ResourceType", + "name": "apps/Deployment@v1", + "scopeType": 0, + "body": { + "$ref": "#/198" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "ReplicaSet" + }, + { + "$type": "StringLiteralType", + "value": "apps/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/202" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/203" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1ReplicaSetSpec", + "properties": { + "minReadySeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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)" + }, + "replicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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" + }, + "selector": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "template": { + "type": { + "$ref": "#/21" + }, + "flags": 0, + "description": "PodTemplateSpec describes the data a pod should have when created from a template" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1ReplicaSetStatus", + "properties": { + "availableReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set." + }, + "conditions": { + "type": { + "$ref": "#/208" + }, + "flags": 0, + "description": "Represents the latest available observations of a replica set's current state." + }, + "fullyLabeledReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The number of pods that have labels matching the labels of the pod template of the replicaset." + }, + "observedGeneration": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet." + }, + "readyReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The number of ready replicas for this replica set." + }, + "replicas": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "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": "ObjectType", + "name": "IoK8SApiAppsV1ReplicaSetCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "A human readable message indicating details about the transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Status of the condition, one of True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type of replica set condition." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/207" + } + }, + { + "$type": "ObjectType", + "name": "apps/ReplicaSet", + "properties": { + "kind": { + "type": { + "$ref": "#/200" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/201" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/204" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/205" + }, + "flags": 0, + "description": "ReplicaSetSpec is the specification of a ReplicaSet." + }, + "status": { + "type": { + "$ref": "#/206" + }, + "flags": 0, + "description": "ReplicaSetStatus represents the current status of a ReplicaSet." + } + } + }, + { + "$type": "ResourceType", + "name": "apps/ReplicaSet@v1", + "scopeType": 0, + "body": { + "$ref": "#/209" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "StatefulSet" + }, + { + "$type": "StringLiteralType", + "value": "apps/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/213" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/214" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1StatefulSetSpec", + "properties": { + "podManagementPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once." + }, + "replicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "revisionHistoryLimit": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "selector": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "serviceName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller." + }, + "template": { + "type": { + "$ref": "#/21" + }, + "flags": 1, + "description": "PodTemplateSpec describes the data a pod should have when created from a template" + }, + "updateStrategy": { + "type": { + "$ref": "#/217" + }, + "flags": 0, + "description": "StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy." + }, + "volumeClaimTemplates": { + "type": { + "$ref": "#/225" + }, + "flags": 0, + "description": "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1StatefulSetUpdateStrategy", + "properties": { + "rollingUpdate": { + "type": { + "$ref": "#/218" + }, + "flags": 0, + "description": "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1RollingUpdateStatefulSetStrategy", + "properties": { + "partition": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaim", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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/sig-architecture/api-conventions.md#types-kinds" + }, + "metadata": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create." + }, + "spec": { + "type": { + "$ref": "#/142" + }, + "flags": 0, + "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes" + }, + "status": { + "type": { + "$ref": "#/220" + }, + "flags": 0, + "description": "PersistentVolumeClaimStatus is the current status of a persistent volume claim." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimStatus", + "properties": { + "accessModes": { + "type": { + "$ref": "#/221" + }, + "flags": 0, + "description": "AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1" + }, + "capacity": { + "type": { + "$ref": "#/222" + }, + "flags": 0, + "description": "Represents the actual resources of the underlying volume." + }, + "conditions": { + "type": { + "$ref": "#/224" + }, + "flags": 0, + "description": "Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'." + }, + "phase": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Phase represents the current phase of PersistentVolumeClaim." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimStatusCapacity", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimCondition", + "properties": { + "lastProbeTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Human-readable message indicating details about last transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/223" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/219" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1StatefulSetStatus", + "properties": { + "collisionCount": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "conditions": { + "type": { + "$ref": "#/228" + }, + "flags": 0, + "description": "Represents the latest available observations of a statefulset's current state." + }, + "currentReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision." + }, + "currentRevision": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas)." + }, + "observedGeneration": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "readyReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition." + }, + "replicas": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "replicas is the number of Pods created by the StatefulSet controller." + }, + "updateRevision": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)" + }, + "updatedReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAppsV1StatefulSetCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "A human readable message indicating details about the transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Status of the condition, one of True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type of statefulset condition." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/227" + } + }, + { + "$type": "ObjectType", + "name": "apps/StatefulSet", + "properties": { + "kind": { + "type": { + "$ref": "#/211" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/212" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/215" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/216" + }, + "flags": 0, + "description": "A StatefulSetSpec is the specification of a StatefulSet." + }, + "status": { + "type": { + "$ref": "#/226" + }, + "flags": 0, + "description": "StatefulSetStatus represents the current state of a StatefulSet." + } + } + }, + { + "$type": "ResourceType", + "name": "apps/StatefulSet@v1", + "scopeType": 0, + "body": { + "$ref": "#/229" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/autoscaling/v1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/autoscaling/v1/types.json index b028ef59..4b6d8df1 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/autoscaling/v1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/autoscaling/v1/types.json @@ -1 +1,359 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"Scale"}},{"6":{"Value":"autoscaling/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiAutoscalingV1ScaleSpec","Properties":{"replicas":{"Type":3,"Flags":0,"Description":"desired number of instances for the scaled object."}}}},{"2":{"Name":"IoK8SApiAutoscalingV1ScaleStatus","Properties":{"replicas":{"Type":3,"Flags":1,"Description":"actual number of observed instances of the scaled object."},"selector":{"Type":4,"Flags":0,"Description":"label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors"}}}},{"2":{"Name":"autoscaling/Scale","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":0,"Description":"ScaleSpec describes the attributes of a scale subresource."},"status":{"Type":14,"Flags":0,"Description":"ScaleStatus represents the current status of a scale subresource."}}}},{"4":{"Name":"autoscaling/Scale@v1","ScopeType":0,"Body":15,"Flags":0}},{"6":{"Value":"HorizontalPodAutoscaler"}},{"6":{"Value":"autoscaling/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":19,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":20,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiAutoscalingV1HorizontalPodAutoscalerSpec","Properties":{"maxReplicas":{"Type":3,"Flags":1,"Description":"upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas."},"minReplicas":{"Type":3,"Flags":0,"Description":"minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available."},"scaleTargetRef":{"Type":23,"Flags":1,"Description":"CrossVersionObjectReference contains enough information to let you identify the referred resource."},"targetCPUUtilizationPercentage":{"Type":3,"Flags":0,"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."}}}},{"2":{"Name":"IoK8SApiAutoscalingV1CrossVersionObjectReference","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"API version of the referent"},"kind":{"Type":4,"Flags":1,"Description":"Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\""},"name":{"Type":4,"Flags":1,"Description":"Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"}}}},{"2":{"Name":"IoK8SApiAutoscalingV1HorizontalPodAutoscalerStatus","Properties":{"currentCPUUtilizationPercentage":{"Type":3,"Flags":0,"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."},"currentReplicas":{"Type":3,"Flags":1,"Description":"current number of replicas of pods managed by this autoscaler."},"desiredReplicas":{"Type":3,"Flags":1,"Description":"desired number of replicas of pods managed by this autoscaler."},"lastScaleTime":{"Type":4,"Flags":0,"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."},"observedGeneration":{"Type":3,"Flags":0,"Description":"most recent generation observed by this autoscaler."}}}},{"2":{"Name":"autoscaling/HorizontalPodAutoscaler","Properties":{"kind":{"Type":17,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":18,"Flags":10,"Description":"The api version."},"metadata":{"Type":21,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":22,"Flags":0,"Description":"specification of a horizontal pod autoscaler."},"status":{"Type":24,"Flags":0,"Description":"current status of a horizontal pod autoscaler"}}}},{"4":{"Name":"autoscaling/HorizontalPodAutoscaler@v1","ScopeType":0,"Body":25,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "Scale" + }, + { + "$type": "StringLiteralType", + "value": "autoscaling/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV1ScaleSpec", + "properties": { + "replicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "desired number of instances for the scaled object." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV1ScaleStatus", + "properties": { + "replicas": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "actual number of observed instances of the scaled object." + }, + "selector": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors" + } + } + }, + { + "$type": "ObjectType", + "name": "autoscaling/Scale", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "ScaleSpec describes the attributes of a scale subresource." + }, + "status": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "ScaleStatus represents the current status of a scale subresource." + } + } + }, + { + "$type": "ResourceType", + "name": "autoscaling/Scale@v1", + "scopeType": 0, + "body": { + "$ref": "#/9" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "HorizontalPodAutoscaler" + }, + { + "$type": "StringLiteralType", + "value": "autoscaling/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV1HorizontalPodAutoscalerSpec", + "properties": { + "maxReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas." + }, + "minReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available." + }, + "scaleTargetRef": { + "type": { + "$ref": "#/17" + }, + "flags": 1, + "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource." + }, + "targetCPUUtilizationPercentage": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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": "ObjectType", + "name": "IoK8SApiAutoscalingV1CrossVersionObjectReference", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "API version of the referent" + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\"" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV1HorizontalPodAutoscalerStatus", + "properties": { + "currentCPUUtilizationPercentage": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "currentReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "current number of replicas of pods managed by this autoscaler." + }, + "desiredReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "desired number of replicas of pods managed by this autoscaler." + }, + "lastScaleTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "observedGeneration": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "most recent generation observed by this autoscaler." + } + } + }, + { + "$type": "ObjectType", + "name": "autoscaling/HorizontalPodAutoscaler", + "properties": { + "kind": { + "type": { + "$ref": "#/11" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/12" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/15" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/16" + }, + "flags": 0, + "description": "specification of a horizontal pod autoscaler." + }, + "status": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "current status of a horizontal pod autoscaler" + } + } + }, + { + "$type": "ResourceType", + "name": "autoscaling/HorizontalPodAutoscaler@v1", + "scopeType": 0, + "body": { + "$ref": "#/19" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/autoscaling/v2beta1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/autoscaling/v2beta1/types.json index 57e0c004..c6ca1c8d 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/autoscaling/v2beta1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/autoscaling/v2beta1/types.json @@ -1 +1,691 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"HorizontalPodAutoscaler"}},{"6":{"Value":"autoscaling/v2beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta1HorizontalPodAutoscalerSpec","Properties":{"maxReplicas":{"Type":3,"Flags":1,"Description":"maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas."},"metrics":{"Type":25,"Flags":0,"Description":"metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond."},"minReplicas":{"Type":3,"Flags":0,"Description":"minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available."},"scaleTargetRef":{"Type":22,"Flags":1,"Description":"CrossVersionObjectReference contains enough information to let you identify the referred resource."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta1MetricSpec","Properties":{"external":{"Type":15,"Flags":0,"Description":"ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one \"target\" type should be set."},"object":{"Type":21,"Flags":0,"Description":"ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object)."},"pods":{"Type":23,"Flags":0,"Description":"PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."},"resource":{"Type":24,"Flags":0,"Description":"ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set."},"type":{"Type":4,"Flags":1,"Description":"type is the type of metric source. It should be one of \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta1ExternalMetricSource","Properties":{"metricName":{"Type":4,"Flags":1,"Description":"metricName is the name of the metric in question."},"metricSelector":{"Type":16,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"targetAverageValue":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."},"targetValue":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelector","Properties":{"matchExpressions":{"Type":19,"Flags":0,"Description":"matchExpressions is a list of label selector requirements. The requirements are ANDed."},"matchLabels":{"Type":20,"Flags":0,"Description":"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."},"values":{"Type":18,"Flags":0,"Description":"values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":17}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta1ObjectMetricSource","Properties":{"averageValue":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."},"metricName":{"Type":4,"Flags":1,"Description":"metricName is the name of the metric in question."},"selector":{"Type":16,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"target":{"Type":22,"Flags":1,"Description":"CrossVersionObjectReference contains enough information to let you identify the referred resource."},"targetValue":{"Type":4,"Flags":1,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta1CrossVersionObjectReference","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"API version of the referent"},"kind":{"Type":4,"Flags":1,"Description":"Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\""},"name":{"Type":4,"Flags":1,"Description":"Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta1PodsMetricSource","Properties":{"metricName":{"Type":4,"Flags":1,"Description":"metricName is the name of the metric in question"},"selector":{"Type":16,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"targetAverageValue":{"Type":4,"Flags":1,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta1ResourceMetricSource","Properties":{"name":{"Type":4,"Flags":1,"Description":"name is the name of the resource in question."},"targetAverageUtilization":{"Type":3,"Flags":0,"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."},"targetAverageValue":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."}}}},{"3":{"ItemType":14}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta1HorizontalPodAutoscalerStatus","Properties":{"conditions":{"Type":28,"Flags":1,"Description":"conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met."},"currentMetrics":{"Type":34,"Flags":0,"Description":"currentMetrics is the last read state of the metrics used by this autoscaler."},"currentReplicas":{"Type":3,"Flags":1,"Description":"currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler."},"desiredReplicas":{"Type":3,"Flags":1,"Description":"desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler."},"lastScaleTime":{"Type":4,"Flags":0,"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."},"observedGeneration":{"Type":3,"Flags":0,"Description":"observedGeneration is the most recent generation observed by this autoscaler."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta1HorizontalPodAutoscalerCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"message is a human-readable explanation containing details about the transition"},"reason":{"Type":4,"Flags":0,"Description":"reason is the reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"status is the status of the condition (True, False, Unknown)"},"type":{"Type":4,"Flags":1,"Description":"type describes the current condition"}}}},{"3":{"ItemType":27}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta1MetricStatus","Properties":{"external":{"Type":30,"Flags":0,"Description":"ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object."},"object":{"Type":31,"Flags":0,"Description":"ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object)."},"pods":{"Type":32,"Flags":0,"Description":"PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second)."},"resource":{"Type":33,"Flags":0,"Description":"ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source."},"type":{"Type":4,"Flags":1,"Description":"type is the type of metric source. It will be one of \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta1ExternalMetricStatus","Properties":{"currentAverageValue":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."},"currentValue":{"Type":4,"Flags":1,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."},"metricName":{"Type":4,"Flags":1,"Description":"metricName is the name of a metric used for autoscaling in metric system."},"metricSelector":{"Type":16,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta1ObjectMetricStatus","Properties":{"averageValue":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."},"currentValue":{"Type":4,"Flags":1,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."},"metricName":{"Type":4,"Flags":1,"Description":"metricName is the name of the metric in question."},"selector":{"Type":16,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"target":{"Type":22,"Flags":1,"Description":"CrossVersionObjectReference contains enough information to let you identify the referred resource."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta1PodsMetricStatus","Properties":{"currentAverageValue":{"Type":4,"Flags":1,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."},"metricName":{"Type":4,"Flags":1,"Description":"metricName is the name of the metric in question"},"selector":{"Type":16,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta1ResourceMetricStatus","Properties":{"currentAverageUtilization":{"Type":3,"Flags":0,"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."},"currentAverageValue":{"Type":4,"Flags":1,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."},"name":{"Type":4,"Flags":1,"Description":"name is the name of the resource in question."}}}},{"3":{"ItemType":29}},{"2":{"Name":"autoscaling/HorizontalPodAutoscaler","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":0,"Description":"HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler."},"status":{"Type":26,"Flags":0,"Description":"HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler."}}}},{"4":{"Name":"autoscaling/HorizontalPodAutoscaler@v2beta1","ScopeType":0,"Body":35,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "HorizontalPodAutoscaler" + }, + { + "$type": "StringLiteralType", + "value": "autoscaling/v2beta1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta1HorizontalPodAutoscalerSpec", + "properties": { + "maxReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas." + }, + "metrics": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond." + }, + "minReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available." + }, + "scaleTargetRef": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta1MetricSpec", + "properties": { + "external": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one \"target\" type should be set." + }, + "object": { + "type": { + "$ref": "#/15" + }, + "flags": 0, + "description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object)." + }, + "pods": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value." + }, + "resource": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type is the type of metric source. It should be one of \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta1ExternalMetricSource", + "properties": { + "metricName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "metricName is the name of the metric in question." + }, + "metricSelector": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "targetAverageValue": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + }, + "targetValue": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelector", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." + }, + "matchLabels": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/11" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta1ObjectMetricSource", + "properties": { + "averageValue": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + }, + "metricName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "metricName is the name of the metric in question." + }, + "selector": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "target": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource." + }, + "targetValue": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta1CrossVersionObjectReference", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "API version of the referent" + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\"" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta1PodsMetricSource", + "properties": { + "metricName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "metricName is the name of the metric in question" + }, + "selector": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "targetAverageValue": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta1ResourceMetricSource", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name is the name of the resource in question." + }, + "targetAverageUtilization": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "targetAverageValue": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/8" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta1HorizontalPodAutoscalerStatus", + "properties": { + "conditions": { + "type": { + "$ref": "#/22" + }, + "flags": 1, + "description": "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met." + }, + "currentMetrics": { + "type": { + "$ref": "#/28" + }, + "flags": 0, + "description": "currentMetrics is the last read state of the metrics used by this autoscaler." + }, + "currentReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler." + }, + "desiredReplicas": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler." + }, + "lastScaleTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "observedGeneration": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "observedGeneration is the most recent generation observed by this autoscaler." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta1HorizontalPodAutoscalerCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "message is a human-readable explanation containing details about the transition" + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "reason is the reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "status is the status of the condition (True, False, Unknown)" + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type describes the current condition" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/21" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta1MetricStatus", + "properties": { + "external": { + "type": { + "$ref": "#/24" + }, + "flags": 0, + "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object." + }, + "object": { + "type": { + "$ref": "#/25" + }, + "flags": 0, + "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object)." + }, + "pods": { + "type": { + "$ref": "#/26" + }, + "flags": 0, + "description": "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second)." + }, + "resource": { + "type": { + "$ref": "#/27" + }, + "flags": 0, + "description": "ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type is the type of metric source. It will be one of \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta1ExternalMetricStatus", + "properties": { + "currentAverageValue": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + }, + "currentValue": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + }, + "metricName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "metricName is the name of a metric used for autoscaling in metric system." + }, + "metricSelector": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta1ObjectMetricStatus", + "properties": { + "averageValue": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + }, + "currentValue": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + }, + "metricName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "metricName is the name of the metric in question." + }, + "selector": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "target": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta1PodsMetricStatus", + "properties": { + "currentAverageValue": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + }, + "metricName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "metricName is the name of the metric in question" + }, + "selector": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta1ResourceMetricStatus", + "properties": { + "currentAverageUtilization": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "currentAverageValue": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name is the name of the resource in question." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/23" + } + }, + { + "$type": "ObjectType", + "name": "autoscaling/HorizontalPodAutoscaler", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler." + }, + "status": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler." + } + } + }, + { + "$type": "ResourceType", + "name": "autoscaling/HorizontalPodAutoscaler@v2beta1", + "scopeType": 0, + "body": { + "$ref": "#/29" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/autoscaling/v2beta2/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/autoscaling/v2beta2/types.json index bbeb1102..82f020c3 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/autoscaling/v2beta2/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/autoscaling/v2beta2/types.json @@ -1 +1,775 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"HorizontalPodAutoscaler"}},{"6":{"Value":"autoscaling/v2beta2"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2HorizontalPodAutoscalerSpec","Properties":{"behavior":{"Type":14,"Flags":0,"Description":"HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively)."},"maxReplicas":{"Type":3,"Flags":1,"Description":"maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas."},"metrics":{"Type":31,"Flags":0,"Description":"metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization."},"minReplicas":{"Type":3,"Flags":0,"Description":"minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available."},"scaleTargetRef":{"Type":28,"Flags":1,"Description":"CrossVersionObjectReference contains enough information to let you identify the referred resource."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2HorizontalPodAutoscalerBehavior","Properties":{"scaleDown":{"Type":15,"Flags":0,"Description":"HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen."},"scaleUp":{"Type":15,"Flags":0,"Description":"HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2HPAScalingRules","Properties":{"policies":{"Type":17,"Flags":0,"Description":"policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid"},"selectPolicy":{"Type":4,"Flags":0,"Description":"selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used."},"stabilizationWindowSeconds":{"Type":3,"Flags":0,"Description":"StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long)."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2HPAScalingPolicy","Properties":{"periodSeconds":{"Type":3,"Flags":1,"Description":"PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min)."},"type":{"Type":4,"Flags":1,"Description":"Type is used to specify the scaling policy."},"value":{"Type":3,"Flags":1,"Description":"Value contains the amount of change which is permitted by the policy. It must be greater than zero"}}}},{"3":{"ItemType":16}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2MetricSpec","Properties":{"external":{"Type":19,"Flags":0,"Description":"ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."},"object":{"Type":27,"Flags":0,"Description":"ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object)."},"pods":{"Type":29,"Flags":0,"Description":"PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."},"resource":{"Type":30,"Flags":0,"Description":"ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set."},"type":{"Type":4,"Flags":1,"Description":"type is the type of metric source. It should be one of \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2ExternalMetricSource","Properties":{"metric":{"Type":20,"Flags":1,"Description":"MetricIdentifier defines the name and optionally selector for a metric"},"target":{"Type":26,"Flags":1,"Description":"MetricTarget defines the target value, average value, or average utilization of a specific metric"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2MetricIdentifier","Properties":{"name":{"Type":4,"Flags":1,"Description":"name is the name of the given metric"},"selector":{"Type":21,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelector","Properties":{"matchExpressions":{"Type":24,"Flags":0,"Description":"matchExpressions is a list of label selector requirements. The requirements are ANDed."},"matchLabels":{"Type":25,"Flags":0,"Description":"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."},"values":{"Type":23,"Flags":0,"Description":"values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":22}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2MetricTarget","Properties":{"averageUtilization":{"Type":3,"Flags":0,"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"},"averageValue":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."},"type":{"Type":4,"Flags":1,"Description":"type represents whether the metric type is Utilization, Value, or AverageValue"},"value":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2ObjectMetricSource","Properties":{"describedObject":{"Type":28,"Flags":1,"Description":"CrossVersionObjectReference contains enough information to let you identify the referred resource."},"metric":{"Type":20,"Flags":1,"Description":"MetricIdentifier defines the name and optionally selector for a metric"},"target":{"Type":26,"Flags":1,"Description":"MetricTarget defines the target value, average value, or average utilization of a specific metric"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2CrossVersionObjectReference","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"API version of the referent"},"kind":{"Type":4,"Flags":1,"Description":"Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\""},"name":{"Type":4,"Flags":1,"Description":"Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2PodsMetricSource","Properties":{"metric":{"Type":20,"Flags":1,"Description":"MetricIdentifier defines the name and optionally selector for a metric"},"target":{"Type":26,"Flags":1,"Description":"MetricTarget defines the target value, average value, or average utilization of a specific metric"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2ResourceMetricSource","Properties":{"name":{"Type":4,"Flags":1,"Description":"name is the name of the resource in question."},"target":{"Type":26,"Flags":1,"Description":"MetricTarget defines the target value, average value, or average utilization of a specific metric"}}}},{"3":{"ItemType":18}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2HorizontalPodAutoscalerStatus","Properties":{"conditions":{"Type":34,"Flags":1,"Description":"conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met."},"currentMetrics":{"Type":41,"Flags":0,"Description":"currentMetrics is the last read state of the metrics used by this autoscaler."},"currentReplicas":{"Type":3,"Flags":1,"Description":"currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler."},"desiredReplicas":{"Type":3,"Flags":1,"Description":"desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler."},"lastScaleTime":{"Type":4,"Flags":0,"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."},"observedGeneration":{"Type":3,"Flags":0,"Description":"observedGeneration is the most recent generation observed by this autoscaler."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2HorizontalPodAutoscalerCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"message is a human-readable explanation containing details about the transition"},"reason":{"Type":4,"Flags":0,"Description":"reason is the reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"status is the status of the condition (True, False, Unknown)"},"type":{"Type":4,"Flags":1,"Description":"type describes the current condition"}}}},{"3":{"ItemType":33}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2MetricStatus","Properties":{"external":{"Type":36,"Flags":0,"Description":"ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object."},"object":{"Type":38,"Flags":0,"Description":"ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object)."},"pods":{"Type":39,"Flags":0,"Description":"PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second)."},"resource":{"Type":40,"Flags":0,"Description":"ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source."},"type":{"Type":4,"Flags":1,"Description":"type is the type of metric source. It will be one of \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2ExternalMetricStatus","Properties":{"current":{"Type":37,"Flags":1,"Description":"MetricValueStatus holds the current value for a metric"},"metric":{"Type":20,"Flags":1,"Description":"MetricIdentifier defines the name and optionally selector for a metric"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2MetricValueStatus","Properties":{"averageUtilization":{"Type":3,"Flags":0,"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."},"averageValue":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."},"value":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2ObjectMetricStatus","Properties":{"current":{"Type":37,"Flags":1,"Description":"MetricValueStatus holds the current value for a metric"},"describedObject":{"Type":28,"Flags":1,"Description":"CrossVersionObjectReference contains enough information to let you identify the referred resource."},"metric":{"Type":20,"Flags":1,"Description":"MetricIdentifier defines the name and optionally selector for a metric"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2PodsMetricStatus","Properties":{"current":{"Type":37,"Flags":1,"Description":"MetricValueStatus holds the current value for a metric"},"metric":{"Type":20,"Flags":1,"Description":"MetricIdentifier defines the name and optionally selector for a metric"}}}},{"2":{"Name":"IoK8SApiAutoscalingV2Beta2ResourceMetricStatus","Properties":{"current":{"Type":37,"Flags":1,"Description":"MetricValueStatus holds the current value for a metric"},"name":{"Type":4,"Flags":1,"Description":"Name is the name of the resource in question."}}}},{"3":{"ItemType":35}},{"2":{"Name":"autoscaling/HorizontalPodAutoscaler","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":0,"Description":"HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler."},"status":{"Type":32,"Flags":0,"Description":"HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler."}}}},{"4":{"Name":"autoscaling/HorizontalPodAutoscaler@v2beta2","ScopeType":0,"Body":42,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "HorizontalPodAutoscaler" + }, + { + "$type": "StringLiteralType", + "value": "autoscaling/v2beta2" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2HorizontalPodAutoscalerSpec", + "properties": { + "behavior": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively)." + }, + "maxReplicas": { + "type": { + "$ref": "#/10" + }, + "flags": 1, + "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas." + }, + "metrics": { + "type": { + "$ref": "#/25" + }, + "flags": 0, + "description": "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization." + }, + "minReplicas": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available." + }, + "scaleTargetRef": { + "type": { + "$ref": "#/22" + }, + "flags": 1, + "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2HorizontalPodAutoscalerBehavior", + "properties": { + "scaleDown": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen." + }, + "scaleUp": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2HPAScalingRules", + "properties": { + "policies": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid" + }, + "selectPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used." + }, + "stabilizationWindowSeconds": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long)." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2HPAScalingPolicy", + "properties": { + "periodSeconds": { + "type": { + "$ref": "#/10" + }, + "flags": 1, + "description": "PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min)." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type is used to specify the scaling policy." + }, + "value": { + "type": { + "$ref": "#/10" + }, + "flags": 1, + "description": "Value contains the amount of change which is permitted by the policy. It must be greater than zero" + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/9" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2MetricSpec", + "properties": { + "external": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." + }, + "object": { + "type": { + "$ref": "#/21" + }, + "flags": 0, + "description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object)." + }, + "pods": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value." + }, + "resource": { + "type": { + "$ref": "#/24" + }, + "flags": 0, + "description": "ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type is the type of metric source. It should be one of \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2ExternalMetricSource", + "properties": { + "metric": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "MetricIdentifier defines the name and optionally selector for a metric" + }, + "target": { + "type": { + "$ref": "#/20" + }, + "flags": 1, + "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2MetricIdentifier", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name is the name of the given metric" + }, + "selector": { + "type": { + "$ref": "#/15" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelector", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." + }, + "matchLabels": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/16" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2MetricTarget", + "properties": { + "averageUtilization": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "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" + }, + "averageValue": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type represents whether the metric type is Utilization, Value, or AverageValue" + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2ObjectMetricSource", + "properties": { + "describedObject": { + "type": { + "$ref": "#/22" + }, + "flags": 1, + "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource." + }, + "metric": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "MetricIdentifier defines the name and optionally selector for a metric" + }, + "target": { + "type": { + "$ref": "#/20" + }, + "flags": 1, + "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2CrossVersionObjectReference", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "API version of the referent" + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\"" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2PodsMetricSource", + "properties": { + "metric": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "MetricIdentifier defines the name and optionally selector for a metric" + }, + "target": { + "type": { + "$ref": "#/20" + }, + "flags": 1, + "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2ResourceMetricSource", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name is the name of the resource in question." + }, + "target": { + "type": { + "$ref": "#/20" + }, + "flags": 1, + "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/12" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2HorizontalPodAutoscalerStatus", + "properties": { + "conditions": { + "type": { + "$ref": "#/28" + }, + "flags": 1, + "description": "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met." + }, + "currentMetrics": { + "type": { + "$ref": "#/35" + }, + "flags": 0, + "description": "currentMetrics is the last read state of the metrics used by this autoscaler." + }, + "currentReplicas": { + "type": { + "$ref": "#/10" + }, + "flags": 1, + "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler." + }, + "desiredReplicas": { + "type": { + "$ref": "#/10" + }, + "flags": 1, + "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler." + }, + "lastScaleTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "observedGeneration": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "observedGeneration is the most recent generation observed by this autoscaler." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2HorizontalPodAutoscalerCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "message is a human-readable explanation containing details about the transition" + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "reason is the reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "status is the status of the condition (True, False, Unknown)" + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type describes the current condition" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/27" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2MetricStatus", + "properties": { + "external": { + "type": { + "$ref": "#/30" + }, + "flags": 0, + "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object." + }, + "object": { + "type": { + "$ref": "#/32" + }, + "flags": 0, + "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object)." + }, + "pods": { + "type": { + "$ref": "#/33" + }, + "flags": 0, + "description": "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second)." + }, + "resource": { + "type": { + "$ref": "#/34" + }, + "flags": 0, + "description": "ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type is the type of metric source. It will be one of \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2ExternalMetricStatus", + "properties": { + "current": { + "type": { + "$ref": "#/31" + }, + "flags": 1, + "description": "MetricValueStatus holds the current value for a metric" + }, + "metric": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "MetricIdentifier defines the name and optionally selector for a metric" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2MetricValueStatus", + "properties": { + "averageUtilization": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "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." + }, + "averageValue": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2ObjectMetricStatus", + "properties": { + "current": { + "type": { + "$ref": "#/31" + }, + "flags": 1, + "description": "MetricValueStatus holds the current value for a metric" + }, + "describedObject": { + "type": { + "$ref": "#/22" + }, + "flags": 1, + "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource." + }, + "metric": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "MetricIdentifier defines the name and optionally selector for a metric" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2PodsMetricStatus", + "properties": { + "current": { + "type": { + "$ref": "#/31" + }, + "flags": 1, + "description": "MetricValueStatus holds the current value for a metric" + }, + "metric": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "MetricIdentifier defines the name and optionally selector for a metric" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiAutoscalingV2Beta2ResourceMetricStatus", + "properties": { + "current": { + "type": { + "$ref": "#/31" + }, + "flags": 1, + "description": "MetricValueStatus holds the current value for a metric" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the name of the resource in question." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/29" + } + }, + { + "$type": "ObjectType", + "name": "autoscaling/HorizontalPodAutoscaler", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler." + }, + "status": { + "type": { + "$ref": "#/26" + }, + "flags": 0, + "description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler." + } + } + }, + { + "$type": "ResourceType", + "name": "autoscaling/HorizontalPodAutoscaler@v2beta2", + "scopeType": 0, + "body": { + "$ref": "#/36" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/batch/v1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/batch/v1/types.json index 7a33b368..d11bf5f9 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/batch/v1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/batch/v1/types.json @@ -1 +1,4340 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"Job"}},{"6":{"Value":"batch/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiBatchV1JobSpec","Properties":{"activeDeadlineSeconds":{"Type":3,"Flags":0,"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"},"backoffLimit":{"Type":3,"Flags":0,"Description":"Specifies the number of retries before marking this job failed. Defaults to 6"},"completions":{"Type":3,"Flags":0,"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/"},"manualSelector":{"Type":2,"Flags":0,"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"},"parallelism":{"Type":3,"Flags":0,"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/"},"selector":{"Type":14,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"template":{"Type":19,"Flags":1,"Description":"PodTemplateSpec describes the data a pod should have when created from a template"},"ttlSecondsAfterFinished":{"Type":3,"Flags":0,"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."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelector","Properties":{"matchExpressions":{"Type":17,"Flags":0,"Description":"matchExpressions is a list of label selector requirements. The requirements are ANDed."},"matchLabels":{"Type":18,"Flags":0,"Description":"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."},"values":{"Type":16,"Flags":0,"Description":"values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":15}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PodTemplateSpec","Properties":{"metadata":{"Type":20,"Flags":0,"Description":"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."},"spec":{"Type":28,"Flags":0,"Description":"PodSpec is a description of a pod."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ObjectMeta","Properties":{"annotations":{"Type":21,"Flags":0,"Description":"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"},"clusterName":{"Type":4,"Flags":0,"Description":"The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."},"creationTimestamp":{"Type":4,"Flags":0,"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."},"deletionGracePeriodSeconds":{"Type":3,"Flags":0,"Description":"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."},"deletionTimestamp":{"Type":4,"Flags":0,"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."},"finalizers":{"Type":22,"Flags":0,"Description":"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."},"generateName":{"Type":4,"Flags":0,"Description":"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency"},"generation":{"Type":3,"Flags":0,"Description":"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."},"labels":{"Type":23,"Flags":0,"Description":"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"},"managedFields":{"Type":25,"Flags":0,"Description":"ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object."},"name":{"Type":4,"Flags":0,"Description":"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"},"namespace":{"Type":4,"Flags":0,"Description":"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces"},"ownerReferences":{"Type":27,"Flags":0,"Description":"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."},"resourceVersion":{"Type":4,"Flags":0,"Description":"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"},"selfLink":{"Type":4,"Flags":0,"Description":"SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release."},"uid":{"Type":4,"Flags":0,"Description":"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ObjectMetaAnnotations","Properties":{},"AdditionalProperties":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ObjectMetaLabels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ManagedFieldsEntry","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted."},"fieldsType":{"Type":4,"Flags":0,"Description":"FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\""},"fieldsV1":{"Type":0,"Flags":0,"Description":"Any object"},"manager":{"Type":4,"Flags":0,"Description":"Manager is an identifier of the workflow managing these fields."},"operation":{"Type":4,"Flags":0,"Description":"Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'."},"time":{"Type":4,"Flags":0,"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."}}}},{"3":{"ItemType":24}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1OwnerReference","Properties":{"apiVersion":{"Type":4,"Flags":1,"Description":"API version of the referent."},"blockOwnerDeletion":{"Type":2,"Flags":0,"Description":"If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned."},"controller":{"Type":2,"Flags":0,"Description":"If true, this reference points to the managing controller."},"kind":{"Type":4,"Flags":1,"Description":"Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"},"name":{"Type":4,"Flags":1,"Description":"Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names"},"uid":{"Type":4,"Flags":1,"Description":"UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"}}}},{"3":{"ItemType":26}},{"2":{"Name":"IoK8SApiCoreV1PodSpec","Properties":{"activeDeadlineSeconds":{"Type":3,"Flags":0,"Description":"Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer."},"affinity":{"Type":29,"Flags":0,"Description":"Affinity is a group of affinity scheduling rules."},"automountServiceAccountToken":{"Type":2,"Flags":0,"Description":"AutomountServiceAccountToken indicates whether a service account token should be automatically mounted."},"containers":{"Type":88,"Flags":1,"Description":"List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated."},"dnsConfig":{"Type":89,"Flags":0,"Description":"PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy."},"dnsPolicy":{"Type":4,"Flags":0,"Description":"Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'."},"enableServiceLinks":{"Type":2,"Flags":0,"Description":"EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true."},"ephemeralContainers":{"Type":102,"Flags":0,"Description":"List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature."},"hostAliases":{"Type":105,"Flags":0,"Description":"HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods."},"hostIPC":{"Type":2,"Flags":0,"Description":"Use the host's ipc namespace. Optional: Default to false."},"hostNetwork":{"Type":2,"Flags":0,"Description":"Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false."},"hostPID":{"Type":2,"Flags":0,"Description":"Use the host's pid namespace. Optional: Default to false."},"hostname":{"Type":4,"Flags":0,"Description":"Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value."},"imagePullSecrets":{"Type":107,"Flags":0,"Description":"ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod"},"initContainers":{"Type":108,"Flags":0,"Description":"List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/"},"nodeName":{"Type":4,"Flags":0,"Description":"NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements."},"nodeSelector":{"Type":109,"Flags":0,"Description":"NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/"},"overhead":{"Type":110,"Flags":0,"Description":"Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature."},"preemptionPolicy":{"Type":4,"Flags":0,"Description":"PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."},"priority":{"Type":3,"Flags":0,"Description":"The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority."},"priorityClassName":{"Type":4,"Flags":0,"Description":"If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default."},"readinessGates":{"Type":112,"Flags":0,"Description":"If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md"},"restartPolicy":{"Type":4,"Flags":0,"Description":"Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy"},"runtimeClassName":{"Type":4,"Flags":0,"Description":"RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14."},"schedulerName":{"Type":4,"Flags":0,"Description":"If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler."},"securityContext":{"Type":113,"Flags":0,"Description":"PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext."},"serviceAccount":{"Type":4,"Flags":0,"Description":"DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead."},"serviceAccountName":{"Type":4,"Flags":0,"Description":"ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/"},"setHostnameAsFQDN":{"Type":2,"Flags":0,"Description":"If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false."},"shareProcessNamespace":{"Type":2,"Flags":0,"Description":"Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false."},"subdomain":{"Type":4,"Flags":0,"Description":"If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all."},"terminationGracePeriodSeconds":{"Type":3,"Flags":0,"Description":"Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds."},"tolerations":{"Type":118,"Flags":0,"Description":"If specified, the pod's tolerations."},"topologySpreadConstraints":{"Type":120,"Flags":0,"Description":"TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed."},"volumes":{"Type":176,"Flags":0,"Description":"List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes"}}}},{"2":{"Name":"IoK8SApiCoreV1Affinity","Properties":{"nodeAffinity":{"Type":30,"Flags":0,"Description":"Node affinity is a group of node affinity scheduling rules."},"podAffinity":{"Type":40,"Flags":0,"Description":"Pod affinity is a group of inter pod affinity scheduling rules."},"podAntiAffinity":{"Type":46,"Flags":0,"Description":"Pod anti affinity is a group of inter pod anti affinity scheduling rules."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeAffinity","Properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"Type":37,"Flags":0,"Description":"The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred."},"requiredDuringSchedulingIgnoredDuringExecution":{"Type":38,"Flags":0,"Description":"A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms."}}}},{"2":{"Name":"IoK8SApiCoreV1PreferredSchedulingTerm","Properties":{"preference":{"Type":32,"Flags":1,"Description":"A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm."},"weight":{"Type":3,"Flags":1,"Description":"Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelectorTerm","Properties":{"matchExpressions":{"Type":35,"Flags":0,"Description":"A list of node selector requirements by node's labels."},"matchFields":{"Type":36,"Flags":0,"Description":"A list of node selector requirements by node's fields."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"The label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."},"values":{"Type":34,"Flags":0,"Description":"An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":33}},{"3":{"ItemType":33}},{"3":{"ItemType":31}},{"2":{"Name":"IoK8SApiCoreV1NodeSelector","Properties":{"nodeSelectorTerms":{"Type":39,"Flags":1,"Description":"Required. A list of node selector terms. The terms are ORed."}}}},{"3":{"ItemType":32}},{"2":{"Name":"IoK8SApiCoreV1PodAffinity","Properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"Type":44,"Flags":0,"Description":"The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred."},"requiredDuringSchedulingIgnoredDuringExecution":{"Type":45,"Flags":0,"Description":"If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."}}}},{"2":{"Name":"IoK8SApiCoreV1WeightedPodAffinityTerm","Properties":{"podAffinityTerm":{"Type":42,"Flags":1,"Description":"Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running"},"weight":{"Type":3,"Flags":1,"Description":"weight associated with matching the corresponding podAffinityTerm, in the range 1-100."}}}},{"2":{"Name":"IoK8SApiCoreV1PodAffinityTerm","Properties":{"labelSelector":{"Type":14,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"namespaces":{"Type":43,"Flags":0,"Description":"namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means \"this pod's namespace\""},"topologyKey":{"Type":4,"Flags":1,"Description":"This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":41}},{"3":{"ItemType":42}},{"2":{"Name":"IoK8SApiCoreV1PodAntiAffinity","Properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"Type":47,"Flags":0,"Description":"The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred."},"requiredDuringSchedulingIgnoredDuringExecution":{"Type":48,"Flags":0,"Description":"If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."}}}},{"3":{"ItemType":41}},{"3":{"ItemType":42}},{"2":{"Name":"IoK8SApiCoreV1Container","Properties":{"args":{"Type":50,"Flags":0,"Description":"Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"command":{"Type":51,"Flags":0,"Description":"Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"env":{"Type":58,"Flags":0,"Description":"List of environment variables to set in the container. Cannot be updated."},"envFrom":{"Type":62,"Flags":0,"Description":"List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."},"image":{"Type":4,"Flags":0,"Description":"Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets."},"imagePullPolicy":{"Type":4,"Flags":0,"Description":"Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"},"lifecycle":{"Type":63,"Flags":0,"Description":"Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted."},"livenessProbe":{"Type":71,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"name":{"Type":4,"Flags":1,"Description":"Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated."},"ports":{"Type":73,"Flags":0,"Description":"List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated."},"readinessProbe":{"Type":71,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"resources":{"Type":74,"Flags":0,"Description":"ResourceRequirements describes the compute resource requirements."},"securityContext":{"Type":77,"Flags":0,"Description":"SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence."},"startupProbe":{"Type":71,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"stdin":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."},"stdinOnce":{"Type":2,"Flags":0,"Description":"Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"},"terminationMessagePath":{"Type":4,"Flags":0,"Description":"Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."},"terminationMessagePolicy":{"Type":4,"Flags":0,"Description":"Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."},"tty":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."},"volumeDevices":{"Type":85,"Flags":0,"Description":"volumeDevices is the list of block devices to be used by the container."},"volumeMounts":{"Type":87,"Flags":0,"Description":"Pod volumes to mount into the container's filesystem. Cannot be updated."},"workingDir":{"Type":4,"Flags":0,"Description":"Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1EnvVar","Properties":{"name":{"Type":4,"Flags":1,"Description":"Name of the environment variable. Must be a C_IDENTIFIER."},"value":{"Type":4,"Flags":0,"Description":"Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\"."},"valueFrom":{"Type":53,"Flags":0,"Description":"EnvVarSource represents a source for the value of an EnvVar."}}}},{"2":{"Name":"IoK8SApiCoreV1EnvVarSource","Properties":{"configMapKeyRef":{"Type":54,"Flags":0,"Description":"Selects a key from a ConfigMap."},"fieldRef":{"Type":55,"Flags":0,"Description":"ObjectFieldSelector selects an APIVersioned field of an object."},"resourceFieldRef":{"Type":56,"Flags":0,"Description":"ResourceFieldSelector represents container resources (cpu, memory) and their output format"},"secretKeyRef":{"Type":57,"Flags":0,"Description":"SecretKeySelector selects a key of a Secret."}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapKeySelector","Properties":{"key":{"Type":4,"Flags":1,"Description":"The key to select."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the ConfigMap or its key must be defined"}}}},{"2":{"Name":"IoK8SApiCoreV1ObjectFieldSelector","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"Version of the schema the FieldPath is written in terms of, defaults to \"v1\"."},"fieldPath":{"Type":4,"Flags":1,"Description":"Path of the field to select in the specified API version."}}}},{"2":{"Name":"IoK8SApiCoreV1ResourceFieldSelector","Properties":{"containerName":{"Type":4,"Flags":0,"Description":"Container name: required for volumes, optional for env vars"},"divisor":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."},"resource":{"Type":4,"Flags":1,"Description":"Required: resource to select"}}}},{"2":{"Name":"IoK8SApiCoreV1SecretKeySelector","Properties":{"key":{"Type":4,"Flags":1,"Description":"The key of the secret to select from. Must be a valid secret key."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the Secret or its key must be defined"}}}},{"3":{"ItemType":52}},{"2":{"Name":"IoK8SApiCoreV1EnvFromSource","Properties":{"configMapRef":{"Type":60,"Flags":0,"Description":"ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables."},"prefix":{"Type":4,"Flags":0,"Description":"An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER."},"secretRef":{"Type":61,"Flags":0,"Description":"SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables."}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapEnvSource","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the ConfigMap must be defined"}}}},{"2":{"Name":"IoK8SApiCoreV1SecretEnvSource","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the Secret must be defined"}}}},{"3":{"ItemType":59}},{"2":{"Name":"IoK8SApiCoreV1Lifecycle","Properties":{"postStart":{"Type":64,"Flags":0,"Description":"Handler defines a specific action that should be taken"},"preStop":{"Type":64,"Flags":0,"Description":"Handler defines a specific action that should be taken"}}}},{"2":{"Name":"IoK8SApiCoreV1Handler","Properties":{"exec":{"Type":65,"Flags":0,"Description":"ExecAction describes a \"run in container\" action."},"httpGet":{"Type":67,"Flags":0,"Description":"HTTPGetAction describes an action based on HTTP Get requests."},"tcpSocket":{"Type":70,"Flags":0,"Description":"TCPSocketAction describes an action based on opening a socket"}}}},{"2":{"Name":"IoK8SApiCoreV1ExecAction","Properties":{"command":{"Type":66,"Flags":0,"Description":"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1HttpGetAction","Properties":{"host":{"Type":4,"Flags":0,"Description":"Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead."},"httpHeaders":{"Type":69,"Flags":0,"Description":"Custom headers to set in the request. HTTP allows repeated headers."},"path":{"Type":4,"Flags":0,"Description":"Path to access on the HTTP server."},"port":{"Type":4,"Flags":1,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."},"scheme":{"Type":4,"Flags":0,"Description":"Scheme to use for connecting to the host. Defaults to HTTP."}}}},{"2":{"Name":"IoK8SApiCoreV1HttpHeader","Properties":{"name":{"Type":4,"Flags":1,"Description":"The header field name"},"value":{"Type":4,"Flags":1,"Description":"The header field value"}}}},{"3":{"ItemType":68}},{"2":{"Name":"IoK8SApiCoreV1TCPSocketAction","Properties":{"host":{"Type":4,"Flags":0,"Description":"Optional: Host name to connect to, defaults to the pod IP."},"port":{"Type":4,"Flags":1,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."}}}},{"2":{"Name":"IoK8SApiCoreV1Probe","Properties":{"exec":{"Type":65,"Flags":0,"Description":"ExecAction describes a \"run in container\" action."},"failureThreshold":{"Type":3,"Flags":0,"Description":"Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1."},"httpGet":{"Type":67,"Flags":0,"Description":"HTTPGetAction describes an action based on HTTP Get requests."},"initialDelaySeconds":{"Type":3,"Flags":0,"Description":"Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"},"periodSeconds":{"Type":3,"Flags":0,"Description":"How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."},"successThreshold":{"Type":3,"Flags":0,"Description":"Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1."},"tcpSocket":{"Type":70,"Flags":0,"Description":"TCPSocketAction describes an action based on opening a socket"},"timeoutSeconds":{"Type":3,"Flags":0,"Description":"Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}}}},{"2":{"Name":"IoK8SApiCoreV1ContainerPort","Properties":{"containerPort":{"Type":3,"Flags":1,"Description":"Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536."},"hostIP":{"Type":4,"Flags":0,"Description":"What host IP to bind the external port to."},"hostPort":{"Type":3,"Flags":0,"Description":"Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this."},"name":{"Type":4,"Flags":0,"Description":"If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services."},"protocol":{"Type":4,"Flags":0,"Description":"Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\"."}}}},{"3":{"ItemType":72}},{"2":{"Name":"IoK8SApiCoreV1ResourceRequirements","Properties":{"limits":{"Type":75,"Flags":0,"Description":"Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"},"requests":{"Type":76,"Flags":0,"Description":"Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"}}}},{"2":{"Name":"IoK8SApiCoreV1ResourceRequirementsLimits","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1ResourceRequirementsRequests","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1SecurityContext","Properties":{"allowPrivilegeEscalation":{"Type":2,"Flags":0,"Description":"AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN"},"capabilities":{"Type":78,"Flags":0,"Description":"Adds and removes POSIX capabilities from running containers."},"privileged":{"Type":2,"Flags":0,"Description":"Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false."},"procMount":{"Type":4,"Flags":0,"Description":"procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled."},"readOnlyRootFilesystem":{"Type":2,"Flags":0,"Description":"Whether this container has a read-only root filesystem. Default is false."},"runAsGroup":{"Type":3,"Flags":0,"Description":"The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."},"runAsNonRoot":{"Type":2,"Flags":0,"Description":"Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."},"runAsUser":{"Type":3,"Flags":0,"Description":"The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."},"seLinuxOptions":{"Type":81,"Flags":0,"Description":"SELinuxOptions are the labels to be applied to the container"},"seccompProfile":{"Type":82,"Flags":0,"Description":"SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set."},"windowsOptions":{"Type":83,"Flags":0,"Description":"WindowsSecurityContextOptions contain Windows-specific options and credentials."}}}},{"2":{"Name":"IoK8SApiCoreV1Capabilities","Properties":{"add":{"Type":79,"Flags":0,"Description":"Added capabilities"},"drop":{"Type":80,"Flags":0,"Description":"Removed capabilities"}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1SELinuxOptions","Properties":{"level":{"Type":4,"Flags":0,"Description":"Level is SELinux level label that applies to the container."},"role":{"Type":4,"Flags":0,"Description":"Role is a SELinux role label that applies to the container."},"type":{"Type":4,"Flags":0,"Description":"Type is a SELinux type label that applies to the container."},"user":{"Type":4,"Flags":0,"Description":"User is a SELinux user label that applies to the container."}}}},{"2":{"Name":"IoK8SApiCoreV1SeccompProfile","Properties":{"localhostProfile":{"Type":4,"Flags":0,"Description":"localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is \"Localhost\"."},"type":{"Type":4,"Flags":1,"Description":"type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied."}}}},{"2":{"Name":"IoK8SApiCoreV1WindowsSecurityContextOptions","Properties":{"gmsaCredentialSpec":{"Type":4,"Flags":0,"Description":"GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field."},"gmsaCredentialSpecName":{"Type":4,"Flags":0,"Description":"GMSACredentialSpecName is the name of the GMSA credential spec to use."},"runAsUserName":{"Type":4,"Flags":0,"Description":"The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."}}}},{"2":{"Name":"IoK8SApiCoreV1VolumeDevice","Properties":{"devicePath":{"Type":4,"Flags":1,"Description":"devicePath is the path inside of the container that the device will be mapped to."},"name":{"Type":4,"Flags":1,"Description":"name must match the name of a persistentVolumeClaim in the pod"}}}},{"3":{"ItemType":84}},{"2":{"Name":"IoK8SApiCoreV1VolumeMount","Properties":{"mountPath":{"Type":4,"Flags":1,"Description":"Path within the container at which the volume should be mounted. Must not contain ':'."},"mountPropagation":{"Type":4,"Flags":0,"Description":"mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10."},"name":{"Type":4,"Flags":1,"Description":"This must match the Name of a Volume."},"readOnly":{"Type":2,"Flags":0,"Description":"Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false."},"subPath":{"Type":4,"Flags":0,"Description":"Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root)."},"subPathExpr":{"Type":4,"Flags":0,"Description":"Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive."}}}},{"3":{"ItemType":86}},{"3":{"ItemType":49}},{"2":{"Name":"IoK8SApiCoreV1PodDNSConfig","Properties":{"nameservers":{"Type":90,"Flags":0,"Description":"A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed."},"options":{"Type":92,"Flags":0,"Description":"A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy."},"searches":{"Type":93,"Flags":0,"Description":"A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1PodDNSConfigOption","Properties":{"name":{"Type":4,"Flags":0,"Description":"Required."},"value":{"Type":4,"Flags":0}}}},{"3":{"ItemType":91}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1EphemeralContainer","Properties":{"args":{"Type":95,"Flags":0,"Description":"Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"command":{"Type":96,"Flags":0,"Description":"Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"env":{"Type":97,"Flags":0,"Description":"List of environment variables to set in the container. Cannot be updated."},"envFrom":{"Type":98,"Flags":0,"Description":"List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."},"image":{"Type":4,"Flags":0,"Description":"Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images"},"imagePullPolicy":{"Type":4,"Flags":0,"Description":"Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"},"lifecycle":{"Type":63,"Flags":0,"Description":"Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted."},"livenessProbe":{"Type":71,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"name":{"Type":4,"Flags":1,"Description":"Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers."},"ports":{"Type":99,"Flags":0,"Description":"Ports are not allowed for ephemeral containers."},"readinessProbe":{"Type":71,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"resources":{"Type":74,"Flags":0,"Description":"ResourceRequirements describes the compute resource requirements."},"securityContext":{"Type":77,"Flags":0,"Description":"SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence."},"startupProbe":{"Type":71,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"stdin":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."},"stdinOnce":{"Type":2,"Flags":0,"Description":"Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"},"targetContainerName":{"Type":4,"Flags":0,"Description":"If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature."},"terminationMessagePath":{"Type":4,"Flags":0,"Description":"Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."},"terminationMessagePolicy":{"Type":4,"Flags":0,"Description":"Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."},"tty":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."},"volumeDevices":{"Type":100,"Flags":0,"Description":"volumeDevices is the list of block devices to be used by the container."},"volumeMounts":{"Type":101,"Flags":0,"Description":"Pod volumes to mount into the container's filesystem. Cannot be updated."},"workingDir":{"Type":4,"Flags":0,"Description":"Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":52}},{"3":{"ItemType":59}},{"3":{"ItemType":72}},{"3":{"ItemType":84}},{"3":{"ItemType":86}},{"3":{"ItemType":94}},{"2":{"Name":"IoK8SApiCoreV1HostAlias","Properties":{"hostnames":{"Type":104,"Flags":0,"Description":"Hostnames for the above IP address."},"ip":{"Type":4,"Flags":0,"Description":"IP address of the host file entry."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":103}},{"2":{"Name":"IoK8SApiCoreV1LocalObjectReference","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}}}},{"3":{"ItemType":106}},{"3":{"ItemType":49}},{"2":{"Name":"IoK8SApiCoreV1PodSpecNodeSelector","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PodSpecOverhead","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PodReadinessGate","Properties":{"conditionType":{"Type":4,"Flags":1,"Description":"ConditionType refers to a condition in the pod's condition list with matching type."}}}},{"3":{"ItemType":111}},{"2":{"Name":"IoK8SApiCoreV1PodSecurityContext","Properties":{"fsGroup":{"Type":3,"Flags":0,"Description":"A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume."},"fsGroupChangePolicy":{"Type":4,"Flags":0,"Description":"fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified defaults to \"Always\"."},"runAsGroup":{"Type":3,"Flags":0,"Description":"The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."},"runAsNonRoot":{"Type":2,"Flags":0,"Description":"Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."},"runAsUser":{"Type":3,"Flags":0,"Description":"The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."},"seLinuxOptions":{"Type":81,"Flags":0,"Description":"SELinuxOptions are the labels to be applied to the container"},"seccompProfile":{"Type":82,"Flags":0,"Description":"SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set."},"supplementalGroups":{"Type":114,"Flags":0,"Description":"A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container."},"sysctls":{"Type":116,"Flags":0,"Description":"Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch."},"windowsOptions":{"Type":83,"Flags":0,"Description":"WindowsSecurityContextOptions contain Windows-specific options and credentials."}}}},{"3":{"ItemType":3}},{"2":{"Name":"IoK8SApiCoreV1Sysctl","Properties":{"name":{"Type":4,"Flags":1,"Description":"Name of a property to set"},"value":{"Type":4,"Flags":1,"Description":"Value of a property to set"}}}},{"3":{"ItemType":115}},{"2":{"Name":"IoK8SApiCoreV1Toleration","Properties":{"effect":{"Type":4,"Flags":0,"Description":"Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute."},"key":{"Type":4,"Flags":0,"Description":"Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys."},"operator":{"Type":4,"Flags":0,"Description":"Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category."},"tolerationSeconds":{"Type":3,"Flags":0,"Description":"TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system."},"value":{"Type":4,"Flags":0,"Description":"Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string."}}}},{"3":{"ItemType":117}},{"2":{"Name":"IoK8SApiCoreV1TopologySpreadConstraint","Properties":{"labelSelector":{"Type":14,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"maxSkew":{"Type":3,"Flags":1,"Description":"MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed."},"topologyKey":{"Type":4,"Flags":1,"Description":"TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. It's a required field."},"whenUnsatisfiable":{"Type":4,"Flags":1,"Description":"WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assigment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field."}}}},{"3":{"ItemType":119}},{"2":{"Name":"IoK8SApiCoreV1Volume","Properties":{"awsElasticBlockStore":{"Type":122,"Flags":0,"Description":"Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling."},"azureDisk":{"Type":123,"Flags":0,"Description":"AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."},"azureFile":{"Type":124,"Flags":0,"Description":"AzureFile represents an Azure File Service mount on the host and bind mount to the pod."},"cephfs":{"Type":125,"Flags":0,"Description":"Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling."},"cinder":{"Type":127,"Flags":0,"Description":"Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling."},"configMap":{"Type":128,"Flags":0,"Description":"Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling."},"csi":{"Type":131,"Flags":0,"Description":"Represents a source location of a volume to mount, managed by an external CSI driver"},"downwardAPI":{"Type":133,"Flags":0,"Description":"DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling."},"emptyDir":{"Type":136,"Flags":0,"Description":"Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling."},"ephemeral":{"Type":137,"Flags":0,"Description":"Represents an ephemeral volume that is handled by a normal storage driver."},"fc":{"Type":142,"Flags":0,"Description":"Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling."},"flexVolume":{"Type":145,"Flags":0,"Description":"FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin."},"flocker":{"Type":147,"Flags":0,"Description":"Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling."},"gcePersistentDisk":{"Type":148,"Flags":0,"Description":"Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling."},"gitRepo":{"Type":149,"Flags":0,"Description":"Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container."},"glusterfs":{"Type":150,"Flags":0,"Description":"Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling."},"hostPath":{"Type":151,"Flags":0,"Description":"Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling."},"iscsi":{"Type":152,"Flags":0,"Description":"Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling."},"name":{"Type":4,"Flags":1,"Description":"Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"nfs":{"Type":154,"Flags":0,"Description":"Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling."},"persistentVolumeClaim":{"Type":155,"Flags":0,"Description":"PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system)."},"photonPersistentDisk":{"Type":156,"Flags":0,"Description":"Represents a Photon Controller persistent disk resource."},"portworxVolume":{"Type":157,"Flags":0,"Description":"PortworxVolumeSource represents a Portworx volume resource."},"projected":{"Type":158,"Flags":0,"Description":"Represents a projected volume source"},"quobyte":{"Type":168,"Flags":0,"Description":"Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling."},"rbd":{"Type":169,"Flags":0,"Description":"Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling."},"scaleIO":{"Type":171,"Flags":0,"Description":"ScaleIOVolumeSource represents a persistent ScaleIO volume"},"secret":{"Type":172,"Flags":0,"Description":"Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling."},"storageos":{"Type":174,"Flags":0,"Description":"Represents a StorageOS persistent volume resource."},"vsphereVolume":{"Type":175,"Flags":0,"Description":"Represents a vSphere volume resource."}}}},{"2":{"Name":"IoK8SApiCoreV1AWSElasticBlockStoreVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"},"partition":{"Type":3,"Flags":0,"Description":"The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty)."},"readOnly":{"Type":2,"Flags":0,"Description":"Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"},"volumeID":{"Type":4,"Flags":1,"Description":"Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"}}}},{"2":{"Name":"IoK8SApiCoreV1AzureDiskVolumeSource","Properties":{"cachingMode":{"Type":4,"Flags":0,"Description":"Host Caching mode: None, Read Only, Read Write."},"diskName":{"Type":4,"Flags":1,"Description":"The Name of the data disk in the blob storage"},"diskURI":{"Type":4,"Flags":1,"Description":"The URI the data disk in the blob storage"},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"kind":{"Type":4,"Flags":0,"Description":"Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared"},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."}}}},{"2":{"Name":"IoK8SApiCoreV1AzureFileVolumeSource","Properties":{"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretName":{"Type":4,"Flags":1,"Description":"the name of secret that contains Azure Storage Account Name and Key"},"shareName":{"Type":4,"Flags":1,"Description":"Share Name"}}}},{"2":{"Name":"IoK8SApiCoreV1CephFSVolumeSource","Properties":{"monitors":{"Type":126,"Flags":1,"Description":"Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"path":{"Type":4,"Flags":0,"Description":"Optional: Used as the mounted root, rather than the full Ceph tree, default is /"},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"secretFile":{"Type":4,"Flags":0,"Description":"Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"secretRef":{"Type":106,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"user":{"Type":4,"Flags":0,"Description":"Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1CinderVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"},"secretRef":{"Type":106,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"volumeID":{"Type":4,"Flags":1,"Description":"volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"items":{"Type":130,"Flags":0,"Description":"If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the ConfigMap or its keys must be defined"}}}},{"2":{"Name":"IoK8SApiCoreV1KeyToPath","Properties":{"key":{"Type":4,"Flags":1,"Description":"The key to project."},"mode":{"Type":3,"Flags":0,"Description":"Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"path":{"Type":4,"Flags":1,"Description":"The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'."}}}},{"3":{"ItemType":129}},{"2":{"Name":"IoK8SApiCoreV1CSIVolumeSource","Properties":{"driver":{"Type":4,"Flags":1,"Description":"Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster."},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply."},"nodePublishSecretRef":{"Type":106,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"readOnly":{"Type":2,"Flags":0,"Description":"Specifies a read-only configuration for the volume. Defaults to false (read/write)."},"volumeAttributes":{"Type":132,"Flags":0,"Description":"VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values."}}}},{"2":{"Name":"IoK8SApiCoreV1CSIVolumeSourceVolumeAttributes","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1DownwardAPIVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"items":{"Type":135,"Flags":0,"Description":"Items is a list of downward API volume file"}}}},{"2":{"Name":"IoK8SApiCoreV1DownwardAPIVolumeFile","Properties":{"fieldRef":{"Type":55,"Flags":0,"Description":"ObjectFieldSelector selects an APIVersioned field of an object."},"mode":{"Type":3,"Flags":0,"Description":"Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"path":{"Type":4,"Flags":1,"Description":"Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'"},"resourceFieldRef":{"Type":56,"Flags":0,"Description":"ResourceFieldSelector represents container resources (cpu, memory) and their output format"}}}},{"3":{"ItemType":134}},{"2":{"Name":"IoK8SApiCoreV1EmptyDirVolumeSource","Properties":{"medium":{"Type":4,"Flags":0,"Description":"What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir"},"sizeLimit":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."}}}},{"2":{"Name":"IoK8SApiCoreV1EphemeralVolumeSource","Properties":{"readOnly":{"Type":2,"Flags":0,"Description":"Specifies a read-only configuration for the volume. Defaults to false (read/write)."},"volumeClaimTemplate":{"Type":138,"Flags":0,"Description":"PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource."}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimTemplate","Properties":{"metadata":{"Type":20,"Flags":0,"Description":"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."},"spec":{"Type":139,"Flags":1,"Description":"PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes"}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimSpec","Properties":{"accessModes":{"Type":140,"Flags":0,"Description":"AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"},"dataSource":{"Type":141,"Flags":0,"Description":"TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace."},"resources":{"Type":74,"Flags":0,"Description":"ResourceRequirements describes the compute resource requirements."},"selector":{"Type":14,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"storageClassName":{"Type":4,"Flags":0,"Description":"Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1"},"volumeMode":{"Type":4,"Flags":0,"Description":"volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec."},"volumeName":{"Type":4,"Flags":0,"Description":"VolumeName is the binding reference to the PersistentVolume backing this claim."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1TypedLocalObjectReference","Properties":{"apiGroup":{"Type":4,"Flags":0,"Description":"APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required."},"kind":{"Type":4,"Flags":1,"Description":"Kind is the type of resource being referenced"},"name":{"Type":4,"Flags":1,"Description":"Name is the name of resource being referenced"}}}},{"2":{"Name":"IoK8SApiCoreV1FCVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"lun":{"Type":3,"Flags":0,"Description":"Optional: FC target lun number"},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"targetWWNs":{"Type":143,"Flags":0,"Description":"Optional: FC target worldwide names (WWNs)"},"wwids":{"Type":144,"Flags":0,"Description":"Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1FlexVolumeSource","Properties":{"driver":{"Type":4,"Flags":1,"Description":"Driver is the name of the driver to use for this volume."},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script."},"options":{"Type":146,"Flags":0,"Description":"Optional: Extra command options if any."},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":106,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."}}}},{"2":{"Name":"IoK8SApiCoreV1FlexVolumeSourceOptions","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1FlockerVolumeSource","Properties":{"datasetName":{"Type":4,"Flags":0,"Description":"Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated"},"datasetUUID":{"Type":4,"Flags":0,"Description":"UUID of the dataset. This is unique identifier of a Flocker dataset"}}}},{"2":{"Name":"IoK8SApiCoreV1GCEPersistentDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"partition":{"Type":3,"Flags":0,"Description":"The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"pdName":{"Type":4,"Flags":1,"Description":"Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"}}}},{"2":{"Name":"IoK8SApiCoreV1GitRepoVolumeSource","Properties":{"directory":{"Type":4,"Flags":0,"Description":"Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name."},"repository":{"Type":4,"Flags":1,"Description":"Repository URL"},"revision":{"Type":4,"Flags":0,"Description":"Commit hash for the specified revision."}}}},{"2":{"Name":"IoK8SApiCoreV1GlusterfsVolumeSource","Properties":{"endpoints":{"Type":4,"Flags":1,"Description":"EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"path":{"Type":4,"Flags":1,"Description":"Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"}}}},{"2":{"Name":"IoK8SApiCoreV1HostPathVolumeSource","Properties":{"path":{"Type":4,"Flags":1,"Description":"Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"},"type":{"Type":4,"Flags":0,"Description":"Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"}}}},{"2":{"Name":"IoK8SApiCoreV1IscsiVolumeSource","Properties":{"chapAuthDiscovery":{"Type":2,"Flags":0,"Description":"whether support iSCSI Discovery CHAP authentication"},"chapAuthSession":{"Type":2,"Flags":0,"Description":"whether support iSCSI Session CHAP authentication"},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi"},"initiatorName":{"Type":4,"Flags":0,"Description":"Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection."},"iqn":{"Type":4,"Flags":1,"Description":"Target iSCSI Qualified Name."},"iscsiInterface":{"Type":4,"Flags":0,"Description":"iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."},"lun":{"Type":3,"Flags":1,"Description":"iSCSI Target Lun number."},"portals":{"Type":153,"Flags":0,"Description":"iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."},"secretRef":{"Type":106,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"targetPortal":{"Type":4,"Flags":1,"Description":"iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1NFSVolumeSource","Properties":{"path":{"Type":4,"Flags":1,"Description":"Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"},"server":{"Type":4,"Flags":1,"Description":"Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimVolumeSource","Properties":{"claimName":{"Type":4,"Flags":1,"Description":"ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"},"readOnly":{"Type":2,"Flags":0,"Description":"Will force the ReadOnly setting in VolumeMounts. Default false."}}}},{"2":{"Name":"IoK8SApiCoreV1PhotonPersistentDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"pdID":{"Type":4,"Flags":1,"Description":"ID that identifies Photon Controller persistent disk"}}}},{"2":{"Name":"IoK8SApiCoreV1PortworxVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified."},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"volumeID":{"Type":4,"Flags":1,"Description":"VolumeID uniquely identifies a Portworx volume"}}}},{"2":{"Name":"IoK8SApiCoreV1ProjectedVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"Mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"sources":{"Type":167,"Flags":1,"Description":"list of volume projections"}}}},{"2":{"Name":"IoK8SApiCoreV1VolumeProjection","Properties":{"configMap":{"Type":160,"Flags":0,"Description":"Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode."},"downwardAPI":{"Type":162,"Flags":0,"Description":"Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode."},"secret":{"Type":164,"Flags":0,"Description":"Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode."},"serviceAccountToken":{"Type":166,"Flags":0,"Description":"ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise)."}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapProjection","Properties":{"items":{"Type":161,"Flags":0,"Description":"If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the ConfigMap or its keys must be defined"}}}},{"3":{"ItemType":129}},{"2":{"Name":"IoK8SApiCoreV1DownwardAPIProjection","Properties":{"items":{"Type":163,"Flags":0,"Description":"Items is a list of DownwardAPIVolume file"}}}},{"3":{"ItemType":134}},{"2":{"Name":"IoK8SApiCoreV1SecretProjection","Properties":{"items":{"Type":165,"Flags":0,"Description":"If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the Secret or its key must be defined"}}}},{"3":{"ItemType":129}},{"2":{"Name":"IoK8SApiCoreV1ServiceAccountTokenProjection","Properties":{"audience":{"Type":4,"Flags":0,"Description":"Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver."},"expirationSeconds":{"Type":3,"Flags":0,"Description":"ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes."},"path":{"Type":4,"Flags":1,"Description":"Path is the path relative to the mount point of the file to project the token into."}}}},{"3":{"ItemType":159}},{"2":{"Name":"IoK8SApiCoreV1QuobyteVolumeSource","Properties":{"group":{"Type":4,"Flags":0,"Description":"Group to map volume access to Default is no group"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false."},"registry":{"Type":4,"Flags":1,"Description":"Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes"},"tenant":{"Type":4,"Flags":0,"Description":"Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin"},"user":{"Type":4,"Flags":0,"Description":"User to map volume access to Defaults to serivceaccount user"},"volume":{"Type":4,"Flags":1,"Description":"Volume is a string that references an already created Quobyte volume by name."}}}},{"2":{"Name":"IoK8SApiCoreV1RBDVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd"},"image":{"Type":4,"Flags":1,"Description":"The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"keyring":{"Type":4,"Flags":0,"Description":"Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"monitors":{"Type":170,"Flags":1,"Description":"A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"pool":{"Type":4,"Flags":0,"Description":"The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"secretRef":{"Type":106,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"user":{"Type":4,"Flags":0,"Description":"The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1ScaleIOVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"."},"gateway":{"Type":4,"Flags":1,"Description":"The host address of the ScaleIO API Gateway."},"protectionDomain":{"Type":4,"Flags":0,"Description":"The name of the ScaleIO Protection Domain for the configured storage."},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":106,"Flags":1,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"sslEnabled":{"Type":2,"Flags":0,"Description":"Flag to enable/disable SSL communication with Gateway, default false"},"storageMode":{"Type":4,"Flags":0,"Description":"Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned."},"storagePool":{"Type":4,"Flags":0,"Description":"The ScaleIO Storage Pool associated with the protection domain."},"system":{"Type":4,"Flags":1,"Description":"The name of the storage system as configured in ScaleIO."},"volumeName":{"Type":4,"Flags":0,"Description":"The name of a volume already created in the ScaleIO system that is associated with this volume source."}}}},{"2":{"Name":"IoK8SApiCoreV1SecretVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"items":{"Type":173,"Flags":0,"Description":"If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the Secret or its keys must be defined"},"secretName":{"Type":4,"Flags":0,"Description":"Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret"}}}},{"3":{"ItemType":129}},{"2":{"Name":"IoK8SApiCoreV1StorageOSVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":106,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"volumeName":{"Type":4,"Flags":0,"Description":"VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace."},"volumeNamespace":{"Type":4,"Flags":0,"Description":"VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created."}}}},{"2":{"Name":"IoK8SApiCoreV1VsphereVirtualDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"storagePolicyID":{"Type":4,"Flags":0,"Description":"Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName."},"storagePolicyName":{"Type":4,"Flags":0,"Description":"Storage Policy Based Management (SPBM) profile name."},"volumePath":{"Type":4,"Flags":1,"Description":"Path that identifies vSphere volume vmdk"}}}},{"3":{"ItemType":121}},{"2":{"Name":"IoK8SApiBatchV1JobStatus","Properties":{"active":{"Type":3,"Flags":0,"Description":"The number of actively running pods."},"completionTime":{"Type":4,"Flags":0,"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."},"conditions":{"Type":179,"Flags":0,"Description":"The latest available observations of an object's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/"},"failed":{"Type":3,"Flags":0,"Description":"The number of pods which reached phase Failed."},"startTime":{"Type":4,"Flags":0,"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."},"succeeded":{"Type":3,"Flags":0,"Description":"The number of pods which reached phase Succeeded."}}}},{"2":{"Name":"IoK8SApiBatchV1JobCondition","Properties":{"lastProbeTime":{"Type":4,"Flags":0,"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."},"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"Human readable message indicating details about last transition."},"reason":{"Type":4,"Flags":0,"Description":"(brief) reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"Status of the condition, one of True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"Type of job condition, Complete or Failed."}}}},{"3":{"ItemType":178}},{"2":{"Name":"batch/Job","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":0,"Description":"JobSpec describes how the job execution will look like."},"status":{"Type":177,"Flags":0,"Description":"JobStatus represents the current state of a Job."}}}},{"4":{"Name":"batch/Job@v1","ScopeType":0,"Body":180,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "Job" + }, + { + "$type": "StringLiteralType", + "value": "batch/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiBatchV1JobSpec", + "properties": { + "activeDeadlineSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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" + }, + "backoffLimit": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Specifies the number of retries before marking this job failed. Defaults to 6" + }, + "completions": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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/" + }, + "manualSelector": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "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" + }, + "parallelism": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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/" + }, + "selector": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "template": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "PodTemplateSpec describes the data a pod should have when created from a template" + }, + "ttlSecondsAfterFinished": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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": "IntegerType" + }, + { + "$type": "BooleanType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelector", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." + }, + "matchLabels": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/10" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodTemplateSpec", + "properties": { + "metadata": { + "type": { + "$ref": "#/15" + }, + "flags": 0, + "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create." + }, + "spec": { + "type": { + "$ref": "#/24" + }, + "flags": 0, + "description": "PodSpec is a description of a pod." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ObjectMeta", + "properties": { + "annotations": { + "type": { + "$ref": "#/16" + }, + "flags": 0, + "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations" + }, + "clusterName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request." + }, + "creationTimestamp": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "deletionGracePeriodSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only." + }, + "deletionTimestamp": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "finalizers": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list." + }, + "generateName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency" + }, + "generation": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only." + }, + "labels": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels" + }, + "managedFields": { + "type": { + "$ref": "#/21" + }, + "flags": 0, + "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces" + }, + "ownerReferences": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller." + }, + "resourceVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + }, + "selfLink": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release." + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ObjectMetaAnnotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ObjectMetaLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ManagedFieldsEntry", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted." + }, + "fieldsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"" + }, + "fieldsV1": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "Any object" + }, + "manager": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Manager is an identifier of the workflow managing these fields." + }, + "operation": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'." + }, + "time": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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": "AnyType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/19" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1OwnerReference", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "API version of the referent." + }, + "blockOwnerDeletion": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned." + }, + "controller": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "If true, this reference points to the managing controller." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names" + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/22" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSpec", + "properties": { + "activeDeadlineSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer." + }, + "affinity": { + "type": { + "$ref": "#/25" + }, + "flags": 0, + "description": "Affinity is a group of affinity scheduling rules." + }, + "automountServiceAccountToken": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted." + }, + "containers": { + "type": { + "$ref": "#/84" + }, + "flags": 1, + "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated." + }, + "dnsConfig": { + "type": { + "$ref": "#/85" + }, + "flags": 0, + "description": "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy." + }, + "dnsPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'." + }, + "enableServiceLinks": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true." + }, + "ephemeralContainers": { + "type": { + "$ref": "#/98" + }, + "flags": 0, + "description": "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature." + }, + "hostAliases": { + "type": { + "$ref": "#/101" + }, + "flags": 0, + "description": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods." + }, + "hostIPC": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Use the host's ipc namespace. Optional: Default to false." + }, + "hostNetwork": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false." + }, + "hostPID": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Use the host's pid namespace. Optional: Default to false." + }, + "hostname": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value." + }, + "imagePullSecrets": { + "type": { + "$ref": "#/103" + }, + "flags": 0, + "description": "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod" + }, + "initContainers": { + "type": { + "$ref": "#/104" + }, + "flags": 0, + "description": "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/" + }, + "nodeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements." + }, + "nodeSelector": { + "type": { + "$ref": "#/105" + }, + "flags": 0, + "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/" + }, + "overhead": { + "type": { + "$ref": "#/106" + }, + "flags": 0, + "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature." + }, + "preemptionPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate." + }, + "priority": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority." + }, + "priorityClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default." + }, + "readinessGates": { + "type": { + "$ref": "#/108" + }, + "flags": 0, + "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md" + }, + "restartPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy" + }, + "runtimeClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14." + }, + "schedulerName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler." + }, + "securityContext": { + "type": { + "$ref": "#/109" + }, + "flags": 0, + "description": "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext." + }, + "serviceAccount": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead." + }, + "serviceAccountName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/" + }, + "setHostnameAsFQDN": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false." + }, + "shareProcessNamespace": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false." + }, + "subdomain": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all." + }, + "terminationGracePeriodSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds." + }, + "tolerations": { + "type": { + "$ref": "#/114" + }, + "flags": 0, + "description": "If specified, the pod's tolerations." + }, + "topologySpreadConstraints": { + "type": { + "$ref": "#/116" + }, + "flags": 0, + "description": "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed." + }, + "volumes": { + "type": { + "$ref": "#/172" + }, + "flags": 0, + "description": "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Affinity", + "properties": { + "nodeAffinity": { + "type": { + "$ref": "#/26" + }, + "flags": 0, + "description": "Node affinity is a group of node affinity scheduling rules." + }, + "podAffinity": { + "type": { + "$ref": "#/36" + }, + "flags": 0, + "description": "Pod affinity is a group of inter pod affinity scheduling rules." + }, + "podAntiAffinity": { + "type": { + "$ref": "#/42" + }, + "flags": 0, + "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeAffinity", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/33" + }, + "flags": 0, + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred." + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/34" + }, + "flags": 0, + "description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PreferredSchedulingTerm", + "properties": { + "preference": { + "type": { + "$ref": "#/28" + }, + "flags": 1, + "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm." + }, + "weight": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelectorTerm", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/31" + }, + "flags": 0, + "description": "A list of node selector requirements by node's labels." + }, + "matchFields": { + "type": { + "$ref": "#/32" + }, + "flags": 0, + "description": "A list of node selector requirements by node's fields." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + }, + "values": { + "type": { + "$ref": "#/30" + }, + "flags": 0, + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/29" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/29" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/27" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelector", + "properties": { + "nodeSelectorTerms": { + "type": { + "$ref": "#/35" + }, + "flags": 1, + "description": "Required. A list of node selector terms. The terms are ORed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/28" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodAffinity", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/40" + }, + "flags": 0, + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred." + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/41" + }, + "flags": 0, + "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1WeightedPodAffinityTerm", + "properties": { + "podAffinityTerm": { + "type": { + "$ref": "#/38" + }, + "flags": 1, + "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running" + }, + "weight": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodAffinityTerm", + "properties": { + "labelSelector": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "namespaces": { + "type": { + "$ref": "#/39" + }, + "flags": 0, + "description": "namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means \"this pod's namespace\"" + }, + "topologyKey": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/37" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/38" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodAntiAffinity", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/43" + }, + "flags": 0, + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred." + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/44" + }, + "flags": 0, + "description": "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/37" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/38" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Container", + "properties": { + "args": { + "type": { + "$ref": "#/46" + }, + "flags": 0, + "description": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "command": { + "type": { + "$ref": "#/47" + }, + "flags": 0, + "description": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "env": { + "type": { + "$ref": "#/54" + }, + "flags": 0, + "description": "List of environment variables to set in the container. Cannot be updated." + }, + "envFrom": { + "type": { + "$ref": "#/58" + }, + "flags": 0, + "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated." + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets." + }, + "imagePullPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images" + }, + "lifecycle": { + "type": { + "$ref": "#/59" + }, + "flags": 0, + "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted." + }, + "livenessProbe": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated." + }, + "ports": { + "type": { + "$ref": "#/69" + }, + "flags": 0, + "description": "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated." + }, + "readinessProbe": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "resources": { + "type": { + "$ref": "#/70" + }, + "flags": 0, + "description": "ResourceRequirements describes the compute resource requirements." + }, + "securityContext": { + "type": { + "$ref": "#/73" + }, + "flags": 0, + "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence." + }, + "startupProbe": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "stdin": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false." + }, + "stdinOnce": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false" + }, + "terminationMessagePath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated." + }, + "terminationMessagePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated." + }, + "tty": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false." + }, + "volumeDevices": { + "type": { + "$ref": "#/81" + }, + "flags": 0, + "description": "volumeDevices is the list of block devices to be used by the container." + }, + "volumeMounts": { + "type": { + "$ref": "#/83" + }, + "flags": 0, + "description": "Pod volumes to mount into the container's filesystem. Cannot be updated." + }, + "workingDir": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EnvVar", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the environment variable. Must be a C_IDENTIFIER." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\"." + }, + "valueFrom": { + "type": { + "$ref": "#/49" + }, + "flags": 0, + "description": "EnvVarSource represents a source for the value of an EnvVar." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EnvVarSource", + "properties": { + "configMapKeyRef": { + "type": { + "$ref": "#/50" + }, + "flags": 0, + "description": "Selects a key from a ConfigMap." + }, + "fieldRef": { + "type": { + "$ref": "#/51" + }, + "flags": 0, + "description": "ObjectFieldSelector selects an APIVersioned field of an object." + }, + "resourceFieldRef": { + "type": { + "$ref": "#/52" + }, + "flags": 0, + "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format" + }, + "secretKeyRef": { + "type": { + "$ref": "#/53" + }, + "flags": 0, + "description": "SecretKeySelector selects a key of a Secret." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapKeySelector", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The key to select." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Specify whether the ConfigMap or its key must be defined" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ObjectFieldSelector", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." + }, + "fieldPath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path of the field to select in the specified API version." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceFieldSelector", + "properties": { + "containerName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container name: required for volumes, optional for env vars" + }, + "divisor": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + }, + "resource": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Required: resource to select" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretKeySelector", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The key of the secret to select from. Must be a valid secret key." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Specify whether the Secret or its key must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/48" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EnvFromSource", + "properties": { + "configMapRef": { + "type": { + "$ref": "#/56" + }, + "flags": 0, + "description": "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables." + }, + "prefix": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER." + }, + "secretRef": { + "type": { + "$ref": "#/57" + }, + "flags": 0, + "description": "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapEnvSource", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Specify whether the ConfigMap must be defined" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretEnvSource", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Specify whether the Secret must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/55" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Lifecycle", + "properties": { + "postStart": { + "type": { + "$ref": "#/60" + }, + "flags": 0, + "description": "Handler defines a specific action that should be taken" + }, + "preStop": { + "type": { + "$ref": "#/60" + }, + "flags": 0, + "description": "Handler defines a specific action that should be taken" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Handler", + "properties": { + "exec": { + "type": { + "$ref": "#/61" + }, + "flags": 0, + "description": "ExecAction describes a \"run in container\" action." + }, + "httpGet": { + "type": { + "$ref": "#/63" + }, + "flags": 0, + "description": "HTTPGetAction describes an action based on HTTP Get requests." + }, + "tcpSocket": { + "type": { + "$ref": "#/66" + }, + "flags": 0, + "description": "TCPSocketAction describes an action based on opening a socket" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ExecAction", + "properties": { + "command": { + "type": { + "$ref": "#/62" + }, + "flags": 0, + "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HttpGetAction", + "properties": { + "host": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead." + }, + "httpHeaders": { + "type": { + "$ref": "#/65" + }, + "flags": 0, + "description": "Custom headers to set in the request. HTTP allows repeated headers." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Path to access on the HTTP server." + }, + "port": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + }, + "scheme": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Scheme to use for connecting to the host. Defaults to HTTP." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HttpHeader", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The header field name" + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The header field value" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/64" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TCPSocketAction", + "properties": { + "host": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Host name to connect to, defaults to the pod IP." + }, + "port": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Probe", + "properties": { + "exec": { + "type": { + "$ref": "#/61" + }, + "flags": 0, + "description": "ExecAction describes a \"run in container\" action." + }, + "failureThreshold": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." + }, + "httpGet": { + "type": { + "$ref": "#/63" + }, + "flags": 0, + "description": "HTTPGetAction describes an action based on HTTP Get requests." + }, + "initialDelaySeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + }, + "periodSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." + }, + "successThreshold": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1." + }, + "tcpSocket": { + "type": { + "$ref": "#/66" + }, + "flags": 0, + "description": "TCPSocketAction describes an action based on opening a socket" + }, + "timeoutSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ContainerPort", + "properties": { + "containerPort": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536." + }, + "hostIP": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "What host IP to bind the external port to." + }, + "hostPort": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services." + }, + "protocol": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\"." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/68" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceRequirements", + "properties": { + "limits": { + "type": { + "$ref": "#/71" + }, + "flags": 0, + "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/" + }, + "requests": { + "type": { + "$ref": "#/72" + }, + "flags": 0, + "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceRequirementsLimits", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceRequirementsRequests", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecurityContext", + "properties": { + "allowPrivilegeEscalation": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN" + }, + "capabilities": { + "type": { + "$ref": "#/74" + }, + "flags": 0, + "description": "Adds and removes POSIX capabilities from running containers." + }, + "privileged": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false." + }, + "procMount": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled." + }, + "readOnlyRootFilesystem": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Whether this container has a read-only root filesystem. Default is false." + }, + "runAsGroup": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + }, + "runAsNonRoot": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + }, + "runAsUser": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + }, + "seLinuxOptions": { + "type": { + "$ref": "#/77" + }, + "flags": 0, + "description": "SELinuxOptions are the labels to be applied to the container" + }, + "seccompProfile": { + "type": { + "$ref": "#/78" + }, + "flags": 0, + "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set." + }, + "windowsOptions": { + "type": { + "$ref": "#/79" + }, + "flags": 0, + "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Capabilities", + "properties": { + "add": { + "type": { + "$ref": "#/75" + }, + "flags": 0, + "description": "Added capabilities" + }, + "drop": { + "type": { + "$ref": "#/76" + }, + "flags": 0, + "description": "Removed capabilities" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SELinuxOptions", + "properties": { + "level": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Level is SELinux level label that applies to the container." + }, + "role": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Role is a SELinux role label that applies to the container." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Type is a SELinux type label that applies to the container." + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "User is a SELinux user label that applies to the container." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SeccompProfile", + "properties": { + "localhostProfile": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is \"Localhost\"." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1WindowsSecurityContextOptions", + "properties": { + "gmsaCredentialSpec": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field." + }, + "gmsaCredentialSpecName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use." + }, + "runAsUserName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeDevice", + "properties": { + "devicePath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "devicePath is the path inside of the container that the device will be mapped to." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name must match the name of a persistentVolumeClaim in the pod" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/80" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeMount", + "properties": { + "mountPath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path within the container at which the volume should be mounted. Must not contain ':'." + }, + "mountPropagation": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "This must match the Name of a Volume." + }, + "readOnly": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false." + }, + "subPath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root)." + }, + "subPathExpr": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/82" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/45" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodDNSConfig", + "properties": { + "nameservers": { + "type": { + "$ref": "#/86" + }, + "flags": 0, + "description": "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed." + }, + "options": { + "type": { + "$ref": "#/88" + }, + "flags": 0, + "description": "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy." + }, + "searches": { + "type": { + "$ref": "#/89" + }, + "flags": 0, + "description": "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodDNSConfigOption", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Required." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/87" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EphemeralContainer", + "properties": { + "args": { + "type": { + "$ref": "#/91" + }, + "flags": 0, + "description": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "command": { + "type": { + "$ref": "#/92" + }, + "flags": 0, + "description": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "env": { + "type": { + "$ref": "#/93" + }, + "flags": 0, + "description": "List of environment variables to set in the container. Cannot be updated." + }, + "envFrom": { + "type": { + "$ref": "#/94" + }, + "flags": 0, + "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated." + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images" + }, + "imagePullPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images" + }, + "lifecycle": { + "type": { + "$ref": "#/59" + }, + "flags": 0, + "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted." + }, + "livenessProbe": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers." + }, + "ports": { + "type": { + "$ref": "#/95" + }, + "flags": 0, + "description": "Ports are not allowed for ephemeral containers." + }, + "readinessProbe": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "resources": { + "type": { + "$ref": "#/70" + }, + "flags": 0, + "description": "ResourceRequirements describes the compute resource requirements." + }, + "securityContext": { + "type": { + "$ref": "#/73" + }, + "flags": 0, + "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence." + }, + "startupProbe": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "stdin": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false." + }, + "stdinOnce": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false" + }, + "targetContainerName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature." + }, + "terminationMessagePath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated." + }, + "terminationMessagePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated." + }, + "tty": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false." + }, + "volumeDevices": { + "type": { + "$ref": "#/96" + }, + "flags": 0, + "description": "volumeDevices is the list of block devices to be used by the container." + }, + "volumeMounts": { + "type": { + "$ref": "#/97" + }, + "flags": 0, + "description": "Pod volumes to mount into the container's filesystem. Cannot be updated." + }, + "workingDir": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/48" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/55" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/68" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/80" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/82" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/90" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HostAlias", + "properties": { + "hostnames": { + "type": { + "$ref": "#/100" + }, + "flags": 0, + "description": "Hostnames for the above IP address." + }, + "ip": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IP address of the host file entry." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/99" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LocalObjectReference", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/102" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/45" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSpecNodeSelector", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSpecOverhead", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodReadinessGate", + "properties": { + "conditionType": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "ConditionType refers to a condition in the pod's condition list with matching type." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/107" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSecurityContext", + "properties": { + "fsGroup": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume." + }, + "fsGroupChangePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified defaults to \"Always\"." + }, + "runAsGroup": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container." + }, + "runAsNonRoot": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + }, + "runAsUser": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container." + }, + "seLinuxOptions": { + "type": { + "$ref": "#/77" + }, + "flags": 0, + "description": "SELinuxOptions are the labels to be applied to the container" + }, + "seccompProfile": { + "type": { + "$ref": "#/78" + }, + "flags": 0, + "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set." + }, + "supplementalGroups": { + "type": { + "$ref": "#/110" + }, + "flags": 0, + "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container." + }, + "sysctls": { + "type": { + "$ref": "#/112" + }, + "flags": 0, + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch." + }, + "windowsOptions": { + "type": { + "$ref": "#/79" + }, + "flags": 0, + "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/7" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Sysctl", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of a property to set" + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Value of a property to set" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/111" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Toleration", + "properties": { + "effect": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute." + }, + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category." + }, + "tolerationSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/113" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TopologySpreadConstraint", + "properties": { + "labelSelector": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "maxSkew": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed." + }, + "topologyKey": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. It's a required field." + }, + "whenUnsatisfiable": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assigment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/115" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Volume", + "properties": { + "awsElasticBlockStore": { + "type": { + "$ref": "#/118" + }, + "flags": 0, + "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling." + }, + "azureDisk": { + "type": { + "$ref": "#/119" + }, + "flags": 0, + "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." + }, + "azureFile": { + "type": { + "$ref": "#/120" + }, + "flags": 0, + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod." + }, + "cephfs": { + "type": { + "$ref": "#/121" + }, + "flags": 0, + "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling." + }, + "cinder": { + "type": { + "$ref": "#/123" + }, + "flags": 0, + "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling." + }, + "configMap": { + "type": { + "$ref": "#/124" + }, + "flags": 0, + "description": "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling." + }, + "csi": { + "type": { + "$ref": "#/127" + }, + "flags": 0, + "description": "Represents a source location of a volume to mount, managed by an external CSI driver" + }, + "downwardAPI": { + "type": { + "$ref": "#/129" + }, + "flags": 0, + "description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling." + }, + "emptyDir": { + "type": { + "$ref": "#/132" + }, + "flags": 0, + "description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling." + }, + "ephemeral": { + "type": { + "$ref": "#/133" + }, + "flags": 0, + "description": "Represents an ephemeral volume that is handled by a normal storage driver." + }, + "fc": { + "type": { + "$ref": "#/138" + }, + "flags": 0, + "description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling." + }, + "flexVolume": { + "type": { + "$ref": "#/141" + }, + "flags": 0, + "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin." + }, + "flocker": { + "type": { + "$ref": "#/143" + }, + "flags": 0, + "description": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling." + }, + "gcePersistentDisk": { + "type": { + "$ref": "#/144" + }, + "flags": 0, + "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling." + }, + "gitRepo": { + "type": { + "$ref": "#/145" + }, + "flags": 0, + "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container." + }, + "glusterfs": { + "type": { + "$ref": "#/146" + }, + "flags": 0, + "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling." + }, + "hostPath": { + "type": { + "$ref": "#/147" + }, + "flags": 0, + "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling." + }, + "iscsi": { + "type": { + "$ref": "#/148" + }, + "flags": 0, + "description": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "nfs": { + "type": { + "$ref": "#/150" + }, + "flags": 0, + "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling." + }, + "persistentVolumeClaim": { + "type": { + "$ref": "#/151" + }, + "flags": 0, + "description": "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system)." + }, + "photonPersistentDisk": { + "type": { + "$ref": "#/152" + }, + "flags": 0, + "description": "Represents a Photon Controller persistent disk resource." + }, + "portworxVolume": { + "type": { + "$ref": "#/153" + }, + "flags": 0, + "description": "PortworxVolumeSource represents a Portworx volume resource." + }, + "projected": { + "type": { + "$ref": "#/154" + }, + "flags": 0, + "description": "Represents a projected volume source" + }, + "quobyte": { + "type": { + "$ref": "#/164" + }, + "flags": 0, + "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling." + }, + "rbd": { + "type": { + "$ref": "#/165" + }, + "flags": 0, + "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling." + }, + "scaleIO": { + "type": { + "$ref": "#/167" + }, + "flags": 0, + "description": "ScaleIOVolumeSource represents a persistent ScaleIO volume" + }, + "secret": { + "type": { + "$ref": "#/168" + }, + "flags": 0, + "description": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling." + }, + "storageos": { + "type": { + "$ref": "#/170" + }, + "flags": 0, + "description": "Represents a StorageOS persistent volume resource." + }, + "vsphereVolume": { + "type": { + "$ref": "#/171" + }, + "flags": 0, + "description": "Represents a vSphere volume resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AWSElasticBlockStoreVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + }, + "partition": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty)." + }, + "readOnly": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AzureDiskVolumeSource", + "properties": { + "cachingMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Host Caching mode: None, Read Only, Read Write." + }, + "diskName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The Name of the data disk in the blob storage" + }, + "diskURI": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The URI the data disk in the blob storage" + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared" + }, + "readOnly": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AzureFileVolumeSource", + "properties": { + "readOnly": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "the name of secret that contains Azure Storage Account Name and Key" + }, + "shareName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Share Name" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CephFSVolumeSource", + "properties": { + "monitors": { + "type": { + "$ref": "#/122" + }, + "flags": 1, + "description": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /" + }, + "readOnly": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "secretFile": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "secretRef": { + "type": { + "$ref": "#/102" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CinderVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + }, + "readOnly": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + }, + "secretRef": { + "type": { + "$ref": "#/102" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "items": { + "type": { + "$ref": "#/126" + }, + "flags": 0, + "description": "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Specify whether the ConfigMap or its keys must be defined" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1KeyToPath", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The key to project." + }, + "mode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/125" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CSIVolumeSource", + "properties": { + "driver": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster." + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply." + }, + "nodePublishSecretRef": { + "type": { + "$ref": "#/102" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "readOnly": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Specifies a read-only configuration for the volume. Defaults to false (read/write)." + }, + "volumeAttributes": { + "type": { + "$ref": "#/128" + }, + "flags": 0, + "description": "VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CSIVolumeSourceVolumeAttributes", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1DownwardAPIVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "items": { + "type": { + "$ref": "#/131" + }, + "flags": 0, + "description": "Items is a list of downward API volume file" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1DownwardAPIVolumeFile", + "properties": { + "fieldRef": { + "type": { + "$ref": "#/51" + }, + "flags": 0, + "description": "ObjectFieldSelector selects an APIVersioned field of an object." + }, + "mode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'" + }, + "resourceFieldRef": { + "type": { + "$ref": "#/52" + }, + "flags": 0, + "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/130" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EmptyDirVolumeSource", + "properties": { + "medium": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir" + }, + "sizeLimit": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EphemeralVolumeSource", + "properties": { + "readOnly": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Specifies a read-only configuration for the volume. Defaults to false (read/write)." + }, + "volumeClaimTemplate": { + "type": { + "$ref": "#/134" + }, + "flags": 0, + "description": "PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimTemplate", + "properties": { + "metadata": { + "type": { + "$ref": "#/15" + }, + "flags": 0, + "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create." + }, + "spec": { + "type": { + "$ref": "#/135" + }, + "flags": 1, + "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimSpec", + "properties": { + "accessModes": { + "type": { + "$ref": "#/136" + }, + "flags": 0, + "description": "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1" + }, + "dataSource": { + "type": { + "$ref": "#/137" + }, + "flags": 0, + "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace." + }, + "resources": { + "type": { + "$ref": "#/70" + }, + "flags": 0, + "description": "ResourceRequirements describes the compute resource requirements." + }, + "selector": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "storageClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" + }, + "volumeMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "VolumeName is the binding reference to the PersistentVolume backing this claim." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TypedLocalObjectReference", + "properties": { + "apiGroup": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind is the type of resource being referenced" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the name of resource being referenced" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FCVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "lun": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: FC target lun number" + }, + "readOnly": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "targetWWNs": { + "type": { + "$ref": "#/139" + }, + "flags": 0, + "description": "Optional: FC target worldwide names (WWNs)" + }, + "wwids": { + "type": { + "$ref": "#/140" + }, + "flags": 0, + "description": "Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlexVolumeSource", + "properties": { + "driver": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Driver is the name of the driver to use for this volume." + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script." + }, + "options": { + "type": { + "$ref": "#/142" + }, + "flags": 0, + "description": "Optional: Extra command options if any." + }, + "readOnly": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/102" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlexVolumeSourceOptions", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlockerVolumeSource", + "properties": { + "datasetName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated" + }, + "datasetUUID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UUID of the dataset. This is unique identifier of a Flocker dataset" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GCEPersistentDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "partition": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "pdName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "readOnly": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GitRepoVolumeSource", + "properties": { + "directory": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name." + }, + "repository": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Repository URL" + }, + "revision": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Commit hash for the specified revision." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GlusterfsVolumeSource", + "properties": { + "endpoints": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "readOnly": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HostPathVolumeSource", + "properties": { + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1IscsiVolumeSource", + "properties": { + "chapAuthDiscovery": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "whether support iSCSI Discovery CHAP authentication" + }, + "chapAuthSession": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "whether support iSCSI Session CHAP authentication" + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi" + }, + "initiatorName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection." + }, + "iqn": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Target iSCSI Qualified Name." + }, + "iscsiInterface": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)." + }, + "lun": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "iSCSI Target Lun number." + }, + "portals": { + "type": { + "$ref": "#/149" + }, + "flags": 0, + "description": "iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)." + }, + "readOnly": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false." + }, + "secretRef": { + "type": { + "$ref": "#/102" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "targetPortal": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NFSVolumeSource", + "properties": { + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + }, + "readOnly": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + }, + "server": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimVolumeSource", + "properties": { + "claimName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" + }, + "readOnly": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Will force the ReadOnly setting in VolumeMounts. Default false." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PhotonPersistentDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "pdID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "ID that identifies Photon Controller persistent disk" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PortworxVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "readOnly": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "VolumeID uniquely identifies a Portworx volume" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ProjectedVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "sources": { + "type": { + "$ref": "#/163" + }, + "flags": 1, + "description": "list of volume projections" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeProjection", + "properties": { + "configMap": { + "type": { + "$ref": "#/156" + }, + "flags": 0, + "description": "Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode." + }, + "downwardAPI": { + "type": { + "$ref": "#/158" + }, + "flags": 0, + "description": "Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode." + }, + "secret": { + "type": { + "$ref": "#/160" + }, + "flags": 0, + "description": "Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode." + }, + "serviceAccountToken": { + "type": { + "$ref": "#/162" + }, + "flags": 0, + "description": "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise)." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapProjection", + "properties": { + "items": { + "type": { + "$ref": "#/157" + }, + "flags": 0, + "description": "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Specify whether the ConfigMap or its keys must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/125" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1DownwardAPIProjection", + "properties": { + "items": { + "type": { + "$ref": "#/159" + }, + "flags": 0, + "description": "Items is a list of DownwardAPIVolume file" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/130" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretProjection", + "properties": { + "items": { + "type": { + "$ref": "#/161" + }, + "flags": 0, + "description": "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Specify whether the Secret or its key must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/125" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ServiceAccountTokenProjection", + "properties": { + "audience": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver." + }, + "expirationSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path is the path relative to the mount point of the file to project the token into." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/155" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1QuobyteVolumeSource", + "properties": { + "group": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Group to map volume access to Default is no group" + }, + "readOnly": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false." + }, + "registry": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes" + }, + "tenant": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin" + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "User to map volume access to Defaults to serivceaccount user" + }, + "volume": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Volume is a string that references an already created Quobyte volume by name." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1RBDVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd" + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "keyring": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "monitors": { + "type": { + "$ref": "#/166" + }, + "flags": 1, + "description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "pool": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "readOnly": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "secretRef": { + "type": { + "$ref": "#/102" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ScaleIOVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"." + }, + "gateway": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The host address of the ScaleIO API Gateway." + }, + "protectionDomain": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The name of the ScaleIO Protection Domain for the configured storage." + }, + "readOnly": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/102" + }, + "flags": 1, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "sslEnabled": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Flag to enable/disable SSL communication with Gateway, default false" + }, + "storageMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned." + }, + "storagePool": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The ScaleIO Storage Pool associated with the protection domain." + }, + "system": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The name of the storage system as configured in ScaleIO." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The name of a volume already created in the ScaleIO system that is associated with this volume source." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "items": { + "type": { + "$ref": "#/169" + }, + "flags": 0, + "description": "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "optional": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Specify whether the Secret or its keys must be defined" + }, + "secretName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/125" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1StorageOSVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "readOnly": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/102" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace." + }, + "volumeNamespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VsphereVirtualDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "storagePolicyID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName." + }, + "storagePolicyName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Storage Policy Based Management (SPBM) profile name." + }, + "volumePath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path that identifies vSphere volume vmdk" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/117" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiBatchV1JobStatus", + "properties": { + "active": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The number of actively running pods." + }, + "completionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "conditions": { + "type": { + "$ref": "#/175" + }, + "flags": 0, + "description": "The latest available observations of an object's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/" + }, + "failed": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The number of pods which reached phase Failed." + }, + "startTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "succeeded": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The number of pods which reached phase Succeeded." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiBatchV1JobCondition", + "properties": { + "lastProbeTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Human readable message indicating details about last transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "(brief) reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Status of the condition, one of True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type of job condition, Complete or Failed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/174" + } + }, + { + "$type": "ObjectType", + "name": "batch/Job", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "JobSpec describes how the job execution will look like." + }, + "status": { + "type": { + "$ref": "#/173" + }, + "flags": 0, + "description": "JobStatus represents the current state of a Job." + } + } + }, + { + "$type": "ResourceType", + "name": "batch/Job@v1", + "scopeType": 0, + "body": { + "$ref": "#/176" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/batch/v1beta1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/batch/v1beta1/types.json index 1f7420b2..3c969cf2 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/batch/v1beta1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/batch/v1beta1/types.json @@ -1 +1,4394 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"CronJob"}},{"6":{"Value":"batch/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiBatchV1Beta1CronJobSpec","Properties":{"concurrencyPolicy":{"Type":4,"Flags":0,"Description":"Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one"},"failedJobsHistoryLimit":{"Type":3,"Flags":0,"Description":"The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1."},"jobTemplate":{"Type":14,"Flags":1,"Description":"JobTemplateSpec describes the data a Job should have when created from a template"},"schedule":{"Type":4,"Flags":1,"Description":"The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron."},"startingDeadlineSeconds":{"Type":3,"Flags":0,"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."},"successfulJobsHistoryLimit":{"Type":3,"Flags":0,"Description":"The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3."},"suspend":{"Type":2,"Flags":0,"Description":"This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false."}}}},{"2":{"Name":"IoK8SApiBatchV1Beta1JobTemplateSpec","Properties":{"metadata":{"Type":15,"Flags":0,"Description":"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."},"spec":{"Type":23,"Flags":0,"Description":"JobSpec describes how the job execution will look like."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ObjectMeta","Properties":{"annotations":{"Type":16,"Flags":0,"Description":"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"},"clusterName":{"Type":4,"Flags":0,"Description":"The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."},"creationTimestamp":{"Type":4,"Flags":0,"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."},"deletionGracePeriodSeconds":{"Type":3,"Flags":0,"Description":"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."},"deletionTimestamp":{"Type":4,"Flags":0,"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."},"finalizers":{"Type":17,"Flags":0,"Description":"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."},"generateName":{"Type":4,"Flags":0,"Description":"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency"},"generation":{"Type":3,"Flags":0,"Description":"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."},"labels":{"Type":18,"Flags":0,"Description":"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"},"managedFields":{"Type":20,"Flags":0,"Description":"ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object."},"name":{"Type":4,"Flags":0,"Description":"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"},"namespace":{"Type":4,"Flags":0,"Description":"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces"},"ownerReferences":{"Type":22,"Flags":0,"Description":"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."},"resourceVersion":{"Type":4,"Flags":0,"Description":"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"},"selfLink":{"Type":4,"Flags":0,"Description":"SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release."},"uid":{"Type":4,"Flags":0,"Description":"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ObjectMetaAnnotations","Properties":{},"AdditionalProperties":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ObjectMetaLabels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ManagedFieldsEntry","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted."},"fieldsType":{"Type":4,"Flags":0,"Description":"FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\""},"fieldsV1":{"Type":0,"Flags":0,"Description":"Any object"},"manager":{"Type":4,"Flags":0,"Description":"Manager is an identifier of the workflow managing these fields."},"operation":{"Type":4,"Flags":0,"Description":"Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'."},"time":{"Type":4,"Flags":0,"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."}}}},{"3":{"ItemType":19}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1OwnerReference","Properties":{"apiVersion":{"Type":4,"Flags":1,"Description":"API version of the referent."},"blockOwnerDeletion":{"Type":2,"Flags":0,"Description":"If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned."},"controller":{"Type":2,"Flags":0,"Description":"If true, this reference points to the managing controller."},"kind":{"Type":4,"Flags":1,"Description":"Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"},"name":{"Type":4,"Flags":1,"Description":"Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names"},"uid":{"Type":4,"Flags":1,"Description":"UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"}}}},{"3":{"ItemType":21}},{"2":{"Name":"IoK8SApiBatchV1JobSpec","Properties":{"activeDeadlineSeconds":{"Type":3,"Flags":0,"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"},"backoffLimit":{"Type":3,"Flags":0,"Description":"Specifies the number of retries before marking this job failed. Defaults to 6"},"completions":{"Type":3,"Flags":0,"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/"},"manualSelector":{"Type":2,"Flags":0,"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"},"parallelism":{"Type":3,"Flags":0,"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/"},"selector":{"Type":24,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"template":{"Type":29,"Flags":1,"Description":"PodTemplateSpec describes the data a pod should have when created from a template"},"ttlSecondsAfterFinished":{"Type":3,"Flags":0,"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."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelector","Properties":{"matchExpressions":{"Type":27,"Flags":0,"Description":"matchExpressions is a list of label selector requirements. The requirements are ANDed."},"matchLabels":{"Type":28,"Flags":0,"Description":"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."},"values":{"Type":26,"Flags":0,"Description":"values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":25}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PodTemplateSpec","Properties":{"metadata":{"Type":15,"Flags":0,"Description":"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."},"spec":{"Type":30,"Flags":0,"Description":"PodSpec is a description of a pod."}}}},{"2":{"Name":"IoK8SApiCoreV1PodSpec","Properties":{"activeDeadlineSeconds":{"Type":3,"Flags":0,"Description":"Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer."},"affinity":{"Type":31,"Flags":0,"Description":"Affinity is a group of affinity scheduling rules."},"automountServiceAccountToken":{"Type":2,"Flags":0,"Description":"AutomountServiceAccountToken indicates whether a service account token should be automatically mounted."},"containers":{"Type":90,"Flags":1,"Description":"List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated."},"dnsConfig":{"Type":91,"Flags":0,"Description":"PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy."},"dnsPolicy":{"Type":4,"Flags":0,"Description":"Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'."},"enableServiceLinks":{"Type":2,"Flags":0,"Description":"EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true."},"ephemeralContainers":{"Type":104,"Flags":0,"Description":"List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature."},"hostAliases":{"Type":107,"Flags":0,"Description":"HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods."},"hostIPC":{"Type":2,"Flags":0,"Description":"Use the host's ipc namespace. Optional: Default to false."},"hostNetwork":{"Type":2,"Flags":0,"Description":"Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false."},"hostPID":{"Type":2,"Flags":0,"Description":"Use the host's pid namespace. Optional: Default to false."},"hostname":{"Type":4,"Flags":0,"Description":"Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value."},"imagePullSecrets":{"Type":109,"Flags":0,"Description":"ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod"},"initContainers":{"Type":110,"Flags":0,"Description":"List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/"},"nodeName":{"Type":4,"Flags":0,"Description":"NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements."},"nodeSelector":{"Type":111,"Flags":0,"Description":"NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/"},"overhead":{"Type":112,"Flags":0,"Description":"Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature."},"preemptionPolicy":{"Type":4,"Flags":0,"Description":"PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."},"priority":{"Type":3,"Flags":0,"Description":"The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority."},"priorityClassName":{"Type":4,"Flags":0,"Description":"If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default."},"readinessGates":{"Type":114,"Flags":0,"Description":"If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md"},"restartPolicy":{"Type":4,"Flags":0,"Description":"Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy"},"runtimeClassName":{"Type":4,"Flags":0,"Description":"RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14."},"schedulerName":{"Type":4,"Flags":0,"Description":"If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler."},"securityContext":{"Type":115,"Flags":0,"Description":"PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext."},"serviceAccount":{"Type":4,"Flags":0,"Description":"DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead."},"serviceAccountName":{"Type":4,"Flags":0,"Description":"ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/"},"setHostnameAsFQDN":{"Type":2,"Flags":0,"Description":"If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false."},"shareProcessNamespace":{"Type":2,"Flags":0,"Description":"Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false."},"subdomain":{"Type":4,"Flags":0,"Description":"If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all."},"terminationGracePeriodSeconds":{"Type":3,"Flags":0,"Description":"Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds."},"tolerations":{"Type":120,"Flags":0,"Description":"If specified, the pod's tolerations."},"topologySpreadConstraints":{"Type":122,"Flags":0,"Description":"TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed."},"volumes":{"Type":178,"Flags":0,"Description":"List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes"}}}},{"2":{"Name":"IoK8SApiCoreV1Affinity","Properties":{"nodeAffinity":{"Type":32,"Flags":0,"Description":"Node affinity is a group of node affinity scheduling rules."},"podAffinity":{"Type":42,"Flags":0,"Description":"Pod affinity is a group of inter pod affinity scheduling rules."},"podAntiAffinity":{"Type":48,"Flags":0,"Description":"Pod anti affinity is a group of inter pod anti affinity scheduling rules."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeAffinity","Properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"Type":39,"Flags":0,"Description":"The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred."},"requiredDuringSchedulingIgnoredDuringExecution":{"Type":40,"Flags":0,"Description":"A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms."}}}},{"2":{"Name":"IoK8SApiCoreV1PreferredSchedulingTerm","Properties":{"preference":{"Type":34,"Flags":1,"Description":"A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm."},"weight":{"Type":3,"Flags":1,"Description":"Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelectorTerm","Properties":{"matchExpressions":{"Type":37,"Flags":0,"Description":"A list of node selector requirements by node's labels."},"matchFields":{"Type":38,"Flags":0,"Description":"A list of node selector requirements by node's fields."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"The label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."},"values":{"Type":36,"Flags":0,"Description":"An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":35}},{"3":{"ItemType":35}},{"3":{"ItemType":33}},{"2":{"Name":"IoK8SApiCoreV1NodeSelector","Properties":{"nodeSelectorTerms":{"Type":41,"Flags":1,"Description":"Required. A list of node selector terms. The terms are ORed."}}}},{"3":{"ItemType":34}},{"2":{"Name":"IoK8SApiCoreV1PodAffinity","Properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"Type":46,"Flags":0,"Description":"The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred."},"requiredDuringSchedulingIgnoredDuringExecution":{"Type":47,"Flags":0,"Description":"If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."}}}},{"2":{"Name":"IoK8SApiCoreV1WeightedPodAffinityTerm","Properties":{"podAffinityTerm":{"Type":44,"Flags":1,"Description":"Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running"},"weight":{"Type":3,"Flags":1,"Description":"weight associated with matching the corresponding podAffinityTerm, in the range 1-100."}}}},{"2":{"Name":"IoK8SApiCoreV1PodAffinityTerm","Properties":{"labelSelector":{"Type":24,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"namespaces":{"Type":45,"Flags":0,"Description":"namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means \"this pod's namespace\""},"topologyKey":{"Type":4,"Flags":1,"Description":"This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":43}},{"3":{"ItemType":44}},{"2":{"Name":"IoK8SApiCoreV1PodAntiAffinity","Properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"Type":49,"Flags":0,"Description":"The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred."},"requiredDuringSchedulingIgnoredDuringExecution":{"Type":50,"Flags":0,"Description":"If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."}}}},{"3":{"ItemType":43}},{"3":{"ItemType":44}},{"2":{"Name":"IoK8SApiCoreV1Container","Properties":{"args":{"Type":52,"Flags":0,"Description":"Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"command":{"Type":53,"Flags":0,"Description":"Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"env":{"Type":60,"Flags":0,"Description":"List of environment variables to set in the container. Cannot be updated."},"envFrom":{"Type":64,"Flags":0,"Description":"List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."},"image":{"Type":4,"Flags":0,"Description":"Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets."},"imagePullPolicy":{"Type":4,"Flags":0,"Description":"Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"},"lifecycle":{"Type":65,"Flags":0,"Description":"Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted."},"livenessProbe":{"Type":73,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"name":{"Type":4,"Flags":1,"Description":"Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated."},"ports":{"Type":75,"Flags":0,"Description":"List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated."},"readinessProbe":{"Type":73,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"resources":{"Type":76,"Flags":0,"Description":"ResourceRequirements describes the compute resource requirements."},"securityContext":{"Type":79,"Flags":0,"Description":"SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence."},"startupProbe":{"Type":73,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"stdin":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."},"stdinOnce":{"Type":2,"Flags":0,"Description":"Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"},"terminationMessagePath":{"Type":4,"Flags":0,"Description":"Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."},"terminationMessagePolicy":{"Type":4,"Flags":0,"Description":"Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."},"tty":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."},"volumeDevices":{"Type":87,"Flags":0,"Description":"volumeDevices is the list of block devices to be used by the container."},"volumeMounts":{"Type":89,"Flags":0,"Description":"Pod volumes to mount into the container's filesystem. Cannot be updated."},"workingDir":{"Type":4,"Flags":0,"Description":"Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1EnvVar","Properties":{"name":{"Type":4,"Flags":1,"Description":"Name of the environment variable. Must be a C_IDENTIFIER."},"value":{"Type":4,"Flags":0,"Description":"Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\"."},"valueFrom":{"Type":55,"Flags":0,"Description":"EnvVarSource represents a source for the value of an EnvVar."}}}},{"2":{"Name":"IoK8SApiCoreV1EnvVarSource","Properties":{"configMapKeyRef":{"Type":56,"Flags":0,"Description":"Selects a key from a ConfigMap."},"fieldRef":{"Type":57,"Flags":0,"Description":"ObjectFieldSelector selects an APIVersioned field of an object."},"resourceFieldRef":{"Type":58,"Flags":0,"Description":"ResourceFieldSelector represents container resources (cpu, memory) and their output format"},"secretKeyRef":{"Type":59,"Flags":0,"Description":"SecretKeySelector selects a key of a Secret."}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapKeySelector","Properties":{"key":{"Type":4,"Flags":1,"Description":"The key to select."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the ConfigMap or its key must be defined"}}}},{"2":{"Name":"IoK8SApiCoreV1ObjectFieldSelector","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"Version of the schema the FieldPath is written in terms of, defaults to \"v1\"."},"fieldPath":{"Type":4,"Flags":1,"Description":"Path of the field to select in the specified API version."}}}},{"2":{"Name":"IoK8SApiCoreV1ResourceFieldSelector","Properties":{"containerName":{"Type":4,"Flags":0,"Description":"Container name: required for volumes, optional for env vars"},"divisor":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."},"resource":{"Type":4,"Flags":1,"Description":"Required: resource to select"}}}},{"2":{"Name":"IoK8SApiCoreV1SecretKeySelector","Properties":{"key":{"Type":4,"Flags":1,"Description":"The key of the secret to select from. Must be a valid secret key."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the Secret or its key must be defined"}}}},{"3":{"ItemType":54}},{"2":{"Name":"IoK8SApiCoreV1EnvFromSource","Properties":{"configMapRef":{"Type":62,"Flags":0,"Description":"ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables."},"prefix":{"Type":4,"Flags":0,"Description":"An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER."},"secretRef":{"Type":63,"Flags":0,"Description":"SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables."}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapEnvSource","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the ConfigMap must be defined"}}}},{"2":{"Name":"IoK8SApiCoreV1SecretEnvSource","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the Secret must be defined"}}}},{"3":{"ItemType":61}},{"2":{"Name":"IoK8SApiCoreV1Lifecycle","Properties":{"postStart":{"Type":66,"Flags":0,"Description":"Handler defines a specific action that should be taken"},"preStop":{"Type":66,"Flags":0,"Description":"Handler defines a specific action that should be taken"}}}},{"2":{"Name":"IoK8SApiCoreV1Handler","Properties":{"exec":{"Type":67,"Flags":0,"Description":"ExecAction describes a \"run in container\" action."},"httpGet":{"Type":69,"Flags":0,"Description":"HTTPGetAction describes an action based on HTTP Get requests."},"tcpSocket":{"Type":72,"Flags":0,"Description":"TCPSocketAction describes an action based on opening a socket"}}}},{"2":{"Name":"IoK8SApiCoreV1ExecAction","Properties":{"command":{"Type":68,"Flags":0,"Description":"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1HttpGetAction","Properties":{"host":{"Type":4,"Flags":0,"Description":"Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead."},"httpHeaders":{"Type":71,"Flags":0,"Description":"Custom headers to set in the request. HTTP allows repeated headers."},"path":{"Type":4,"Flags":0,"Description":"Path to access on the HTTP server."},"port":{"Type":4,"Flags":1,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."},"scheme":{"Type":4,"Flags":0,"Description":"Scheme to use for connecting to the host. Defaults to HTTP."}}}},{"2":{"Name":"IoK8SApiCoreV1HttpHeader","Properties":{"name":{"Type":4,"Flags":1,"Description":"The header field name"},"value":{"Type":4,"Flags":1,"Description":"The header field value"}}}},{"3":{"ItemType":70}},{"2":{"Name":"IoK8SApiCoreV1TCPSocketAction","Properties":{"host":{"Type":4,"Flags":0,"Description":"Optional: Host name to connect to, defaults to the pod IP."},"port":{"Type":4,"Flags":1,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."}}}},{"2":{"Name":"IoK8SApiCoreV1Probe","Properties":{"exec":{"Type":67,"Flags":0,"Description":"ExecAction describes a \"run in container\" action."},"failureThreshold":{"Type":3,"Flags":0,"Description":"Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1."},"httpGet":{"Type":69,"Flags":0,"Description":"HTTPGetAction describes an action based on HTTP Get requests."},"initialDelaySeconds":{"Type":3,"Flags":0,"Description":"Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"},"periodSeconds":{"Type":3,"Flags":0,"Description":"How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."},"successThreshold":{"Type":3,"Flags":0,"Description":"Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1."},"tcpSocket":{"Type":72,"Flags":0,"Description":"TCPSocketAction describes an action based on opening a socket"},"timeoutSeconds":{"Type":3,"Flags":0,"Description":"Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}}}},{"2":{"Name":"IoK8SApiCoreV1ContainerPort","Properties":{"containerPort":{"Type":3,"Flags":1,"Description":"Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536."},"hostIP":{"Type":4,"Flags":0,"Description":"What host IP to bind the external port to."},"hostPort":{"Type":3,"Flags":0,"Description":"Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this."},"name":{"Type":4,"Flags":0,"Description":"If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services."},"protocol":{"Type":4,"Flags":0,"Description":"Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\"."}}}},{"3":{"ItemType":74}},{"2":{"Name":"IoK8SApiCoreV1ResourceRequirements","Properties":{"limits":{"Type":77,"Flags":0,"Description":"Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"},"requests":{"Type":78,"Flags":0,"Description":"Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"}}}},{"2":{"Name":"IoK8SApiCoreV1ResourceRequirementsLimits","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1ResourceRequirementsRequests","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1SecurityContext","Properties":{"allowPrivilegeEscalation":{"Type":2,"Flags":0,"Description":"AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN"},"capabilities":{"Type":80,"Flags":0,"Description":"Adds and removes POSIX capabilities from running containers."},"privileged":{"Type":2,"Flags":0,"Description":"Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false."},"procMount":{"Type":4,"Flags":0,"Description":"procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled."},"readOnlyRootFilesystem":{"Type":2,"Flags":0,"Description":"Whether this container has a read-only root filesystem. Default is false."},"runAsGroup":{"Type":3,"Flags":0,"Description":"The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."},"runAsNonRoot":{"Type":2,"Flags":0,"Description":"Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."},"runAsUser":{"Type":3,"Flags":0,"Description":"The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."},"seLinuxOptions":{"Type":83,"Flags":0,"Description":"SELinuxOptions are the labels to be applied to the container"},"seccompProfile":{"Type":84,"Flags":0,"Description":"SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set."},"windowsOptions":{"Type":85,"Flags":0,"Description":"WindowsSecurityContextOptions contain Windows-specific options and credentials."}}}},{"2":{"Name":"IoK8SApiCoreV1Capabilities","Properties":{"add":{"Type":81,"Flags":0,"Description":"Added capabilities"},"drop":{"Type":82,"Flags":0,"Description":"Removed capabilities"}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1SELinuxOptions","Properties":{"level":{"Type":4,"Flags":0,"Description":"Level is SELinux level label that applies to the container."},"role":{"Type":4,"Flags":0,"Description":"Role is a SELinux role label that applies to the container."},"type":{"Type":4,"Flags":0,"Description":"Type is a SELinux type label that applies to the container."},"user":{"Type":4,"Flags":0,"Description":"User is a SELinux user label that applies to the container."}}}},{"2":{"Name":"IoK8SApiCoreV1SeccompProfile","Properties":{"localhostProfile":{"Type":4,"Flags":0,"Description":"localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is \"Localhost\"."},"type":{"Type":4,"Flags":1,"Description":"type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied."}}}},{"2":{"Name":"IoK8SApiCoreV1WindowsSecurityContextOptions","Properties":{"gmsaCredentialSpec":{"Type":4,"Flags":0,"Description":"GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field."},"gmsaCredentialSpecName":{"Type":4,"Flags":0,"Description":"GMSACredentialSpecName is the name of the GMSA credential spec to use."},"runAsUserName":{"Type":4,"Flags":0,"Description":"The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."}}}},{"2":{"Name":"IoK8SApiCoreV1VolumeDevice","Properties":{"devicePath":{"Type":4,"Flags":1,"Description":"devicePath is the path inside of the container that the device will be mapped to."},"name":{"Type":4,"Flags":1,"Description":"name must match the name of a persistentVolumeClaim in the pod"}}}},{"3":{"ItemType":86}},{"2":{"Name":"IoK8SApiCoreV1VolumeMount","Properties":{"mountPath":{"Type":4,"Flags":1,"Description":"Path within the container at which the volume should be mounted. Must not contain ':'."},"mountPropagation":{"Type":4,"Flags":0,"Description":"mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10."},"name":{"Type":4,"Flags":1,"Description":"This must match the Name of a Volume."},"readOnly":{"Type":2,"Flags":0,"Description":"Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false."},"subPath":{"Type":4,"Flags":0,"Description":"Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root)."},"subPathExpr":{"Type":4,"Flags":0,"Description":"Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive."}}}},{"3":{"ItemType":88}},{"3":{"ItemType":51}},{"2":{"Name":"IoK8SApiCoreV1PodDNSConfig","Properties":{"nameservers":{"Type":92,"Flags":0,"Description":"A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed."},"options":{"Type":94,"Flags":0,"Description":"A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy."},"searches":{"Type":95,"Flags":0,"Description":"A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1PodDNSConfigOption","Properties":{"name":{"Type":4,"Flags":0,"Description":"Required."},"value":{"Type":4,"Flags":0}}}},{"3":{"ItemType":93}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1EphemeralContainer","Properties":{"args":{"Type":97,"Flags":0,"Description":"Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"command":{"Type":98,"Flags":0,"Description":"Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"env":{"Type":99,"Flags":0,"Description":"List of environment variables to set in the container. Cannot be updated."},"envFrom":{"Type":100,"Flags":0,"Description":"List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."},"image":{"Type":4,"Flags":0,"Description":"Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images"},"imagePullPolicy":{"Type":4,"Flags":0,"Description":"Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"},"lifecycle":{"Type":65,"Flags":0,"Description":"Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted."},"livenessProbe":{"Type":73,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"name":{"Type":4,"Flags":1,"Description":"Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers."},"ports":{"Type":101,"Flags":0,"Description":"Ports are not allowed for ephemeral containers."},"readinessProbe":{"Type":73,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"resources":{"Type":76,"Flags":0,"Description":"ResourceRequirements describes the compute resource requirements."},"securityContext":{"Type":79,"Flags":0,"Description":"SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence."},"startupProbe":{"Type":73,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"stdin":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."},"stdinOnce":{"Type":2,"Flags":0,"Description":"Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"},"targetContainerName":{"Type":4,"Flags":0,"Description":"If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature."},"terminationMessagePath":{"Type":4,"Flags":0,"Description":"Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."},"terminationMessagePolicy":{"Type":4,"Flags":0,"Description":"Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."},"tty":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."},"volumeDevices":{"Type":102,"Flags":0,"Description":"volumeDevices is the list of block devices to be used by the container."},"volumeMounts":{"Type":103,"Flags":0,"Description":"Pod volumes to mount into the container's filesystem. Cannot be updated."},"workingDir":{"Type":4,"Flags":0,"Description":"Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":54}},{"3":{"ItemType":61}},{"3":{"ItemType":74}},{"3":{"ItemType":86}},{"3":{"ItemType":88}},{"3":{"ItemType":96}},{"2":{"Name":"IoK8SApiCoreV1HostAlias","Properties":{"hostnames":{"Type":106,"Flags":0,"Description":"Hostnames for the above IP address."},"ip":{"Type":4,"Flags":0,"Description":"IP address of the host file entry."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":105}},{"2":{"Name":"IoK8SApiCoreV1LocalObjectReference","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}}}},{"3":{"ItemType":108}},{"3":{"ItemType":51}},{"2":{"Name":"IoK8SApiCoreV1PodSpecNodeSelector","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PodSpecOverhead","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PodReadinessGate","Properties":{"conditionType":{"Type":4,"Flags":1,"Description":"ConditionType refers to a condition in the pod's condition list with matching type."}}}},{"3":{"ItemType":113}},{"2":{"Name":"IoK8SApiCoreV1PodSecurityContext","Properties":{"fsGroup":{"Type":3,"Flags":0,"Description":"A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume."},"fsGroupChangePolicy":{"Type":4,"Flags":0,"Description":"fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified defaults to \"Always\"."},"runAsGroup":{"Type":3,"Flags":0,"Description":"The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."},"runAsNonRoot":{"Type":2,"Flags":0,"Description":"Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."},"runAsUser":{"Type":3,"Flags":0,"Description":"The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."},"seLinuxOptions":{"Type":83,"Flags":0,"Description":"SELinuxOptions are the labels to be applied to the container"},"seccompProfile":{"Type":84,"Flags":0,"Description":"SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set."},"supplementalGroups":{"Type":116,"Flags":0,"Description":"A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container."},"sysctls":{"Type":118,"Flags":0,"Description":"Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch."},"windowsOptions":{"Type":85,"Flags":0,"Description":"WindowsSecurityContextOptions contain Windows-specific options and credentials."}}}},{"3":{"ItemType":3}},{"2":{"Name":"IoK8SApiCoreV1Sysctl","Properties":{"name":{"Type":4,"Flags":1,"Description":"Name of a property to set"},"value":{"Type":4,"Flags":1,"Description":"Value of a property to set"}}}},{"3":{"ItemType":117}},{"2":{"Name":"IoK8SApiCoreV1Toleration","Properties":{"effect":{"Type":4,"Flags":0,"Description":"Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute."},"key":{"Type":4,"Flags":0,"Description":"Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys."},"operator":{"Type":4,"Flags":0,"Description":"Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category."},"tolerationSeconds":{"Type":3,"Flags":0,"Description":"TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system."},"value":{"Type":4,"Flags":0,"Description":"Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string."}}}},{"3":{"ItemType":119}},{"2":{"Name":"IoK8SApiCoreV1TopologySpreadConstraint","Properties":{"labelSelector":{"Type":24,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"maxSkew":{"Type":3,"Flags":1,"Description":"MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed."},"topologyKey":{"Type":4,"Flags":1,"Description":"TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. It's a required field."},"whenUnsatisfiable":{"Type":4,"Flags":1,"Description":"WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assigment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field."}}}},{"3":{"ItemType":121}},{"2":{"Name":"IoK8SApiCoreV1Volume","Properties":{"awsElasticBlockStore":{"Type":124,"Flags":0,"Description":"Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling."},"azureDisk":{"Type":125,"Flags":0,"Description":"AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."},"azureFile":{"Type":126,"Flags":0,"Description":"AzureFile represents an Azure File Service mount on the host and bind mount to the pod."},"cephfs":{"Type":127,"Flags":0,"Description":"Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling."},"cinder":{"Type":129,"Flags":0,"Description":"Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling."},"configMap":{"Type":130,"Flags":0,"Description":"Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling."},"csi":{"Type":133,"Flags":0,"Description":"Represents a source location of a volume to mount, managed by an external CSI driver"},"downwardAPI":{"Type":135,"Flags":0,"Description":"DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling."},"emptyDir":{"Type":138,"Flags":0,"Description":"Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling."},"ephemeral":{"Type":139,"Flags":0,"Description":"Represents an ephemeral volume that is handled by a normal storage driver."},"fc":{"Type":144,"Flags":0,"Description":"Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling."},"flexVolume":{"Type":147,"Flags":0,"Description":"FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin."},"flocker":{"Type":149,"Flags":0,"Description":"Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling."},"gcePersistentDisk":{"Type":150,"Flags":0,"Description":"Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling."},"gitRepo":{"Type":151,"Flags":0,"Description":"Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container."},"glusterfs":{"Type":152,"Flags":0,"Description":"Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling."},"hostPath":{"Type":153,"Flags":0,"Description":"Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling."},"iscsi":{"Type":154,"Flags":0,"Description":"Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling."},"name":{"Type":4,"Flags":1,"Description":"Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"nfs":{"Type":156,"Flags":0,"Description":"Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling."},"persistentVolumeClaim":{"Type":157,"Flags":0,"Description":"PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system)."},"photonPersistentDisk":{"Type":158,"Flags":0,"Description":"Represents a Photon Controller persistent disk resource."},"portworxVolume":{"Type":159,"Flags":0,"Description":"PortworxVolumeSource represents a Portworx volume resource."},"projected":{"Type":160,"Flags":0,"Description":"Represents a projected volume source"},"quobyte":{"Type":170,"Flags":0,"Description":"Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling."},"rbd":{"Type":171,"Flags":0,"Description":"Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling."},"scaleIO":{"Type":173,"Flags":0,"Description":"ScaleIOVolumeSource represents a persistent ScaleIO volume"},"secret":{"Type":174,"Flags":0,"Description":"Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling."},"storageos":{"Type":176,"Flags":0,"Description":"Represents a StorageOS persistent volume resource."},"vsphereVolume":{"Type":177,"Flags":0,"Description":"Represents a vSphere volume resource."}}}},{"2":{"Name":"IoK8SApiCoreV1AWSElasticBlockStoreVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"},"partition":{"Type":3,"Flags":0,"Description":"The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty)."},"readOnly":{"Type":2,"Flags":0,"Description":"Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"},"volumeID":{"Type":4,"Flags":1,"Description":"Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"}}}},{"2":{"Name":"IoK8SApiCoreV1AzureDiskVolumeSource","Properties":{"cachingMode":{"Type":4,"Flags":0,"Description":"Host Caching mode: None, Read Only, Read Write."},"diskName":{"Type":4,"Flags":1,"Description":"The Name of the data disk in the blob storage"},"diskURI":{"Type":4,"Flags":1,"Description":"The URI the data disk in the blob storage"},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"kind":{"Type":4,"Flags":0,"Description":"Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared"},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."}}}},{"2":{"Name":"IoK8SApiCoreV1AzureFileVolumeSource","Properties":{"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretName":{"Type":4,"Flags":1,"Description":"the name of secret that contains Azure Storage Account Name and Key"},"shareName":{"Type":4,"Flags":1,"Description":"Share Name"}}}},{"2":{"Name":"IoK8SApiCoreV1CephFSVolumeSource","Properties":{"monitors":{"Type":128,"Flags":1,"Description":"Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"path":{"Type":4,"Flags":0,"Description":"Optional: Used as the mounted root, rather than the full Ceph tree, default is /"},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"secretFile":{"Type":4,"Flags":0,"Description":"Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"secretRef":{"Type":108,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"user":{"Type":4,"Flags":0,"Description":"Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1CinderVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"},"secretRef":{"Type":108,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"volumeID":{"Type":4,"Flags":1,"Description":"volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"items":{"Type":132,"Flags":0,"Description":"If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the ConfigMap or its keys must be defined"}}}},{"2":{"Name":"IoK8SApiCoreV1KeyToPath","Properties":{"key":{"Type":4,"Flags":1,"Description":"The key to project."},"mode":{"Type":3,"Flags":0,"Description":"Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"path":{"Type":4,"Flags":1,"Description":"The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'."}}}},{"3":{"ItemType":131}},{"2":{"Name":"IoK8SApiCoreV1CSIVolumeSource","Properties":{"driver":{"Type":4,"Flags":1,"Description":"Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster."},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply."},"nodePublishSecretRef":{"Type":108,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"readOnly":{"Type":2,"Flags":0,"Description":"Specifies a read-only configuration for the volume. Defaults to false (read/write)."},"volumeAttributes":{"Type":134,"Flags":0,"Description":"VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values."}}}},{"2":{"Name":"IoK8SApiCoreV1CSIVolumeSourceVolumeAttributes","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1DownwardAPIVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"items":{"Type":137,"Flags":0,"Description":"Items is a list of downward API volume file"}}}},{"2":{"Name":"IoK8SApiCoreV1DownwardAPIVolumeFile","Properties":{"fieldRef":{"Type":57,"Flags":0,"Description":"ObjectFieldSelector selects an APIVersioned field of an object."},"mode":{"Type":3,"Flags":0,"Description":"Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"path":{"Type":4,"Flags":1,"Description":"Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'"},"resourceFieldRef":{"Type":58,"Flags":0,"Description":"ResourceFieldSelector represents container resources (cpu, memory) and their output format"}}}},{"3":{"ItemType":136}},{"2":{"Name":"IoK8SApiCoreV1EmptyDirVolumeSource","Properties":{"medium":{"Type":4,"Flags":0,"Description":"What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir"},"sizeLimit":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."}}}},{"2":{"Name":"IoK8SApiCoreV1EphemeralVolumeSource","Properties":{"readOnly":{"Type":2,"Flags":0,"Description":"Specifies a read-only configuration for the volume. Defaults to false (read/write)."},"volumeClaimTemplate":{"Type":140,"Flags":0,"Description":"PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource."}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimTemplate","Properties":{"metadata":{"Type":15,"Flags":0,"Description":"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."},"spec":{"Type":141,"Flags":1,"Description":"PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes"}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimSpec","Properties":{"accessModes":{"Type":142,"Flags":0,"Description":"AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"},"dataSource":{"Type":143,"Flags":0,"Description":"TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace."},"resources":{"Type":76,"Flags":0,"Description":"ResourceRequirements describes the compute resource requirements."},"selector":{"Type":24,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"storageClassName":{"Type":4,"Flags":0,"Description":"Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1"},"volumeMode":{"Type":4,"Flags":0,"Description":"volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec."},"volumeName":{"Type":4,"Flags":0,"Description":"VolumeName is the binding reference to the PersistentVolume backing this claim."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1TypedLocalObjectReference","Properties":{"apiGroup":{"Type":4,"Flags":0,"Description":"APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required."},"kind":{"Type":4,"Flags":1,"Description":"Kind is the type of resource being referenced"},"name":{"Type":4,"Flags":1,"Description":"Name is the name of resource being referenced"}}}},{"2":{"Name":"IoK8SApiCoreV1FCVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"lun":{"Type":3,"Flags":0,"Description":"Optional: FC target lun number"},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"targetWWNs":{"Type":145,"Flags":0,"Description":"Optional: FC target worldwide names (WWNs)"},"wwids":{"Type":146,"Flags":0,"Description":"Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1FlexVolumeSource","Properties":{"driver":{"Type":4,"Flags":1,"Description":"Driver is the name of the driver to use for this volume."},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script."},"options":{"Type":148,"Flags":0,"Description":"Optional: Extra command options if any."},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":108,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."}}}},{"2":{"Name":"IoK8SApiCoreV1FlexVolumeSourceOptions","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1FlockerVolumeSource","Properties":{"datasetName":{"Type":4,"Flags":0,"Description":"Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated"},"datasetUUID":{"Type":4,"Flags":0,"Description":"UUID of the dataset. This is unique identifier of a Flocker dataset"}}}},{"2":{"Name":"IoK8SApiCoreV1GCEPersistentDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"partition":{"Type":3,"Flags":0,"Description":"The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"pdName":{"Type":4,"Flags":1,"Description":"Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"}}}},{"2":{"Name":"IoK8SApiCoreV1GitRepoVolumeSource","Properties":{"directory":{"Type":4,"Flags":0,"Description":"Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name."},"repository":{"Type":4,"Flags":1,"Description":"Repository URL"},"revision":{"Type":4,"Flags":0,"Description":"Commit hash for the specified revision."}}}},{"2":{"Name":"IoK8SApiCoreV1GlusterfsVolumeSource","Properties":{"endpoints":{"Type":4,"Flags":1,"Description":"EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"path":{"Type":4,"Flags":1,"Description":"Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"}}}},{"2":{"Name":"IoK8SApiCoreV1HostPathVolumeSource","Properties":{"path":{"Type":4,"Flags":1,"Description":"Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"},"type":{"Type":4,"Flags":0,"Description":"Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"}}}},{"2":{"Name":"IoK8SApiCoreV1IscsiVolumeSource","Properties":{"chapAuthDiscovery":{"Type":2,"Flags":0,"Description":"whether support iSCSI Discovery CHAP authentication"},"chapAuthSession":{"Type":2,"Flags":0,"Description":"whether support iSCSI Session CHAP authentication"},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi"},"initiatorName":{"Type":4,"Flags":0,"Description":"Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection."},"iqn":{"Type":4,"Flags":1,"Description":"Target iSCSI Qualified Name."},"iscsiInterface":{"Type":4,"Flags":0,"Description":"iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."},"lun":{"Type":3,"Flags":1,"Description":"iSCSI Target Lun number."},"portals":{"Type":155,"Flags":0,"Description":"iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."},"secretRef":{"Type":108,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"targetPortal":{"Type":4,"Flags":1,"Description":"iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1NFSVolumeSource","Properties":{"path":{"Type":4,"Flags":1,"Description":"Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"},"server":{"Type":4,"Flags":1,"Description":"Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimVolumeSource","Properties":{"claimName":{"Type":4,"Flags":1,"Description":"ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"},"readOnly":{"Type":2,"Flags":0,"Description":"Will force the ReadOnly setting in VolumeMounts. Default false."}}}},{"2":{"Name":"IoK8SApiCoreV1PhotonPersistentDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"pdID":{"Type":4,"Flags":1,"Description":"ID that identifies Photon Controller persistent disk"}}}},{"2":{"Name":"IoK8SApiCoreV1PortworxVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified."},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"volumeID":{"Type":4,"Flags":1,"Description":"VolumeID uniquely identifies a Portworx volume"}}}},{"2":{"Name":"IoK8SApiCoreV1ProjectedVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"Mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"sources":{"Type":169,"Flags":1,"Description":"list of volume projections"}}}},{"2":{"Name":"IoK8SApiCoreV1VolumeProjection","Properties":{"configMap":{"Type":162,"Flags":0,"Description":"Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode."},"downwardAPI":{"Type":164,"Flags":0,"Description":"Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode."},"secret":{"Type":166,"Flags":0,"Description":"Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode."},"serviceAccountToken":{"Type":168,"Flags":0,"Description":"ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise)."}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapProjection","Properties":{"items":{"Type":163,"Flags":0,"Description":"If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the ConfigMap or its keys must be defined"}}}},{"3":{"ItemType":131}},{"2":{"Name":"IoK8SApiCoreV1DownwardAPIProjection","Properties":{"items":{"Type":165,"Flags":0,"Description":"Items is a list of DownwardAPIVolume file"}}}},{"3":{"ItemType":136}},{"2":{"Name":"IoK8SApiCoreV1SecretProjection","Properties":{"items":{"Type":167,"Flags":0,"Description":"If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the Secret or its key must be defined"}}}},{"3":{"ItemType":131}},{"2":{"Name":"IoK8SApiCoreV1ServiceAccountTokenProjection","Properties":{"audience":{"Type":4,"Flags":0,"Description":"Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver."},"expirationSeconds":{"Type":3,"Flags":0,"Description":"ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes."},"path":{"Type":4,"Flags":1,"Description":"Path is the path relative to the mount point of the file to project the token into."}}}},{"3":{"ItemType":161}},{"2":{"Name":"IoK8SApiCoreV1QuobyteVolumeSource","Properties":{"group":{"Type":4,"Flags":0,"Description":"Group to map volume access to Default is no group"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false."},"registry":{"Type":4,"Flags":1,"Description":"Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes"},"tenant":{"Type":4,"Flags":0,"Description":"Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin"},"user":{"Type":4,"Flags":0,"Description":"User to map volume access to Defaults to serivceaccount user"},"volume":{"Type":4,"Flags":1,"Description":"Volume is a string that references an already created Quobyte volume by name."}}}},{"2":{"Name":"IoK8SApiCoreV1RBDVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd"},"image":{"Type":4,"Flags":1,"Description":"The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"keyring":{"Type":4,"Flags":0,"Description":"Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"monitors":{"Type":172,"Flags":1,"Description":"A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"pool":{"Type":4,"Flags":0,"Description":"The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"secretRef":{"Type":108,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"user":{"Type":4,"Flags":0,"Description":"The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1ScaleIOVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"."},"gateway":{"Type":4,"Flags":1,"Description":"The host address of the ScaleIO API Gateway."},"protectionDomain":{"Type":4,"Flags":0,"Description":"The name of the ScaleIO Protection Domain for the configured storage."},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":108,"Flags":1,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"sslEnabled":{"Type":2,"Flags":0,"Description":"Flag to enable/disable SSL communication with Gateway, default false"},"storageMode":{"Type":4,"Flags":0,"Description":"Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned."},"storagePool":{"Type":4,"Flags":0,"Description":"The ScaleIO Storage Pool associated with the protection domain."},"system":{"Type":4,"Flags":1,"Description":"The name of the storage system as configured in ScaleIO."},"volumeName":{"Type":4,"Flags":0,"Description":"The name of a volume already created in the ScaleIO system that is associated with this volume source."}}}},{"2":{"Name":"IoK8SApiCoreV1SecretVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"items":{"Type":175,"Flags":0,"Description":"If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the Secret or its keys must be defined"},"secretName":{"Type":4,"Flags":0,"Description":"Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret"}}}},{"3":{"ItemType":131}},{"2":{"Name":"IoK8SApiCoreV1StorageOSVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":108,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"volumeName":{"Type":4,"Flags":0,"Description":"VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace."},"volumeNamespace":{"Type":4,"Flags":0,"Description":"VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created."}}}},{"2":{"Name":"IoK8SApiCoreV1VsphereVirtualDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"storagePolicyID":{"Type":4,"Flags":0,"Description":"Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName."},"storagePolicyName":{"Type":4,"Flags":0,"Description":"Storage Policy Based Management (SPBM) profile name."},"volumePath":{"Type":4,"Flags":1,"Description":"Path that identifies vSphere volume vmdk"}}}},{"3":{"ItemType":123}},{"2":{"Name":"IoK8SApiBatchV1Beta1CronJobStatus","Properties":{"active":{"Type":181,"Flags":0,"Description":"A list of pointers to currently running jobs."},"lastScheduleTime":{"Type":4,"Flags":0,"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."}}}},{"2":{"Name":"IoK8SApiCoreV1ObjectReference","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"API version of the referent."},"fieldPath":{"Type":4,"Flags":0,"Description":"If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object."},"kind":{"Type":4,"Flags":0,"Description":"Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"namespace":{"Type":4,"Flags":0,"Description":"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"},"resourceVersion":{"Type":4,"Flags":0,"Description":"Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"},"uid":{"Type":4,"Flags":0,"Description":"UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids"}}}},{"3":{"ItemType":180}},{"2":{"Name":"batch/CronJob","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":0,"Description":"CronJobSpec describes how the job execution will look like and when it will actually run."},"status":{"Type":179,"Flags":0,"Description":"CronJobStatus represents the current state of a cron job."}}}},{"4":{"Name":"batch/CronJob@v1beta1","ScopeType":0,"Body":182,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "CronJob" + }, + { + "$type": "StringLiteralType", + "value": "batch/v1beta1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiBatchV1Beta1CronJobSpec", + "properties": { + "concurrencyPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one" + }, + "failedJobsHistoryLimit": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1." + }, + "jobTemplate": { + "type": { + "$ref": "#/8" + }, + "flags": 1, + "description": "JobTemplateSpec describes the data a Job should have when created from a template" + }, + "schedule": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron." + }, + "startingDeadlineSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "successfulJobsHistoryLimit": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3." + }, + "suspend": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiBatchV1Beta1JobTemplateSpec", + "properties": { + "metadata": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create." + }, + "spec": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "JobSpec describes how the job execution will look like." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ObjectMeta", + "properties": { + "annotations": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations" + }, + "clusterName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request." + }, + "creationTimestamp": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "deletionGracePeriodSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only." + }, + "deletionTimestamp": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "finalizers": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list." + }, + "generateName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency" + }, + "generation": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only." + }, + "labels": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels" + }, + "managedFields": { + "type": { + "$ref": "#/15" + }, + "flags": 0, + "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces" + }, + "ownerReferences": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller." + }, + "resourceVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + }, + "selfLink": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release." + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ObjectMetaAnnotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ObjectMetaLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ManagedFieldsEntry", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted." + }, + "fieldsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"" + }, + "fieldsV1": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "Any object" + }, + "manager": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Manager is an identifier of the workflow managing these fields." + }, + "operation": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'." + }, + "time": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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": "AnyType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/13" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1OwnerReference", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "API version of the referent." + }, + "blockOwnerDeletion": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned." + }, + "controller": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "If true, this reference points to the managing controller." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names" + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids" + } + } + }, + { + "$type": "BooleanType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/16" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiBatchV1JobSpec", + "properties": { + "activeDeadlineSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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" + }, + "backoffLimit": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Specifies the number of retries before marking this job failed. Defaults to 6" + }, + "completions": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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/" + }, + "manualSelector": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "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" + }, + "parallelism": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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/" + }, + "selector": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "template": { + "type": { + "$ref": "#/25" + }, + "flags": 1, + "description": "PodTemplateSpec describes the data a pod should have when created from a template" + }, + "ttlSecondsAfterFinished": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelector", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." + }, + "matchLabels": { + "type": { + "$ref": "#/24" + }, + "flags": 0, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/21" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodTemplateSpec", + "properties": { + "metadata": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create." + }, + "spec": { + "type": { + "$ref": "#/26" + }, + "flags": 0, + "description": "PodSpec is a description of a pod." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSpec", + "properties": { + "activeDeadlineSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer." + }, + "affinity": { + "type": { + "$ref": "#/27" + }, + "flags": 0, + "description": "Affinity is a group of affinity scheduling rules." + }, + "automountServiceAccountToken": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted." + }, + "containers": { + "type": { + "$ref": "#/86" + }, + "flags": 1, + "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated." + }, + "dnsConfig": { + "type": { + "$ref": "#/87" + }, + "flags": 0, + "description": "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy." + }, + "dnsPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'." + }, + "enableServiceLinks": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true." + }, + "ephemeralContainers": { + "type": { + "$ref": "#/100" + }, + "flags": 0, + "description": "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature." + }, + "hostAliases": { + "type": { + "$ref": "#/103" + }, + "flags": 0, + "description": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods." + }, + "hostIPC": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Use the host's ipc namespace. Optional: Default to false." + }, + "hostNetwork": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false." + }, + "hostPID": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Use the host's pid namespace. Optional: Default to false." + }, + "hostname": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value." + }, + "imagePullSecrets": { + "type": { + "$ref": "#/105" + }, + "flags": 0, + "description": "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod" + }, + "initContainers": { + "type": { + "$ref": "#/106" + }, + "flags": 0, + "description": "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/" + }, + "nodeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements." + }, + "nodeSelector": { + "type": { + "$ref": "#/107" + }, + "flags": 0, + "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/" + }, + "overhead": { + "type": { + "$ref": "#/108" + }, + "flags": 0, + "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature." + }, + "preemptionPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate." + }, + "priority": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority." + }, + "priorityClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default." + }, + "readinessGates": { + "type": { + "$ref": "#/110" + }, + "flags": 0, + "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md" + }, + "restartPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy" + }, + "runtimeClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14." + }, + "schedulerName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler." + }, + "securityContext": { + "type": { + "$ref": "#/111" + }, + "flags": 0, + "description": "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext." + }, + "serviceAccount": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead." + }, + "serviceAccountName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/" + }, + "setHostnameAsFQDN": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false." + }, + "shareProcessNamespace": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false." + }, + "subdomain": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all." + }, + "terminationGracePeriodSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds." + }, + "tolerations": { + "type": { + "$ref": "#/116" + }, + "flags": 0, + "description": "If specified, the pod's tolerations." + }, + "topologySpreadConstraints": { + "type": { + "$ref": "#/118" + }, + "flags": 0, + "description": "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed." + }, + "volumes": { + "type": { + "$ref": "#/174" + }, + "flags": 0, + "description": "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Affinity", + "properties": { + "nodeAffinity": { + "type": { + "$ref": "#/28" + }, + "flags": 0, + "description": "Node affinity is a group of node affinity scheduling rules." + }, + "podAffinity": { + "type": { + "$ref": "#/38" + }, + "flags": 0, + "description": "Pod affinity is a group of inter pod affinity scheduling rules." + }, + "podAntiAffinity": { + "type": { + "$ref": "#/44" + }, + "flags": 0, + "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeAffinity", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/35" + }, + "flags": 0, + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred." + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/36" + }, + "flags": 0, + "description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PreferredSchedulingTerm", + "properties": { + "preference": { + "type": { + "$ref": "#/30" + }, + "flags": 1, + "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm." + }, + "weight": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelectorTerm", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/33" + }, + "flags": 0, + "description": "A list of node selector requirements by node's labels." + }, + "matchFields": { + "type": { + "$ref": "#/34" + }, + "flags": 0, + "description": "A list of node selector requirements by node's fields." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + }, + "values": { + "type": { + "$ref": "#/32" + }, + "flags": 0, + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/31" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/31" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/29" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelector", + "properties": { + "nodeSelectorTerms": { + "type": { + "$ref": "#/37" + }, + "flags": 1, + "description": "Required. A list of node selector terms. The terms are ORed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/30" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodAffinity", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/42" + }, + "flags": 0, + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred." + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/43" + }, + "flags": 0, + "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1WeightedPodAffinityTerm", + "properties": { + "podAffinityTerm": { + "type": { + "$ref": "#/40" + }, + "flags": 1, + "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running" + }, + "weight": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodAffinityTerm", + "properties": { + "labelSelector": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "namespaces": { + "type": { + "$ref": "#/41" + }, + "flags": 0, + "description": "namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means \"this pod's namespace\"" + }, + "topologyKey": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/39" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/40" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodAntiAffinity", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/45" + }, + "flags": 0, + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred." + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/46" + }, + "flags": 0, + "description": "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/39" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/40" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Container", + "properties": { + "args": { + "type": { + "$ref": "#/48" + }, + "flags": 0, + "description": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "command": { + "type": { + "$ref": "#/49" + }, + "flags": 0, + "description": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "env": { + "type": { + "$ref": "#/56" + }, + "flags": 0, + "description": "List of environment variables to set in the container. Cannot be updated." + }, + "envFrom": { + "type": { + "$ref": "#/60" + }, + "flags": 0, + "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated." + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets." + }, + "imagePullPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images" + }, + "lifecycle": { + "type": { + "$ref": "#/61" + }, + "flags": 0, + "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted." + }, + "livenessProbe": { + "type": { + "$ref": "#/69" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated." + }, + "ports": { + "type": { + "$ref": "#/71" + }, + "flags": 0, + "description": "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated." + }, + "readinessProbe": { + "type": { + "$ref": "#/69" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "resources": { + "type": { + "$ref": "#/72" + }, + "flags": 0, + "description": "ResourceRequirements describes the compute resource requirements." + }, + "securityContext": { + "type": { + "$ref": "#/75" + }, + "flags": 0, + "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence." + }, + "startupProbe": { + "type": { + "$ref": "#/69" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "stdin": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false." + }, + "stdinOnce": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false" + }, + "terminationMessagePath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated." + }, + "terminationMessagePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated." + }, + "tty": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false." + }, + "volumeDevices": { + "type": { + "$ref": "#/83" + }, + "flags": 0, + "description": "volumeDevices is the list of block devices to be used by the container." + }, + "volumeMounts": { + "type": { + "$ref": "#/85" + }, + "flags": 0, + "description": "Pod volumes to mount into the container's filesystem. Cannot be updated." + }, + "workingDir": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EnvVar", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the environment variable. Must be a C_IDENTIFIER." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\"." + }, + "valueFrom": { + "type": { + "$ref": "#/51" + }, + "flags": 0, + "description": "EnvVarSource represents a source for the value of an EnvVar." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EnvVarSource", + "properties": { + "configMapKeyRef": { + "type": { + "$ref": "#/52" + }, + "flags": 0, + "description": "Selects a key from a ConfigMap." + }, + "fieldRef": { + "type": { + "$ref": "#/53" + }, + "flags": 0, + "description": "ObjectFieldSelector selects an APIVersioned field of an object." + }, + "resourceFieldRef": { + "type": { + "$ref": "#/54" + }, + "flags": 0, + "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format" + }, + "secretKeyRef": { + "type": { + "$ref": "#/55" + }, + "flags": 0, + "description": "SecretKeySelector selects a key of a Secret." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapKeySelector", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The key to select." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Specify whether the ConfigMap or its key must be defined" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ObjectFieldSelector", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." + }, + "fieldPath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path of the field to select in the specified API version." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceFieldSelector", + "properties": { + "containerName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container name: required for volumes, optional for env vars" + }, + "divisor": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + }, + "resource": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Required: resource to select" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretKeySelector", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The key of the secret to select from. Must be a valid secret key." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Specify whether the Secret or its key must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/50" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EnvFromSource", + "properties": { + "configMapRef": { + "type": { + "$ref": "#/58" + }, + "flags": 0, + "description": "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables." + }, + "prefix": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER." + }, + "secretRef": { + "type": { + "$ref": "#/59" + }, + "flags": 0, + "description": "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapEnvSource", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Specify whether the ConfigMap must be defined" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretEnvSource", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Specify whether the Secret must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/57" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Lifecycle", + "properties": { + "postStart": { + "type": { + "$ref": "#/62" + }, + "flags": 0, + "description": "Handler defines a specific action that should be taken" + }, + "preStop": { + "type": { + "$ref": "#/62" + }, + "flags": 0, + "description": "Handler defines a specific action that should be taken" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Handler", + "properties": { + "exec": { + "type": { + "$ref": "#/63" + }, + "flags": 0, + "description": "ExecAction describes a \"run in container\" action." + }, + "httpGet": { + "type": { + "$ref": "#/65" + }, + "flags": 0, + "description": "HTTPGetAction describes an action based on HTTP Get requests." + }, + "tcpSocket": { + "type": { + "$ref": "#/68" + }, + "flags": 0, + "description": "TCPSocketAction describes an action based on opening a socket" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ExecAction", + "properties": { + "command": { + "type": { + "$ref": "#/64" + }, + "flags": 0, + "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HttpGetAction", + "properties": { + "host": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead." + }, + "httpHeaders": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "Custom headers to set in the request. HTTP allows repeated headers." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Path to access on the HTTP server." + }, + "port": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + }, + "scheme": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Scheme to use for connecting to the host. Defaults to HTTP." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HttpHeader", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The header field name" + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The header field value" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/66" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TCPSocketAction", + "properties": { + "host": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Host name to connect to, defaults to the pod IP." + }, + "port": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Probe", + "properties": { + "exec": { + "type": { + "$ref": "#/63" + }, + "flags": 0, + "description": "ExecAction describes a \"run in container\" action." + }, + "failureThreshold": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." + }, + "httpGet": { + "type": { + "$ref": "#/65" + }, + "flags": 0, + "description": "HTTPGetAction describes an action based on HTTP Get requests." + }, + "initialDelaySeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + }, + "periodSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." + }, + "successThreshold": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1." + }, + "tcpSocket": { + "type": { + "$ref": "#/68" + }, + "flags": 0, + "description": "TCPSocketAction describes an action based on opening a socket" + }, + "timeoutSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ContainerPort", + "properties": { + "containerPort": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536." + }, + "hostIP": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "What host IP to bind the external port to." + }, + "hostPort": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services." + }, + "protocol": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\"." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/70" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceRequirements", + "properties": { + "limits": { + "type": { + "$ref": "#/73" + }, + "flags": 0, + "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/" + }, + "requests": { + "type": { + "$ref": "#/74" + }, + "flags": 0, + "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceRequirementsLimits", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceRequirementsRequests", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecurityContext", + "properties": { + "allowPrivilegeEscalation": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN" + }, + "capabilities": { + "type": { + "$ref": "#/76" + }, + "flags": 0, + "description": "Adds and removes POSIX capabilities from running containers." + }, + "privileged": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false." + }, + "procMount": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled." + }, + "readOnlyRootFilesystem": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Whether this container has a read-only root filesystem. Default is false." + }, + "runAsGroup": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + }, + "runAsNonRoot": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + }, + "runAsUser": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + }, + "seLinuxOptions": { + "type": { + "$ref": "#/79" + }, + "flags": 0, + "description": "SELinuxOptions are the labels to be applied to the container" + }, + "seccompProfile": { + "type": { + "$ref": "#/80" + }, + "flags": 0, + "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set." + }, + "windowsOptions": { + "type": { + "$ref": "#/81" + }, + "flags": 0, + "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Capabilities", + "properties": { + "add": { + "type": { + "$ref": "#/77" + }, + "flags": 0, + "description": "Added capabilities" + }, + "drop": { + "type": { + "$ref": "#/78" + }, + "flags": 0, + "description": "Removed capabilities" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SELinuxOptions", + "properties": { + "level": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Level is SELinux level label that applies to the container." + }, + "role": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Role is a SELinux role label that applies to the container." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Type is a SELinux type label that applies to the container." + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "User is a SELinux user label that applies to the container." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SeccompProfile", + "properties": { + "localhostProfile": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is \"Localhost\"." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1WindowsSecurityContextOptions", + "properties": { + "gmsaCredentialSpec": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field." + }, + "gmsaCredentialSpecName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use." + }, + "runAsUserName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeDevice", + "properties": { + "devicePath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "devicePath is the path inside of the container that the device will be mapped to." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name must match the name of a persistentVolumeClaim in the pod" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/82" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeMount", + "properties": { + "mountPath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path within the container at which the volume should be mounted. Must not contain ':'." + }, + "mountPropagation": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "This must match the Name of a Volume." + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false." + }, + "subPath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root)." + }, + "subPathExpr": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/84" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/47" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodDNSConfig", + "properties": { + "nameservers": { + "type": { + "$ref": "#/88" + }, + "flags": 0, + "description": "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed." + }, + "options": { + "type": { + "$ref": "#/90" + }, + "flags": 0, + "description": "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy." + }, + "searches": { + "type": { + "$ref": "#/91" + }, + "flags": 0, + "description": "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodDNSConfigOption", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Required." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/89" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EphemeralContainer", + "properties": { + "args": { + "type": { + "$ref": "#/93" + }, + "flags": 0, + "description": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "command": { + "type": { + "$ref": "#/94" + }, + "flags": 0, + "description": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "env": { + "type": { + "$ref": "#/95" + }, + "flags": 0, + "description": "List of environment variables to set in the container. Cannot be updated." + }, + "envFrom": { + "type": { + "$ref": "#/96" + }, + "flags": 0, + "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated." + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images" + }, + "imagePullPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images" + }, + "lifecycle": { + "type": { + "$ref": "#/61" + }, + "flags": 0, + "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted." + }, + "livenessProbe": { + "type": { + "$ref": "#/69" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers." + }, + "ports": { + "type": { + "$ref": "#/97" + }, + "flags": 0, + "description": "Ports are not allowed for ephemeral containers." + }, + "readinessProbe": { + "type": { + "$ref": "#/69" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "resources": { + "type": { + "$ref": "#/72" + }, + "flags": 0, + "description": "ResourceRequirements describes the compute resource requirements." + }, + "securityContext": { + "type": { + "$ref": "#/75" + }, + "flags": 0, + "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence." + }, + "startupProbe": { + "type": { + "$ref": "#/69" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "stdin": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false." + }, + "stdinOnce": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false" + }, + "targetContainerName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature." + }, + "terminationMessagePath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated." + }, + "terminationMessagePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated." + }, + "tty": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false." + }, + "volumeDevices": { + "type": { + "$ref": "#/98" + }, + "flags": 0, + "description": "volumeDevices is the list of block devices to be used by the container." + }, + "volumeMounts": { + "type": { + "$ref": "#/99" + }, + "flags": 0, + "description": "Pod volumes to mount into the container's filesystem. Cannot be updated." + }, + "workingDir": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/50" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/57" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/70" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/82" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/84" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/92" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HostAlias", + "properties": { + "hostnames": { + "type": { + "$ref": "#/102" + }, + "flags": 0, + "description": "Hostnames for the above IP address." + }, + "ip": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IP address of the host file entry." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/101" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LocalObjectReference", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/104" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/47" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSpecNodeSelector", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSpecOverhead", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodReadinessGate", + "properties": { + "conditionType": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "ConditionType refers to a condition in the pod's condition list with matching type." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/109" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSecurityContext", + "properties": { + "fsGroup": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume." + }, + "fsGroupChangePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified defaults to \"Always\"." + }, + "runAsGroup": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container." + }, + "runAsNonRoot": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + }, + "runAsUser": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container." + }, + "seLinuxOptions": { + "type": { + "$ref": "#/79" + }, + "flags": 0, + "description": "SELinuxOptions are the labels to be applied to the container" + }, + "seccompProfile": { + "type": { + "$ref": "#/80" + }, + "flags": 0, + "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set." + }, + "supplementalGroups": { + "type": { + "$ref": "#/112" + }, + "flags": 0, + "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container." + }, + "sysctls": { + "type": { + "$ref": "#/114" + }, + "flags": 0, + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch." + }, + "windowsOptions": { + "type": { + "$ref": "#/81" + }, + "flags": 0, + "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/7" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Sysctl", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of a property to set" + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Value of a property to set" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/113" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Toleration", + "properties": { + "effect": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute." + }, + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category." + }, + "tolerationSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/115" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TopologySpreadConstraint", + "properties": { + "labelSelector": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "maxSkew": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed." + }, + "topologyKey": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. It's a required field." + }, + "whenUnsatisfiable": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assigment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/117" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Volume", + "properties": { + "awsElasticBlockStore": { + "type": { + "$ref": "#/120" + }, + "flags": 0, + "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling." + }, + "azureDisk": { + "type": { + "$ref": "#/121" + }, + "flags": 0, + "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." + }, + "azureFile": { + "type": { + "$ref": "#/122" + }, + "flags": 0, + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod." + }, + "cephfs": { + "type": { + "$ref": "#/123" + }, + "flags": 0, + "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling." + }, + "cinder": { + "type": { + "$ref": "#/125" + }, + "flags": 0, + "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling." + }, + "configMap": { + "type": { + "$ref": "#/126" + }, + "flags": 0, + "description": "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling." + }, + "csi": { + "type": { + "$ref": "#/129" + }, + "flags": 0, + "description": "Represents a source location of a volume to mount, managed by an external CSI driver" + }, + "downwardAPI": { + "type": { + "$ref": "#/131" + }, + "flags": 0, + "description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling." + }, + "emptyDir": { + "type": { + "$ref": "#/134" + }, + "flags": 0, + "description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling." + }, + "ephemeral": { + "type": { + "$ref": "#/135" + }, + "flags": 0, + "description": "Represents an ephemeral volume that is handled by a normal storage driver." + }, + "fc": { + "type": { + "$ref": "#/140" + }, + "flags": 0, + "description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling." + }, + "flexVolume": { + "type": { + "$ref": "#/143" + }, + "flags": 0, + "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin." + }, + "flocker": { + "type": { + "$ref": "#/145" + }, + "flags": 0, + "description": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling." + }, + "gcePersistentDisk": { + "type": { + "$ref": "#/146" + }, + "flags": 0, + "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling." + }, + "gitRepo": { + "type": { + "$ref": "#/147" + }, + "flags": 0, + "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container." + }, + "glusterfs": { + "type": { + "$ref": "#/148" + }, + "flags": 0, + "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling." + }, + "hostPath": { + "type": { + "$ref": "#/149" + }, + "flags": 0, + "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling." + }, + "iscsi": { + "type": { + "$ref": "#/150" + }, + "flags": 0, + "description": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "nfs": { + "type": { + "$ref": "#/152" + }, + "flags": 0, + "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling." + }, + "persistentVolumeClaim": { + "type": { + "$ref": "#/153" + }, + "flags": 0, + "description": "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system)." + }, + "photonPersistentDisk": { + "type": { + "$ref": "#/154" + }, + "flags": 0, + "description": "Represents a Photon Controller persistent disk resource." + }, + "portworxVolume": { + "type": { + "$ref": "#/155" + }, + "flags": 0, + "description": "PortworxVolumeSource represents a Portworx volume resource." + }, + "projected": { + "type": { + "$ref": "#/156" + }, + "flags": 0, + "description": "Represents a projected volume source" + }, + "quobyte": { + "type": { + "$ref": "#/166" + }, + "flags": 0, + "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling." + }, + "rbd": { + "type": { + "$ref": "#/167" + }, + "flags": 0, + "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling." + }, + "scaleIO": { + "type": { + "$ref": "#/169" + }, + "flags": 0, + "description": "ScaleIOVolumeSource represents a persistent ScaleIO volume" + }, + "secret": { + "type": { + "$ref": "#/170" + }, + "flags": 0, + "description": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling." + }, + "storageos": { + "type": { + "$ref": "#/172" + }, + "flags": 0, + "description": "Represents a StorageOS persistent volume resource." + }, + "vsphereVolume": { + "type": { + "$ref": "#/173" + }, + "flags": 0, + "description": "Represents a vSphere volume resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AWSElasticBlockStoreVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + }, + "partition": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty)." + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AzureDiskVolumeSource", + "properties": { + "cachingMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Host Caching mode: None, Read Only, Read Write." + }, + "diskName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The Name of the data disk in the blob storage" + }, + "diskURI": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The URI the data disk in the blob storage" + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared" + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AzureFileVolumeSource", + "properties": { + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "the name of secret that contains Azure Storage Account Name and Key" + }, + "shareName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Share Name" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CephFSVolumeSource", + "properties": { + "monitors": { + "type": { + "$ref": "#/124" + }, + "flags": 1, + "description": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /" + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "secretFile": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "secretRef": { + "type": { + "$ref": "#/104" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CinderVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + }, + "secretRef": { + "type": { + "$ref": "#/104" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "items": { + "type": { + "$ref": "#/128" + }, + "flags": 0, + "description": "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Specify whether the ConfigMap or its keys must be defined" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1KeyToPath", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The key to project." + }, + "mode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/127" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CSIVolumeSource", + "properties": { + "driver": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster." + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply." + }, + "nodePublishSecretRef": { + "type": { + "$ref": "#/104" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Specifies a read-only configuration for the volume. Defaults to false (read/write)." + }, + "volumeAttributes": { + "type": { + "$ref": "#/130" + }, + "flags": 0, + "description": "VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CSIVolumeSourceVolumeAttributes", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1DownwardAPIVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "items": { + "type": { + "$ref": "#/133" + }, + "flags": 0, + "description": "Items is a list of downward API volume file" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1DownwardAPIVolumeFile", + "properties": { + "fieldRef": { + "type": { + "$ref": "#/53" + }, + "flags": 0, + "description": "ObjectFieldSelector selects an APIVersioned field of an object." + }, + "mode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'" + }, + "resourceFieldRef": { + "type": { + "$ref": "#/54" + }, + "flags": 0, + "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/132" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EmptyDirVolumeSource", + "properties": { + "medium": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir" + }, + "sizeLimit": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EphemeralVolumeSource", + "properties": { + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Specifies a read-only configuration for the volume. Defaults to false (read/write)." + }, + "volumeClaimTemplate": { + "type": { + "$ref": "#/136" + }, + "flags": 0, + "description": "PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimTemplate", + "properties": { + "metadata": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create." + }, + "spec": { + "type": { + "$ref": "#/137" + }, + "flags": 1, + "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimSpec", + "properties": { + "accessModes": { + "type": { + "$ref": "#/138" + }, + "flags": 0, + "description": "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1" + }, + "dataSource": { + "type": { + "$ref": "#/139" + }, + "flags": 0, + "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace." + }, + "resources": { + "type": { + "$ref": "#/72" + }, + "flags": 0, + "description": "ResourceRequirements describes the compute resource requirements." + }, + "selector": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "storageClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" + }, + "volumeMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "VolumeName is the binding reference to the PersistentVolume backing this claim." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TypedLocalObjectReference", + "properties": { + "apiGroup": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind is the type of resource being referenced" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the name of resource being referenced" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FCVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "lun": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: FC target lun number" + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "targetWWNs": { + "type": { + "$ref": "#/141" + }, + "flags": 0, + "description": "Optional: FC target worldwide names (WWNs)" + }, + "wwids": { + "type": { + "$ref": "#/142" + }, + "flags": 0, + "description": "Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlexVolumeSource", + "properties": { + "driver": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Driver is the name of the driver to use for this volume." + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script." + }, + "options": { + "type": { + "$ref": "#/144" + }, + "flags": 0, + "description": "Optional: Extra command options if any." + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/104" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlexVolumeSourceOptions", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlockerVolumeSource", + "properties": { + "datasetName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated" + }, + "datasetUUID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UUID of the dataset. This is unique identifier of a Flocker dataset" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GCEPersistentDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "partition": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "pdName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GitRepoVolumeSource", + "properties": { + "directory": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name." + }, + "repository": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Repository URL" + }, + "revision": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Commit hash for the specified revision." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GlusterfsVolumeSource", + "properties": { + "endpoints": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HostPathVolumeSource", + "properties": { + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1IscsiVolumeSource", + "properties": { + "chapAuthDiscovery": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "whether support iSCSI Discovery CHAP authentication" + }, + "chapAuthSession": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "whether support iSCSI Session CHAP authentication" + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi" + }, + "initiatorName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection." + }, + "iqn": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Target iSCSI Qualified Name." + }, + "iscsiInterface": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)." + }, + "lun": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "iSCSI Target Lun number." + }, + "portals": { + "type": { + "$ref": "#/151" + }, + "flags": 0, + "description": "iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)." + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false." + }, + "secretRef": { + "type": { + "$ref": "#/104" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "targetPortal": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NFSVolumeSource", + "properties": { + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + }, + "server": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimVolumeSource", + "properties": { + "claimName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Will force the ReadOnly setting in VolumeMounts. Default false." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PhotonPersistentDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "pdID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "ID that identifies Photon Controller persistent disk" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PortworxVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "VolumeID uniquely identifies a Portworx volume" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ProjectedVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "sources": { + "type": { + "$ref": "#/165" + }, + "flags": 1, + "description": "list of volume projections" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeProjection", + "properties": { + "configMap": { + "type": { + "$ref": "#/158" + }, + "flags": 0, + "description": "Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode." + }, + "downwardAPI": { + "type": { + "$ref": "#/160" + }, + "flags": 0, + "description": "Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode." + }, + "secret": { + "type": { + "$ref": "#/162" + }, + "flags": 0, + "description": "Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode." + }, + "serviceAccountToken": { + "type": { + "$ref": "#/164" + }, + "flags": 0, + "description": "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise)." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapProjection", + "properties": { + "items": { + "type": { + "$ref": "#/159" + }, + "flags": 0, + "description": "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Specify whether the ConfigMap or its keys must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/127" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1DownwardAPIProjection", + "properties": { + "items": { + "type": { + "$ref": "#/161" + }, + "flags": 0, + "description": "Items is a list of DownwardAPIVolume file" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/132" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretProjection", + "properties": { + "items": { + "type": { + "$ref": "#/163" + }, + "flags": 0, + "description": "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Specify whether the Secret or its key must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/127" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ServiceAccountTokenProjection", + "properties": { + "audience": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver." + }, + "expirationSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path is the path relative to the mount point of the file to project the token into." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/157" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1QuobyteVolumeSource", + "properties": { + "group": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Group to map volume access to Default is no group" + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false." + }, + "registry": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes" + }, + "tenant": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin" + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "User to map volume access to Defaults to serivceaccount user" + }, + "volume": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Volume is a string that references an already created Quobyte volume by name." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1RBDVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd" + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "keyring": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "monitors": { + "type": { + "$ref": "#/168" + }, + "flags": 1, + "description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "pool": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "secretRef": { + "type": { + "$ref": "#/104" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ScaleIOVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"." + }, + "gateway": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The host address of the ScaleIO API Gateway." + }, + "protectionDomain": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The name of the ScaleIO Protection Domain for the configured storage." + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/104" + }, + "flags": 1, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "sslEnabled": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Flag to enable/disable SSL communication with Gateway, default false" + }, + "storageMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned." + }, + "storagePool": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The ScaleIO Storage Pool associated with the protection domain." + }, + "system": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The name of the storage system as configured in ScaleIO." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The name of a volume already created in the ScaleIO system that is associated with this volume source." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "items": { + "type": { + "$ref": "#/171" + }, + "flags": 0, + "description": "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "optional": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Specify whether the Secret or its keys must be defined" + }, + "secretName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/127" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1StorageOSVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "readOnly": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/104" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace." + }, + "volumeNamespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VsphereVirtualDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "storagePolicyID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName." + }, + "storagePolicyName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Storage Policy Based Management (SPBM) profile name." + }, + "volumePath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path that identifies vSphere volume vmdk" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/119" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiBatchV1Beta1CronJobStatus", + "properties": { + "active": { + "type": { + "$ref": "#/177" + }, + "flags": 0, + "description": "A list of pointers to currently running jobs." + }, + "lastScheduleTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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": "ObjectType", + "name": "IoK8SApiCoreV1ObjectReference", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "API version of the referent." + }, + "fieldPath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + }, + "resourceVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/176" + } + }, + { + "$type": "ObjectType", + "name": "batch/CronJob", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "CronJobSpec describes how the job execution will look like and when it will actually run." + }, + "status": { + "type": { + "$ref": "#/175" + }, + "flags": 0, + "description": "CronJobStatus represents the current state of a cron job." + } + } + }, + { + "$type": "ResourceType", + "name": "batch/CronJob@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/178" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/certificates.k8s.io/v1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/certificates.k8s.io/v1/types.json index 977cc868..7930b2bd 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/certificates.k8s.io/v1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/certificates.k8s.io/v1/types.json @@ -1 +1,264 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"CertificateSigningRequest"}},{"6":{"Value":"certificates.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCertificatesV1CertificateSigningRequestSpec","Properties":{"extra":{"Type":15,"Flags":0,"Description":"extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."},"groups":{"Type":16,"Flags":0,"Description":"groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."},"request":{"Type":0,"Flags":1,"Description":"request contains an x509 certificate signing request encoded in a \"CERTIFICATE REQUEST\" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded."},"signerName":{"Type":4,"Flags":1,"Description":"signerName indicates the requested signer, and is a qualified name.\n\nList/watch requests for CertificateSigningRequests can filter on this field using a \"spec.signerName=NAME\" fieldSelector.\n\nWell-known Kubernetes signers are:\n 1. \"kubernetes.io/kube-apiserver-client\": issues client certificates that can be used to authenticate to kube-apiserver.\n Requests for this signer are never auto-approved by kube-controller-manager, can be issued by the \"csrsigning\" controller in kube-controller-manager.\n 2. \"kubernetes.io/kube-apiserver-client-kubelet\": issues client certificates that kubelets use to authenticate to kube-apiserver.\n Requests for this signer can be auto-approved by the \"csrapproving\" controller in kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager.\n 3. \"kubernetes.io/kubelet-serving\" issues serving certificates that kubelets use to serve TLS endpoints, which kube-apiserver can connect to securely.\n Requests for this signer are never auto-approved by kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager.\n\nMore details are available at https://k8s.io/docs/reference/access-authn-authz/certificate-signing-requests/#kubernetes-signers\n\nCustom signerNames can also be specified. The signer defines:\n 1. Trust distribution: how trust (CA bundles) are distributed.\n 2. Permitted subjects: and behavior when a disallowed subject is requested.\n 3. Required, permitted, or forbidden x509 extensions in the request (including whether subjectAltNames are allowed, which types, restrictions on allowed values) and behavior when a disallowed extension is requested.\n 4. Required, permitted, or forbidden key usages / extended key usages.\n 5. Expiration/certificate lifetime: whether it is fixed by the signer, configurable by the admin.\n 6. Whether or not requests for CA certificates are allowed."},"uid":{"Type":4,"Flags":0,"Description":"uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."},"usages":{"Type":17,"Flags":0,"Description":"usages specifies a set of key usages requested in the issued certificate.\n\nRequests for TLS client certificates typically request: \"digital signature\", \"key encipherment\", \"client auth\".\n\nRequests for TLS serving certificates typically request: \"key encipherment\", \"digital signature\", \"server auth\".\n\nValid values are:\n \"signing\", \"digital signature\", \"content commitment\",\n \"key encipherment\", \"key agreement\", \"data encipherment\",\n \"cert sign\", \"crl sign\", \"encipher only\", \"decipher only\", \"any\",\n \"server auth\", \"client auth\",\n \"code signing\", \"email protection\", \"s/mime\",\n \"ipsec end system\", \"ipsec tunnel\", \"ipsec user\",\n \"timestamping\", \"ocsp signing\", \"microsoft sgc\", \"netscape sgc\""},"username":{"Type":4,"Flags":0,"Description":"username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCertificatesV1CertificateSigningRequestSpecExtra","Properties":{},"AdditionalProperties":14}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCertificatesV1CertificateSigningRequestStatus","Properties":{"certificate":{"Type":0,"Flags":0,"Description":"certificate is populated with an issued certificate by the signer after an Approved condition is present. This field is set via the /status subresource. Once populated, this field is immutable.\n\nIf the certificate signing request is denied, a condition of type \"Denied\" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type \"Failed\" is added and this field remains empty.\n\nValidation requirements:\n 1. certificate must contain one or more PEM blocks.\n 2. All PEM blocks must have the \"CERTIFICATE\" label, contain no headers, and the encoded data\n must be a BER-encoded ASN.1 Certificate structure as described in section 4 of RFC5280.\n 3. Non-PEM content may appear before or after the \"CERTIFICATE\" PEM blocks and is unvalidated,\n to allow for explanatory text as described in section 5.2 of RFC7468.\n\nIf more than one PEM block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes.\n\nThe certificate is encoded in PEM format.\n\nWhen serialized as JSON or YAML, the data is additionally base64-encoded, so it consists of:\n\n base64(\n -----BEGIN CERTIFICATE-----\n ...\n -----END CERTIFICATE-----\n )"},"conditions":{"Type":20,"Flags":0,"Description":"conditions applied to the request. Known conditions are \"Approved\", \"Denied\", and \"Failed\"."}}}},{"2":{"Name":"IoK8SApiCertificatesV1CertificateSigningRequestCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"lastUpdateTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"message contains a human readable message with details about the request state"},"reason":{"Type":4,"Flags":0,"Description":"reason indicates a brief reason for the request state"},"status":{"Type":4,"Flags":1,"Description":"status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be \"False\" or \"Unknown\"."},"type":{"Type":4,"Flags":1,"Description":"type of the condition. Known conditions are \"Approved\", \"Denied\", and \"Failed\".\n\nAn \"Approved\" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer.\n\nA \"Denied\" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer.\n\nA \"Failed\" condition is added via the /status subresource, indicating the signer failed to issue the certificate.\n\nApproved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added.\n\nOnly one condition of a given type is allowed."}}}},{"3":{"ItemType":19}},{"2":{"Name":"certificates.k8s.io/CertificateSigningRequest","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":1,"Description":"CertificateSigningRequestSpec contains the certificate request."},"status":{"Type":18,"Flags":0,"Description":"CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate."}}}},{"4":{"Name":"certificates.k8s.io/CertificateSigningRequest@v1","ScopeType":0,"Body":21,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "CertificateSigningRequest" + }, + { + "$type": "StringLiteralType", + "value": "certificates.k8s.io/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCertificatesV1CertificateSigningRequestSpec", + "properties": { + "extra": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable." + }, + "groups": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable." + }, + "request": { + "type": { + "$ref": "#/10" + }, + "flags": 1, + "description": "request contains an x509 certificate signing request encoded in a \"CERTIFICATE REQUEST\" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded." + }, + "signerName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "signerName indicates the requested signer, and is a qualified name.\n\nList/watch requests for CertificateSigningRequests can filter on this field using a \"spec.signerName=NAME\" fieldSelector.\n\nWell-known Kubernetes signers are:\n 1. \"kubernetes.io/kube-apiserver-client\": issues client certificates that can be used to authenticate to kube-apiserver.\n Requests for this signer are never auto-approved by kube-controller-manager, can be issued by the \"csrsigning\" controller in kube-controller-manager.\n 2. \"kubernetes.io/kube-apiserver-client-kubelet\": issues client certificates that kubelets use to authenticate to kube-apiserver.\n Requests for this signer can be auto-approved by the \"csrapproving\" controller in kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager.\n 3. \"kubernetes.io/kubelet-serving\" issues serving certificates that kubelets use to serve TLS endpoints, which kube-apiserver can connect to securely.\n Requests for this signer are never auto-approved by kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager.\n\nMore details are available at https://k8s.io/docs/reference/access-authn-authz/certificate-signing-requests/#kubernetes-signers\n\nCustom signerNames can also be specified. The signer defines:\n 1. Trust distribution: how trust (CA bundles) are distributed.\n 2. Permitted subjects: and behavior when a disallowed subject is requested.\n 3. Required, permitted, or forbidden x509 extensions in the request (including whether subjectAltNames are allowed, which types, restrictions on allowed values) and behavior when a disallowed extension is requested.\n 4. Required, permitted, or forbidden key usages / extended key usages.\n 5. Expiration/certificate lifetime: whether it is fixed by the signer, configurable by the admin.\n 6. Whether or not requests for CA certificates are allowed." + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable." + }, + "usages": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "usages specifies a set of key usages requested in the issued certificate.\n\nRequests for TLS client certificates typically request: \"digital signature\", \"key encipherment\", \"client auth\".\n\nRequests for TLS serving certificates typically request: \"key encipherment\", \"digital signature\", \"server auth\".\n\nValid values are:\n \"signing\", \"digital signature\", \"content commitment\",\n \"key encipherment\", \"key agreement\", \"data encipherment\",\n \"cert sign\", \"crl sign\", \"encipher only\", \"decipher only\", \"any\",\n \"server auth\", \"client auth\",\n \"code signing\", \"email protection\", \"s/mime\",\n \"ipsec end system\", \"ipsec tunnel\", \"ipsec user\",\n \"timestamping\", \"ocsp signing\", \"microsoft sgc\", \"netscape sgc\"" + }, + "username": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCertificatesV1CertificateSigningRequestSpecExtra", + "properties": {}, + "additionalProperties": { + "$ref": "#/7" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "AnyType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCertificatesV1CertificateSigningRequestStatus", + "properties": { + "certificate": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "certificate is populated with an issued certificate by the signer after an Approved condition is present. This field is set via the /status subresource. Once populated, this field is immutable.\n\nIf the certificate signing request is denied, a condition of type \"Denied\" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type \"Failed\" is added and this field remains empty.\n\nValidation requirements:\n 1. certificate must contain one or more PEM blocks.\n 2. All PEM blocks must have the \"CERTIFICATE\" label, contain no headers, and the encoded data\n must be a BER-encoded ASN.1 Certificate structure as described in section 4 of RFC5280.\n 3. Non-PEM content may appear before or after the \"CERTIFICATE\" PEM blocks and is unvalidated,\n to allow for explanatory text as described in section 5.2 of RFC7468.\n\nIf more than one PEM block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes.\n\nThe certificate is encoded in PEM format.\n\nWhen serialized as JSON or YAML, the data is additionally base64-encoded, so it consists of:\n\n base64(\n -----BEGIN CERTIFICATE-----\n ...\n -----END CERTIFICATE-----\n )" + }, + "conditions": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "conditions applied to the request. Known conditions are \"Approved\", \"Denied\", and \"Failed\"." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCertificatesV1CertificateSigningRequestCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "lastUpdateTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "message contains a human readable message with details about the request state" + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "reason indicates a brief reason for the request state" + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be \"False\" or \"Unknown\"." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type of the condition. Known conditions are \"Approved\", \"Denied\", and \"Failed\".\n\nAn \"Approved\" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer.\n\nA \"Denied\" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer.\n\nA \"Failed\" condition is added via the /status subresource, indicating the signer failed to issue the certificate.\n\nApproved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added.\n\nOnly one condition of a given type is allowed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/13" + } + }, + { + "$type": "ObjectType", + "name": "certificates.k8s.io/CertificateSigningRequest", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 1, + "description": "CertificateSigningRequestSpec contains the certificate request." + }, + "status": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate." + } + } + }, + { + "$type": "ResourceType", + "name": "certificates.k8s.io/CertificateSigningRequest@v1", + "scopeType": 0, + "body": { + "$ref": "#/15" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/certificates.k8s.io/v1beta1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/certificates.k8s.io/v1beta1/types.json index 9f9a373f..6486f47e 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/certificates.k8s.io/v1beta1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/certificates.k8s.io/v1beta1/types.json @@ -1 +1,263 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"CertificateSigningRequest"}},{"6":{"Value":"certificates.k8s.io/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCertificatesV1Beta1CertificateSigningRequestSpec","Properties":{"extra":{"Type":15,"Flags":0,"Description":"Extra information about the requesting user. See user.Info interface for details."},"groups":{"Type":16,"Flags":0,"Description":"Group information about the requesting user. See user.Info interface for details."},"request":{"Type":0,"Flags":1,"Description":"Base64-encoded PKCS#10 CSR data"},"signerName":{"Type":4,"Flags":0,"Description":"Requested signer for the request. It is a qualified name in the form: `scope-hostname.io/name`. If empty, it will be defaulted:\n 1. If it's a kubelet client certificate, it is assigned\n \"kubernetes.io/kube-apiserver-client-kubelet\".\n 2. If it's a kubelet serving certificate, it is assigned\n \"kubernetes.io/kubelet-serving\".\n 3. Otherwise, it is assigned \"kubernetes.io/legacy-unknown\".\nDistribution of trust for signers happens out of band. You can select on this field using `spec.signerName`."},"uid":{"Type":4,"Flags":0,"Description":"UID information about the requesting user. See user.Info interface for details."},"usages":{"Type":17,"Flags":0,"Description":"allowedUsages specifies a set of usage contexts the key will be valid for. See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3\n https://tools.ietf.org/html/rfc5280#section-4.2.1.12\nValid values are:\n \"signing\",\n \"digital signature\",\n \"content commitment\",\n \"key encipherment\",\n \"key agreement\",\n \"data encipherment\",\n \"cert sign\",\n \"crl sign\",\n \"encipher only\",\n \"decipher only\",\n \"any\",\n \"server auth\",\n \"client auth\",\n \"code signing\",\n \"email protection\",\n \"s/mime\",\n \"ipsec end system\",\n \"ipsec tunnel\",\n \"ipsec user\",\n \"timestamping\",\n \"ocsp signing\",\n \"microsoft sgc\",\n \"netscape sgc\""},"username":{"Type":4,"Flags":0,"Description":"Information about the requesting user. See user.Info interface for details."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCertificatesV1Beta1CertificateSigningRequestSpecExtra","Properties":{},"AdditionalProperties":14}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCertificatesV1Beta1CertificateSigningRequestStatus","Properties":{"certificate":{"Type":0,"Flags":0,"Description":"If request was approved, the controller will place the issued certificate here."},"conditions":{"Type":20,"Flags":0,"Description":"Conditions applied to the request, such as approval or denial."}}}},{"2":{"Name":"IoK8SApiCertificatesV1Beta1CertificateSigningRequestCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"lastUpdateTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"human readable message with details about the request state"},"reason":{"Type":4,"Flags":0,"Description":"brief reason for the request state"},"status":{"Type":4,"Flags":0,"Description":"Status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be \"False\" or \"Unknown\". Defaults to \"True\". If unset, should be treated as \"True\"."},"type":{"Type":4,"Flags":1,"Description":"type of the condition. Known conditions include \"Approved\", \"Denied\", and \"Failed\"."}}}},{"3":{"ItemType":19}},{"2":{"Name":"certificates.k8s.io/CertificateSigningRequest","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":0,"Description":"This information is immutable after the request is created. Only the Request and Usages fields can be set on creation, other fields are derived by Kubernetes and cannot be modified by users."},"status":{"Type":18,"Flags":0}}}},{"4":{"Name":"certificates.k8s.io/CertificateSigningRequest@v1beta1","ScopeType":0,"Body":21,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "CertificateSigningRequest" + }, + { + "$type": "StringLiteralType", + "value": "certificates.k8s.io/v1beta1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCertificatesV1Beta1CertificateSigningRequestSpec", + "properties": { + "extra": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Extra information about the requesting user. See user.Info interface for details." + }, + "groups": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Group information about the requesting user. See user.Info interface for details." + }, + "request": { + "type": { + "$ref": "#/10" + }, + "flags": 1, + "description": "Base64-encoded PKCS#10 CSR data" + }, + "signerName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Requested signer for the request. It is a qualified name in the form: `scope-hostname.io/name`. If empty, it will be defaulted:\n 1. If it's a kubelet client certificate, it is assigned\n \"kubernetes.io/kube-apiserver-client-kubelet\".\n 2. If it's a kubelet serving certificate, it is assigned\n \"kubernetes.io/kubelet-serving\".\n 3. Otherwise, it is assigned \"kubernetes.io/legacy-unknown\".\nDistribution of trust for signers happens out of band. You can select on this field using `spec.signerName`." + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UID information about the requesting user. See user.Info interface for details." + }, + "usages": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "allowedUsages specifies a set of usage contexts the key will be valid for. See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3\n https://tools.ietf.org/html/rfc5280#section-4.2.1.12\nValid values are:\n \"signing\",\n \"digital signature\",\n \"content commitment\",\n \"key encipherment\",\n \"key agreement\",\n \"data encipherment\",\n \"cert sign\",\n \"crl sign\",\n \"encipher only\",\n \"decipher only\",\n \"any\",\n \"server auth\",\n \"client auth\",\n \"code signing\",\n \"email protection\",\n \"s/mime\",\n \"ipsec end system\",\n \"ipsec tunnel\",\n \"ipsec user\",\n \"timestamping\",\n \"ocsp signing\",\n \"microsoft sgc\",\n \"netscape sgc\"" + }, + "username": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Information about the requesting user. See user.Info interface for details." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCertificatesV1Beta1CertificateSigningRequestSpecExtra", + "properties": {}, + "additionalProperties": { + "$ref": "#/7" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "AnyType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCertificatesV1Beta1CertificateSigningRequestStatus", + "properties": { + "certificate": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "If request was approved, the controller will place the issued certificate here." + }, + "conditions": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "Conditions applied to the request, such as approval or denial." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCertificatesV1Beta1CertificateSigningRequestCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "lastUpdateTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "human readable message with details about the request state" + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "brief reason for the request state" + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be \"False\" or \"Unknown\". Defaults to \"True\". If unset, should be treated as \"True\"." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type of the condition. Known conditions include \"Approved\", \"Denied\", and \"Failed\"." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/13" + } + }, + { + "$type": "ObjectType", + "name": "certificates.k8s.io/CertificateSigningRequest", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "This information is immutable after the request is created. Only the Request and Usages fields can be set on creation, other fields are derived by Kubernetes and cannot be modified by users." + }, + "status": { + "type": { + "$ref": "#/12" + }, + "flags": 0 + } + } + }, + { + "$type": "ResourceType", + "name": "certificates.k8s.io/CertificateSigningRequest@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/15" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/coordination.k8s.io/v1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/coordination.k8s.io/v1/types.json index 31f41325..c8693fa9 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/coordination.k8s.io/v1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/coordination.k8s.io/v1/types.json @@ -1 +1,150 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"Lease"}},{"6":{"Value":"coordination.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoordinationV1LeaseSpec","Properties":{"acquireTime":{"Type":4,"Flags":0,"Description":"MicroTime is version of Time with microsecond level precision."},"holderIdentity":{"Type":4,"Flags":0,"Description":"holderIdentity contains the identity of the holder of a current lease."},"leaseDurationSeconds":{"Type":3,"Flags":0,"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."},"leaseTransitions":{"Type":3,"Flags":0,"Description":"leaseTransitions is the number of transitions of a lease between holders."},"renewTime":{"Type":4,"Flags":0,"Description":"MicroTime is version of Time with microsecond level precision."}}}},{"2":{"Name":"coordination.k8s.io/Lease","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":0,"Description":"LeaseSpec is a specification of a Lease."}}}},{"4":{"Name":"coordination.k8s.io/Lease@v1","ScopeType":0,"Body":14,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "Lease" + }, + { + "$type": "StringLiteralType", + "value": "coordination.k8s.io/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoordinationV1LeaseSpec", + "properties": { + "acquireTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "MicroTime is version of Time with microsecond level precision." + }, + "holderIdentity": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "holderIdentity contains the identity of the holder of a current lease." + }, + "leaseDurationSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "leaseTransitions": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "leaseTransitions is the number of transitions of a lease between holders." + }, + "renewTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "MicroTime is version of Time with microsecond level precision." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ObjectType", + "name": "coordination.k8s.io/Lease", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "LeaseSpec is a specification of a Lease." + } + } + }, + { + "$type": "ResourceType", + "name": "coordination.k8s.io/Lease@v1", + "scopeType": 0, + "body": { + "$ref": "#/8" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/coordination.k8s.io/v1beta1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/coordination.k8s.io/v1beta1/types.json index 91165316..6aa6b69f 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/coordination.k8s.io/v1beta1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/coordination.k8s.io/v1beta1/types.json @@ -1 +1,150 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"Lease"}},{"6":{"Value":"coordination.k8s.io/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoordinationV1Beta1LeaseSpec","Properties":{"acquireTime":{"Type":4,"Flags":0,"Description":"MicroTime is version of Time with microsecond level precision."},"holderIdentity":{"Type":4,"Flags":0,"Description":"holderIdentity contains the identity of the holder of a current lease."},"leaseDurationSeconds":{"Type":3,"Flags":0,"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."},"leaseTransitions":{"Type":3,"Flags":0,"Description":"leaseTransitions is the number of transitions of a lease between holders."},"renewTime":{"Type":4,"Flags":0,"Description":"MicroTime is version of Time with microsecond level precision."}}}},{"2":{"Name":"coordination.k8s.io/Lease","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":0,"Description":"LeaseSpec is a specification of a Lease."}}}},{"4":{"Name":"coordination.k8s.io/Lease@v1beta1","ScopeType":0,"Body":14,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "Lease" + }, + { + "$type": "StringLiteralType", + "value": "coordination.k8s.io/v1beta1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoordinationV1Beta1LeaseSpec", + "properties": { + "acquireTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "MicroTime is version of Time with microsecond level precision." + }, + "holderIdentity": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "holderIdentity contains the identity of the holder of a current lease." + }, + "leaseDurationSeconds": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "leaseTransitions": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "leaseTransitions is the number of transitions of a lease between holders." + }, + "renewTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "MicroTime is version of Time with microsecond level precision." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ObjectType", + "name": "coordination.k8s.io/Lease", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "LeaseSpec is a specification of a Lease." + } + } + }, + { + "$type": "ResourceType", + "name": "coordination.k8s.io/Lease@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/8" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/core/v1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/core/v1/types.json index b95dbd0b..3919afe6 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/core/v1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/core/v1/types.json @@ -1 +1,8620 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"ConfigMap"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapBinaryData","Properties":{},"AdditionalProperties":0}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapData","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"core/ConfigMap","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"binaryData":{"Type":13,"Flags":0,"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."},"data":{"Type":14,"Flags":0,"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."},"immutable":{"Type":2,"Flags":0,"Description":"Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is a beta field enabled by ImmutableEphemeralVolumes feature gate."}}}},{"4":{"Name":"core/ConfigMap@v1","ScopeType":0,"Body":15,"Flags":0}},{"6":{"Value":"Endpoints"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":19,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":20,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1EndpointSubset","Properties":{"addresses":{"Type":25,"Flags":0,"Description":"IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize."},"notReadyAddresses":{"Type":26,"Flags":0,"Description":"IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check."},"ports":{"Type":28,"Flags":0,"Description":"Port numbers available on the related IP addresses."}}}},{"2":{"Name":"IoK8SApiCoreV1EndpointAddress","Properties":{"hostname":{"Type":4,"Flags":0,"Description":"The Hostname of this endpoint"},"ip":{"Type":4,"Flags":1,"Description":"The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready."},"nodeName":{"Type":4,"Flags":0,"Description":"Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node."},"targetRef":{"Type":24,"Flags":0,"Description":"ObjectReference contains enough information to let you inspect or modify the referred object."}}}},{"2":{"Name":"IoK8SApiCoreV1ObjectReference","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"API version of the referent."},"fieldPath":{"Type":4,"Flags":0,"Description":"If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object."},"kind":{"Type":4,"Flags":0,"Description":"Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"namespace":{"Type":4,"Flags":0,"Description":"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"},"resourceVersion":{"Type":4,"Flags":0,"Description":"Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"},"uid":{"Type":4,"Flags":0,"Description":"UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids"}}}},{"3":{"ItemType":23}},{"3":{"ItemType":23}},{"2":{"Name":"IoK8SApiCoreV1EndpointPort","Properties":{"appProtocol":{"Type":4,"Flags":0,"Description":"The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. This is a beta field that is guarded by the ServiceAppProtocol feature gate and enabled by default."},"name":{"Type":4,"Flags":0,"Description":"The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined."},"port":{"Type":3,"Flags":1,"Description":"The port number of the endpoint."},"protocol":{"Type":4,"Flags":0,"Description":"The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP."}}}},{"3":{"ItemType":27}},{"3":{"ItemType":22}},{"2":{"Name":"core/Endpoints","Properties":{"kind":{"Type":17,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":18,"Flags":10,"Description":"The api version."},"metadata":{"Type":21,"Flags":1,"Description":"The resource metadata."},"subsets":{"Type":29,"Flags":0,"Description":"The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service."}}}},{"4":{"Name":"core/Endpoints@v1","ScopeType":0,"Body":30,"Flags":0}},{"6":{"Value":"Event"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":34,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":35,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1EventSeries","Properties":{"count":{"Type":3,"Flags":0,"Description":"Number of occurrences in this series up to the last heartbeat time"},"lastObservedTime":{"Type":4,"Flags":0,"Description":"MicroTime is version of Time with microsecond level precision."}}}},{"2":{"Name":"IoK8SApiCoreV1EventSource","Properties":{"component":{"Type":4,"Flags":0,"Description":"Component from which the event is generated."},"host":{"Type":4,"Flags":0,"Description":"Node name on which the event is generated."}}}},{"2":{"Name":"core/Event","Properties":{"kind":{"Type":32,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":33,"Flags":10,"Description":"The api version."},"metadata":{"Type":36,"Flags":1,"Description":"The resource metadata."},"action":{"Type":4,"Flags":0,"Description":"What action was taken/failed regarding to the Regarding object."},"count":{"Type":3,"Flags":0,"Description":"The number of times this event has occurred."},"eventTime":{"Type":4,"Flags":0,"Description":"MicroTime is version of Time with microsecond level precision."},"firstTimestamp":{"Type":4,"Flags":0,"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."},"involvedObject":{"Type":24,"Flags":1,"Description":"ObjectReference contains enough information to let you inspect or modify the referred object."},"lastTimestamp":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"A human-readable description of the status of this operation."},"reason":{"Type":4,"Flags":0,"Description":"This should be a short, machine understandable string that gives the reason for the transition into the object's current status."},"related":{"Type":24,"Flags":0,"Description":"ObjectReference contains enough information to let you inspect or modify the referred object."},"reportingComponent":{"Type":4,"Flags":0,"Description":"Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`."},"reportingInstance":{"Type":4,"Flags":0,"Description":"ID of the controller instance, e.g. `kubelet-xyzf`."},"series":{"Type":37,"Flags":0,"Description":"EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time."},"source":{"Type":38,"Flags":0,"Description":"EventSource contains information for an event."},"type":{"Type":4,"Flags":0,"Description":"Type of this event (Normal, Warning), new types could be added in the future"}}}},{"4":{"Name":"core/Event@v1","ScopeType":0,"Body":39,"Flags":0}},{"6":{"Value":"LimitRange"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":43,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":44,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1LimitRangeSpec","Properties":{"limits":{"Type":53,"Flags":1,"Description":"Limits is the list of LimitRangeItem objects that are enforced."}}}},{"2":{"Name":"IoK8SApiCoreV1LimitRangeItem","Properties":{"default":{"Type":48,"Flags":0,"Description":"Default resource requirement limit value by resource name if resource limit is omitted."},"defaultRequest":{"Type":49,"Flags":0,"Description":"DefaultRequest is the default resource requirement request value by resource name if resource request is omitted."},"max":{"Type":50,"Flags":0,"Description":"Max usage constraints on this kind by resource name."},"maxLimitRequestRatio":{"Type":51,"Flags":0,"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."},"min":{"Type":52,"Flags":0,"Description":"Min usage constraints on this kind by resource name."},"type":{"Type":4,"Flags":1,"Description":"Type of resource that this limit applies to."}}}},{"2":{"Name":"IoK8SApiCoreV1LimitRangeItemDefault","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1LimitRangeItemDefaultRequest","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1LimitRangeItemMax","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1LimitRangeItemMaxLimitRequestRatio","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1LimitRangeItemMin","Properties":{},"AdditionalProperties":4}},{"3":{"ItemType":47}},{"2":{"Name":"core/LimitRange","Properties":{"kind":{"Type":41,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":42,"Flags":10,"Description":"The api version."},"metadata":{"Type":45,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":46,"Flags":0,"Description":"LimitRangeSpec defines a min/max usage limit for resources that match on kind."}}}},{"4":{"Name":"core/LimitRange@v1","ScopeType":0,"Body":54,"Flags":0}},{"6":{"Value":"PersistentVolumeClaim"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":58,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":59,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimSpec","Properties":{"accessModes":{"Type":62,"Flags":0,"Description":"AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"},"dataSource":{"Type":63,"Flags":0,"Description":"TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace."},"resources":{"Type":64,"Flags":0,"Description":"ResourceRequirements describes the compute resource requirements."},"selector":{"Type":67,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"storageClassName":{"Type":4,"Flags":0,"Description":"Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1"},"volumeMode":{"Type":4,"Flags":0,"Description":"volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec."},"volumeName":{"Type":4,"Flags":0,"Description":"VolumeName is the binding reference to the PersistentVolume backing this claim."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1TypedLocalObjectReference","Properties":{"apiGroup":{"Type":4,"Flags":0,"Description":"APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required."},"kind":{"Type":4,"Flags":1,"Description":"Kind is the type of resource being referenced"},"name":{"Type":4,"Flags":1,"Description":"Name is the name of resource being referenced"}}}},{"2":{"Name":"IoK8SApiCoreV1ResourceRequirements","Properties":{"limits":{"Type":65,"Flags":0,"Description":"Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"},"requests":{"Type":66,"Flags":0,"Description":"Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"}}}},{"2":{"Name":"IoK8SApiCoreV1ResourceRequirementsLimits","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1ResourceRequirementsRequests","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelector","Properties":{"matchExpressions":{"Type":70,"Flags":0,"Description":"matchExpressions is a list of label selector requirements. The requirements are ANDed."},"matchLabels":{"Type":71,"Flags":0,"Description":"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."},"values":{"Type":69,"Flags":0,"Description":"values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":68}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimStatus","Properties":{"accessModes":{"Type":73,"Flags":0,"Description":"AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"},"capacity":{"Type":74,"Flags":0,"Description":"Represents the actual resources of the underlying volume."},"conditions":{"Type":76,"Flags":0,"Description":"Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'."},"phase":{"Type":4,"Flags":0,"Description":"Phase represents the current phase of PersistentVolumeClaim."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimStatusCapacity","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimCondition","Properties":{"lastProbeTime":{"Type":4,"Flags":0,"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."},"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"Human-readable message indicating details about last transition."},"reason":{"Type":4,"Flags":0,"Description":"Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized."},"status":{"Type":4,"Flags":1},"type":{"Type":4,"Flags":1}}}},{"3":{"ItemType":75}},{"2":{"Name":"core/PersistentVolumeClaim","Properties":{"kind":{"Type":56,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":57,"Flags":10,"Description":"The api version."},"metadata":{"Type":60,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":61,"Flags":0,"Description":"PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes"},"status":{"Type":72,"Flags":0,"Description":"PersistentVolumeClaimStatus is the current status of a persistent volume claim."}}}},{"4":{"Name":"core/PersistentVolumeClaim@v1","ScopeType":0,"Body":77,"Flags":0}},{"6":{"Value":"Pod"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":81,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":82,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1PodSpec","Properties":{"activeDeadlineSeconds":{"Type":3,"Flags":0,"Description":"Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer."},"affinity":{"Type":85,"Flags":0,"Description":"Affinity is a group of affinity scheduling rules."},"automountServiceAccountToken":{"Type":2,"Flags":0,"Description":"AutomountServiceAccountToken indicates whether a service account token should be automatically mounted."},"containers":{"Type":141,"Flags":1,"Description":"List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated."},"dnsConfig":{"Type":142,"Flags":0,"Description":"PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy."},"dnsPolicy":{"Type":4,"Flags":0,"Description":"Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'."},"enableServiceLinks":{"Type":2,"Flags":0,"Description":"EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true."},"ephemeralContainers":{"Type":155,"Flags":0,"Description":"List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature."},"hostAliases":{"Type":158,"Flags":0,"Description":"HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods."},"hostIPC":{"Type":2,"Flags":0,"Description":"Use the host's ipc namespace. Optional: Default to false."},"hostNetwork":{"Type":2,"Flags":0,"Description":"Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false."},"hostPID":{"Type":2,"Flags":0,"Description":"Use the host's pid namespace. Optional: Default to false."},"hostname":{"Type":4,"Flags":0,"Description":"Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value."},"imagePullSecrets":{"Type":160,"Flags":0,"Description":"ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod"},"initContainers":{"Type":161,"Flags":0,"Description":"List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/"},"nodeName":{"Type":4,"Flags":0,"Description":"NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements."},"nodeSelector":{"Type":162,"Flags":0,"Description":"NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/"},"overhead":{"Type":163,"Flags":0,"Description":"Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature."},"preemptionPolicy":{"Type":4,"Flags":0,"Description":"PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."},"priority":{"Type":3,"Flags":0,"Description":"The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority."},"priorityClassName":{"Type":4,"Flags":0,"Description":"If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default."},"readinessGates":{"Type":165,"Flags":0,"Description":"If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md"},"restartPolicy":{"Type":4,"Flags":0,"Description":"Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy"},"runtimeClassName":{"Type":4,"Flags":0,"Description":"RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14."},"schedulerName":{"Type":4,"Flags":0,"Description":"If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler."},"securityContext":{"Type":166,"Flags":0,"Description":"PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext."},"serviceAccount":{"Type":4,"Flags":0,"Description":"DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead."},"serviceAccountName":{"Type":4,"Flags":0,"Description":"ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/"},"setHostnameAsFQDN":{"Type":2,"Flags":0,"Description":"If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false."},"shareProcessNamespace":{"Type":2,"Flags":0,"Description":"Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false."},"subdomain":{"Type":4,"Flags":0,"Description":"If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all."},"terminationGracePeriodSeconds":{"Type":3,"Flags":0,"Description":"Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds."},"tolerations":{"Type":171,"Flags":0,"Description":"If specified, the pod's tolerations."},"topologySpreadConstraints":{"Type":173,"Flags":0,"Description":"TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed."},"volumes":{"Type":234,"Flags":0,"Description":"List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes"}}}},{"2":{"Name":"IoK8SApiCoreV1Affinity","Properties":{"nodeAffinity":{"Type":86,"Flags":0,"Description":"Node affinity is a group of node affinity scheduling rules."},"podAffinity":{"Type":96,"Flags":0,"Description":"Pod affinity is a group of inter pod affinity scheduling rules."},"podAntiAffinity":{"Type":102,"Flags":0,"Description":"Pod anti affinity is a group of inter pod anti affinity scheduling rules."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeAffinity","Properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"Type":93,"Flags":0,"Description":"The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred."},"requiredDuringSchedulingIgnoredDuringExecution":{"Type":94,"Flags":0,"Description":"A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms."}}}},{"2":{"Name":"IoK8SApiCoreV1PreferredSchedulingTerm","Properties":{"preference":{"Type":88,"Flags":1,"Description":"A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm."},"weight":{"Type":3,"Flags":1,"Description":"Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelectorTerm","Properties":{"matchExpressions":{"Type":91,"Flags":0,"Description":"A list of node selector requirements by node's labels."},"matchFields":{"Type":92,"Flags":0,"Description":"A list of node selector requirements by node's fields."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"The label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."},"values":{"Type":90,"Flags":0,"Description":"An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":89}},{"3":{"ItemType":89}},{"3":{"ItemType":87}},{"2":{"Name":"IoK8SApiCoreV1NodeSelector","Properties":{"nodeSelectorTerms":{"Type":95,"Flags":1,"Description":"Required. A list of node selector terms. The terms are ORed."}}}},{"3":{"ItemType":88}},{"2":{"Name":"IoK8SApiCoreV1PodAffinity","Properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"Type":100,"Flags":0,"Description":"The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred."},"requiredDuringSchedulingIgnoredDuringExecution":{"Type":101,"Flags":0,"Description":"If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."}}}},{"2":{"Name":"IoK8SApiCoreV1WeightedPodAffinityTerm","Properties":{"podAffinityTerm":{"Type":98,"Flags":1,"Description":"Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running"},"weight":{"Type":3,"Flags":1,"Description":"weight associated with matching the corresponding podAffinityTerm, in the range 1-100."}}}},{"2":{"Name":"IoK8SApiCoreV1PodAffinityTerm","Properties":{"labelSelector":{"Type":67,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"namespaces":{"Type":99,"Flags":0,"Description":"namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means \"this pod's namespace\""},"topologyKey":{"Type":4,"Flags":1,"Description":"This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":97}},{"3":{"ItemType":98}},{"2":{"Name":"IoK8SApiCoreV1PodAntiAffinity","Properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"Type":103,"Flags":0,"Description":"The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred."},"requiredDuringSchedulingIgnoredDuringExecution":{"Type":104,"Flags":0,"Description":"If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."}}}},{"3":{"ItemType":97}},{"3":{"ItemType":98}},{"2":{"Name":"IoK8SApiCoreV1Container","Properties":{"args":{"Type":106,"Flags":0,"Description":"Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"command":{"Type":107,"Flags":0,"Description":"Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"env":{"Type":114,"Flags":0,"Description":"List of environment variables to set in the container. Cannot be updated."},"envFrom":{"Type":118,"Flags":0,"Description":"List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."},"image":{"Type":4,"Flags":0,"Description":"Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets."},"imagePullPolicy":{"Type":4,"Flags":0,"Description":"Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"},"lifecycle":{"Type":119,"Flags":0,"Description":"Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted."},"livenessProbe":{"Type":127,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"name":{"Type":4,"Flags":1,"Description":"Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated."},"ports":{"Type":129,"Flags":0,"Description":"List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated."},"readinessProbe":{"Type":127,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"resources":{"Type":64,"Flags":0,"Description":"ResourceRequirements describes the compute resource requirements."},"securityContext":{"Type":130,"Flags":0,"Description":"SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence."},"startupProbe":{"Type":127,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"stdin":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."},"stdinOnce":{"Type":2,"Flags":0,"Description":"Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"},"terminationMessagePath":{"Type":4,"Flags":0,"Description":"Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."},"terminationMessagePolicy":{"Type":4,"Flags":0,"Description":"Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."},"tty":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."},"volumeDevices":{"Type":138,"Flags":0,"Description":"volumeDevices is the list of block devices to be used by the container."},"volumeMounts":{"Type":140,"Flags":0,"Description":"Pod volumes to mount into the container's filesystem. Cannot be updated."},"workingDir":{"Type":4,"Flags":0,"Description":"Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1EnvVar","Properties":{"name":{"Type":4,"Flags":1,"Description":"Name of the environment variable. Must be a C_IDENTIFIER."},"value":{"Type":4,"Flags":0,"Description":"Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\"."},"valueFrom":{"Type":109,"Flags":0,"Description":"EnvVarSource represents a source for the value of an EnvVar."}}}},{"2":{"Name":"IoK8SApiCoreV1EnvVarSource","Properties":{"configMapKeyRef":{"Type":110,"Flags":0,"Description":"Selects a key from a ConfigMap."},"fieldRef":{"Type":111,"Flags":0,"Description":"ObjectFieldSelector selects an APIVersioned field of an object."},"resourceFieldRef":{"Type":112,"Flags":0,"Description":"ResourceFieldSelector represents container resources (cpu, memory) and their output format"},"secretKeyRef":{"Type":113,"Flags":0,"Description":"SecretKeySelector selects a key of a Secret."}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapKeySelector","Properties":{"key":{"Type":4,"Flags":1,"Description":"The key to select."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the ConfigMap or its key must be defined"}}}},{"2":{"Name":"IoK8SApiCoreV1ObjectFieldSelector","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"Version of the schema the FieldPath is written in terms of, defaults to \"v1\"."},"fieldPath":{"Type":4,"Flags":1,"Description":"Path of the field to select in the specified API version."}}}},{"2":{"Name":"IoK8SApiCoreV1ResourceFieldSelector","Properties":{"containerName":{"Type":4,"Flags":0,"Description":"Container name: required for volumes, optional for env vars"},"divisor":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."},"resource":{"Type":4,"Flags":1,"Description":"Required: resource to select"}}}},{"2":{"Name":"IoK8SApiCoreV1SecretKeySelector","Properties":{"key":{"Type":4,"Flags":1,"Description":"The key of the secret to select from. Must be a valid secret key."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the Secret or its key must be defined"}}}},{"3":{"ItemType":108}},{"2":{"Name":"IoK8SApiCoreV1EnvFromSource","Properties":{"configMapRef":{"Type":116,"Flags":0,"Description":"ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables."},"prefix":{"Type":4,"Flags":0,"Description":"An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER."},"secretRef":{"Type":117,"Flags":0,"Description":"SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables."}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapEnvSource","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the ConfigMap must be defined"}}}},{"2":{"Name":"IoK8SApiCoreV1SecretEnvSource","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the Secret must be defined"}}}},{"3":{"ItemType":115}},{"2":{"Name":"IoK8SApiCoreV1Lifecycle","Properties":{"postStart":{"Type":120,"Flags":0,"Description":"Handler defines a specific action that should be taken"},"preStop":{"Type":120,"Flags":0,"Description":"Handler defines a specific action that should be taken"}}}},{"2":{"Name":"IoK8SApiCoreV1Handler","Properties":{"exec":{"Type":121,"Flags":0,"Description":"ExecAction describes a \"run in container\" action."},"httpGet":{"Type":123,"Flags":0,"Description":"HTTPGetAction describes an action based on HTTP Get requests."},"tcpSocket":{"Type":126,"Flags":0,"Description":"TCPSocketAction describes an action based on opening a socket"}}}},{"2":{"Name":"IoK8SApiCoreV1ExecAction","Properties":{"command":{"Type":122,"Flags":0,"Description":"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1HttpGetAction","Properties":{"host":{"Type":4,"Flags":0,"Description":"Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead."},"httpHeaders":{"Type":125,"Flags":0,"Description":"Custom headers to set in the request. HTTP allows repeated headers."},"path":{"Type":4,"Flags":0,"Description":"Path to access on the HTTP server."},"port":{"Type":4,"Flags":1,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."},"scheme":{"Type":4,"Flags":0,"Description":"Scheme to use for connecting to the host. Defaults to HTTP."}}}},{"2":{"Name":"IoK8SApiCoreV1HttpHeader","Properties":{"name":{"Type":4,"Flags":1,"Description":"The header field name"},"value":{"Type":4,"Flags":1,"Description":"The header field value"}}}},{"3":{"ItemType":124}},{"2":{"Name":"IoK8SApiCoreV1TCPSocketAction","Properties":{"host":{"Type":4,"Flags":0,"Description":"Optional: Host name to connect to, defaults to the pod IP."},"port":{"Type":4,"Flags":1,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."}}}},{"2":{"Name":"IoK8SApiCoreV1Probe","Properties":{"exec":{"Type":121,"Flags":0,"Description":"ExecAction describes a \"run in container\" action."},"failureThreshold":{"Type":3,"Flags":0,"Description":"Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1."},"httpGet":{"Type":123,"Flags":0,"Description":"HTTPGetAction describes an action based on HTTP Get requests."},"initialDelaySeconds":{"Type":3,"Flags":0,"Description":"Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"},"periodSeconds":{"Type":3,"Flags":0,"Description":"How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."},"successThreshold":{"Type":3,"Flags":0,"Description":"Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1."},"tcpSocket":{"Type":126,"Flags":0,"Description":"TCPSocketAction describes an action based on opening a socket"},"timeoutSeconds":{"Type":3,"Flags":0,"Description":"Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}}}},{"2":{"Name":"IoK8SApiCoreV1ContainerPort","Properties":{"containerPort":{"Type":3,"Flags":1,"Description":"Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536."},"hostIP":{"Type":4,"Flags":0,"Description":"What host IP to bind the external port to."},"hostPort":{"Type":3,"Flags":0,"Description":"Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this."},"name":{"Type":4,"Flags":0,"Description":"If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services."},"protocol":{"Type":4,"Flags":0,"Description":"Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\"."}}}},{"3":{"ItemType":128}},{"2":{"Name":"IoK8SApiCoreV1SecurityContext","Properties":{"allowPrivilegeEscalation":{"Type":2,"Flags":0,"Description":"AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN"},"capabilities":{"Type":131,"Flags":0,"Description":"Adds and removes POSIX capabilities from running containers."},"privileged":{"Type":2,"Flags":0,"Description":"Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false."},"procMount":{"Type":4,"Flags":0,"Description":"procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled."},"readOnlyRootFilesystem":{"Type":2,"Flags":0,"Description":"Whether this container has a read-only root filesystem. Default is false."},"runAsGroup":{"Type":3,"Flags":0,"Description":"The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."},"runAsNonRoot":{"Type":2,"Flags":0,"Description":"Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."},"runAsUser":{"Type":3,"Flags":0,"Description":"The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."},"seLinuxOptions":{"Type":134,"Flags":0,"Description":"SELinuxOptions are the labels to be applied to the container"},"seccompProfile":{"Type":135,"Flags":0,"Description":"SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set."},"windowsOptions":{"Type":136,"Flags":0,"Description":"WindowsSecurityContextOptions contain Windows-specific options and credentials."}}}},{"2":{"Name":"IoK8SApiCoreV1Capabilities","Properties":{"add":{"Type":132,"Flags":0,"Description":"Added capabilities"},"drop":{"Type":133,"Flags":0,"Description":"Removed capabilities"}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1SELinuxOptions","Properties":{"level":{"Type":4,"Flags":0,"Description":"Level is SELinux level label that applies to the container."},"role":{"Type":4,"Flags":0,"Description":"Role is a SELinux role label that applies to the container."},"type":{"Type":4,"Flags":0,"Description":"Type is a SELinux type label that applies to the container."},"user":{"Type":4,"Flags":0,"Description":"User is a SELinux user label that applies to the container."}}}},{"2":{"Name":"IoK8SApiCoreV1SeccompProfile","Properties":{"localhostProfile":{"Type":4,"Flags":0,"Description":"localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is \"Localhost\"."},"type":{"Type":4,"Flags":1,"Description":"type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied."}}}},{"2":{"Name":"IoK8SApiCoreV1WindowsSecurityContextOptions","Properties":{"gmsaCredentialSpec":{"Type":4,"Flags":0,"Description":"GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field."},"gmsaCredentialSpecName":{"Type":4,"Flags":0,"Description":"GMSACredentialSpecName is the name of the GMSA credential spec to use."},"runAsUserName":{"Type":4,"Flags":0,"Description":"The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."}}}},{"2":{"Name":"IoK8SApiCoreV1VolumeDevice","Properties":{"devicePath":{"Type":4,"Flags":1,"Description":"devicePath is the path inside of the container that the device will be mapped to."},"name":{"Type":4,"Flags":1,"Description":"name must match the name of a persistentVolumeClaim in the pod"}}}},{"3":{"ItemType":137}},{"2":{"Name":"IoK8SApiCoreV1VolumeMount","Properties":{"mountPath":{"Type":4,"Flags":1,"Description":"Path within the container at which the volume should be mounted. Must not contain ':'."},"mountPropagation":{"Type":4,"Flags":0,"Description":"mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10."},"name":{"Type":4,"Flags":1,"Description":"This must match the Name of a Volume."},"readOnly":{"Type":2,"Flags":0,"Description":"Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false."},"subPath":{"Type":4,"Flags":0,"Description":"Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root)."},"subPathExpr":{"Type":4,"Flags":0,"Description":"Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive."}}}},{"3":{"ItemType":139}},{"3":{"ItemType":105}},{"2":{"Name":"IoK8SApiCoreV1PodDNSConfig","Properties":{"nameservers":{"Type":143,"Flags":0,"Description":"A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed."},"options":{"Type":145,"Flags":0,"Description":"A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy."},"searches":{"Type":146,"Flags":0,"Description":"A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1PodDNSConfigOption","Properties":{"name":{"Type":4,"Flags":0,"Description":"Required."},"value":{"Type":4,"Flags":0}}}},{"3":{"ItemType":144}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1EphemeralContainer","Properties":{"args":{"Type":148,"Flags":0,"Description":"Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"command":{"Type":149,"Flags":0,"Description":"Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"},"env":{"Type":150,"Flags":0,"Description":"List of environment variables to set in the container. Cannot be updated."},"envFrom":{"Type":151,"Flags":0,"Description":"List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."},"image":{"Type":4,"Flags":0,"Description":"Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images"},"imagePullPolicy":{"Type":4,"Flags":0,"Description":"Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"},"lifecycle":{"Type":119,"Flags":0,"Description":"Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted."},"livenessProbe":{"Type":127,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"name":{"Type":4,"Flags":1,"Description":"Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers."},"ports":{"Type":152,"Flags":0,"Description":"Ports are not allowed for ephemeral containers."},"readinessProbe":{"Type":127,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"resources":{"Type":64,"Flags":0,"Description":"ResourceRequirements describes the compute resource requirements."},"securityContext":{"Type":130,"Flags":0,"Description":"SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence."},"startupProbe":{"Type":127,"Flags":0,"Description":"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."},"stdin":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."},"stdinOnce":{"Type":2,"Flags":0,"Description":"Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"},"targetContainerName":{"Type":4,"Flags":0,"Description":"If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature."},"terminationMessagePath":{"Type":4,"Flags":0,"Description":"Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."},"terminationMessagePolicy":{"Type":4,"Flags":0,"Description":"Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."},"tty":{"Type":2,"Flags":0,"Description":"Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."},"volumeDevices":{"Type":153,"Flags":0,"Description":"volumeDevices is the list of block devices to be used by the container."},"volumeMounts":{"Type":154,"Flags":0,"Description":"Pod volumes to mount into the container's filesystem. Cannot be updated."},"workingDir":{"Type":4,"Flags":0,"Description":"Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":108}},{"3":{"ItemType":115}},{"3":{"ItemType":128}},{"3":{"ItemType":137}},{"3":{"ItemType":139}},{"3":{"ItemType":147}},{"2":{"Name":"IoK8SApiCoreV1HostAlias","Properties":{"hostnames":{"Type":157,"Flags":0,"Description":"Hostnames for the above IP address."},"ip":{"Type":4,"Flags":0,"Description":"IP address of the host file entry."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":156}},{"2":{"Name":"IoK8SApiCoreV1LocalObjectReference","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}}}},{"3":{"ItemType":159}},{"3":{"ItemType":105}},{"2":{"Name":"IoK8SApiCoreV1PodSpecNodeSelector","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PodSpecOverhead","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1PodReadinessGate","Properties":{"conditionType":{"Type":4,"Flags":1,"Description":"ConditionType refers to a condition in the pod's condition list with matching type."}}}},{"3":{"ItemType":164}},{"2":{"Name":"IoK8SApiCoreV1PodSecurityContext","Properties":{"fsGroup":{"Type":3,"Flags":0,"Description":"A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume."},"fsGroupChangePolicy":{"Type":4,"Flags":0,"Description":"fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified defaults to \"Always\"."},"runAsGroup":{"Type":3,"Flags":0,"Description":"The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."},"runAsNonRoot":{"Type":2,"Flags":0,"Description":"Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."},"runAsUser":{"Type":3,"Flags":0,"Description":"The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."},"seLinuxOptions":{"Type":134,"Flags":0,"Description":"SELinuxOptions are the labels to be applied to the container"},"seccompProfile":{"Type":135,"Flags":0,"Description":"SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set."},"supplementalGroups":{"Type":167,"Flags":0,"Description":"A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container."},"sysctls":{"Type":169,"Flags":0,"Description":"Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch."},"windowsOptions":{"Type":136,"Flags":0,"Description":"WindowsSecurityContextOptions contain Windows-specific options and credentials."}}}},{"3":{"ItemType":3}},{"2":{"Name":"IoK8SApiCoreV1Sysctl","Properties":{"name":{"Type":4,"Flags":1,"Description":"Name of a property to set"},"value":{"Type":4,"Flags":1,"Description":"Value of a property to set"}}}},{"3":{"ItemType":168}},{"2":{"Name":"IoK8SApiCoreV1Toleration","Properties":{"effect":{"Type":4,"Flags":0,"Description":"Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute."},"key":{"Type":4,"Flags":0,"Description":"Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys."},"operator":{"Type":4,"Flags":0,"Description":"Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category."},"tolerationSeconds":{"Type":3,"Flags":0,"Description":"TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system."},"value":{"Type":4,"Flags":0,"Description":"Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string."}}}},{"3":{"ItemType":170}},{"2":{"Name":"IoK8SApiCoreV1TopologySpreadConstraint","Properties":{"labelSelector":{"Type":67,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"maxSkew":{"Type":3,"Flags":1,"Description":"MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed."},"topologyKey":{"Type":4,"Flags":1,"Description":"TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. It's a required field."},"whenUnsatisfiable":{"Type":4,"Flags":1,"Description":"WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assigment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field."}}}},{"3":{"ItemType":172}},{"2":{"Name":"IoK8SApiCoreV1Volume","Properties":{"awsElasticBlockStore":{"Type":175,"Flags":0,"Description":"Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling."},"azureDisk":{"Type":176,"Flags":0,"Description":"AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."},"azureFile":{"Type":177,"Flags":0,"Description":"AzureFile represents an Azure File Service mount on the host and bind mount to the pod."},"cephfs":{"Type":178,"Flags":0,"Description":"Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling."},"cinder":{"Type":180,"Flags":0,"Description":"Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling."},"configMap":{"Type":181,"Flags":0,"Description":"Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling."},"csi":{"Type":184,"Flags":0,"Description":"Represents a source location of a volume to mount, managed by an external CSI driver"},"downwardAPI":{"Type":186,"Flags":0,"Description":"DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling."},"emptyDir":{"Type":189,"Flags":0,"Description":"Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling."},"ephemeral":{"Type":190,"Flags":0,"Description":"Represents an ephemeral volume that is handled by a normal storage driver."},"fc":{"Type":200,"Flags":0,"Description":"Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling."},"flexVolume":{"Type":203,"Flags":0,"Description":"FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin."},"flocker":{"Type":205,"Flags":0,"Description":"Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling."},"gcePersistentDisk":{"Type":206,"Flags":0,"Description":"Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling."},"gitRepo":{"Type":207,"Flags":0,"Description":"Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container."},"glusterfs":{"Type":208,"Flags":0,"Description":"Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling."},"hostPath":{"Type":209,"Flags":0,"Description":"Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling."},"iscsi":{"Type":210,"Flags":0,"Description":"Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling."},"name":{"Type":4,"Flags":1,"Description":"Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"nfs":{"Type":212,"Flags":0,"Description":"Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling."},"persistentVolumeClaim":{"Type":213,"Flags":0,"Description":"PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system)."},"photonPersistentDisk":{"Type":214,"Flags":0,"Description":"Represents a Photon Controller persistent disk resource."},"portworxVolume":{"Type":215,"Flags":0,"Description":"PortworxVolumeSource represents a Portworx volume resource."},"projected":{"Type":216,"Flags":0,"Description":"Represents a projected volume source"},"quobyte":{"Type":226,"Flags":0,"Description":"Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling."},"rbd":{"Type":227,"Flags":0,"Description":"Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling."},"scaleIO":{"Type":229,"Flags":0,"Description":"ScaleIOVolumeSource represents a persistent ScaleIO volume"},"secret":{"Type":230,"Flags":0,"Description":"Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling."},"storageos":{"Type":232,"Flags":0,"Description":"Represents a StorageOS persistent volume resource."},"vsphereVolume":{"Type":233,"Flags":0,"Description":"Represents a vSphere volume resource."}}}},{"2":{"Name":"IoK8SApiCoreV1AWSElasticBlockStoreVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"},"partition":{"Type":3,"Flags":0,"Description":"The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty)."},"readOnly":{"Type":2,"Flags":0,"Description":"Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"},"volumeID":{"Type":4,"Flags":1,"Description":"Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"}}}},{"2":{"Name":"IoK8SApiCoreV1AzureDiskVolumeSource","Properties":{"cachingMode":{"Type":4,"Flags":0,"Description":"Host Caching mode: None, Read Only, Read Write."},"diskName":{"Type":4,"Flags":1,"Description":"The Name of the data disk in the blob storage"},"diskURI":{"Type":4,"Flags":1,"Description":"The URI the data disk in the blob storage"},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"kind":{"Type":4,"Flags":0,"Description":"Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared"},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."}}}},{"2":{"Name":"IoK8SApiCoreV1AzureFileVolumeSource","Properties":{"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretName":{"Type":4,"Flags":1,"Description":"the name of secret that contains Azure Storage Account Name and Key"},"shareName":{"Type":4,"Flags":1,"Description":"Share Name"}}}},{"2":{"Name":"IoK8SApiCoreV1CephFSVolumeSource","Properties":{"monitors":{"Type":179,"Flags":1,"Description":"Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"path":{"Type":4,"Flags":0,"Description":"Optional: Used as the mounted root, rather than the full Ceph tree, default is /"},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"secretFile":{"Type":4,"Flags":0,"Description":"Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"secretRef":{"Type":159,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"user":{"Type":4,"Flags":0,"Description":"Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1CinderVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"},"secretRef":{"Type":159,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"volumeID":{"Type":4,"Flags":1,"Description":"volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"items":{"Type":183,"Flags":0,"Description":"If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the ConfigMap or its keys must be defined"}}}},{"2":{"Name":"IoK8SApiCoreV1KeyToPath","Properties":{"key":{"Type":4,"Flags":1,"Description":"The key to project."},"mode":{"Type":3,"Flags":0,"Description":"Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"path":{"Type":4,"Flags":1,"Description":"The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'."}}}},{"3":{"ItemType":182}},{"2":{"Name":"IoK8SApiCoreV1CSIVolumeSource","Properties":{"driver":{"Type":4,"Flags":1,"Description":"Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster."},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply."},"nodePublishSecretRef":{"Type":159,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"readOnly":{"Type":2,"Flags":0,"Description":"Specifies a read-only configuration for the volume. Defaults to false (read/write)."},"volumeAttributes":{"Type":185,"Flags":0,"Description":"VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values."}}}},{"2":{"Name":"IoK8SApiCoreV1CSIVolumeSourceVolumeAttributes","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1DownwardAPIVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"items":{"Type":188,"Flags":0,"Description":"Items is a list of downward API volume file"}}}},{"2":{"Name":"IoK8SApiCoreV1DownwardAPIVolumeFile","Properties":{"fieldRef":{"Type":111,"Flags":0,"Description":"ObjectFieldSelector selects an APIVersioned field of an object."},"mode":{"Type":3,"Flags":0,"Description":"Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"path":{"Type":4,"Flags":1,"Description":"Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'"},"resourceFieldRef":{"Type":112,"Flags":0,"Description":"ResourceFieldSelector represents container resources (cpu, memory) and their output format"}}}},{"3":{"ItemType":187}},{"2":{"Name":"IoK8SApiCoreV1EmptyDirVolumeSource","Properties":{"medium":{"Type":4,"Flags":0,"Description":"What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir"},"sizeLimit":{"Type":4,"Flags":0,"Description":"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation."}}}},{"2":{"Name":"IoK8SApiCoreV1EphemeralVolumeSource","Properties":{"readOnly":{"Type":2,"Flags":0,"Description":"Specifies a read-only configuration for the volume. Defaults to false (read/write)."},"volumeClaimTemplate":{"Type":191,"Flags":0,"Description":"PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource."}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimTemplate","Properties":{"metadata":{"Type":192,"Flags":0,"Description":"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."},"spec":{"Type":61,"Flags":1,"Description":"PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes"}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ObjectMeta","Properties":{"annotations":{"Type":193,"Flags":0,"Description":"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"},"clusterName":{"Type":4,"Flags":0,"Description":"The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."},"creationTimestamp":{"Type":4,"Flags":0,"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."},"deletionGracePeriodSeconds":{"Type":3,"Flags":0,"Description":"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."},"deletionTimestamp":{"Type":4,"Flags":0,"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."},"finalizers":{"Type":194,"Flags":0,"Description":"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."},"generateName":{"Type":4,"Flags":0,"Description":"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency"},"generation":{"Type":3,"Flags":0,"Description":"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."},"labels":{"Type":195,"Flags":0,"Description":"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"},"managedFields":{"Type":197,"Flags":0,"Description":"ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object."},"name":{"Type":4,"Flags":0,"Description":"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"},"namespace":{"Type":4,"Flags":0,"Description":"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces"},"ownerReferences":{"Type":199,"Flags":0,"Description":"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."},"resourceVersion":{"Type":4,"Flags":0,"Description":"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"},"selfLink":{"Type":4,"Flags":0,"Description":"SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release."},"uid":{"Type":4,"Flags":0,"Description":"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ObjectMetaAnnotations","Properties":{},"AdditionalProperties":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ObjectMetaLabels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1ManagedFieldsEntry","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted."},"fieldsType":{"Type":4,"Flags":0,"Description":"FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\""},"fieldsV1":{"Type":0,"Flags":0,"Description":"Any object"},"manager":{"Type":4,"Flags":0,"Description":"Manager is an identifier of the workflow managing these fields."},"operation":{"Type":4,"Flags":0,"Description":"Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'."},"time":{"Type":4,"Flags":0,"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."}}}},{"3":{"ItemType":196}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1OwnerReference","Properties":{"apiVersion":{"Type":4,"Flags":1,"Description":"API version of the referent."},"blockOwnerDeletion":{"Type":2,"Flags":0,"Description":"If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned."},"controller":{"Type":2,"Flags":0,"Description":"If true, this reference points to the managing controller."},"kind":{"Type":4,"Flags":1,"Description":"Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"},"name":{"Type":4,"Flags":1,"Description":"Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names"},"uid":{"Type":4,"Flags":1,"Description":"UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"}}}},{"3":{"ItemType":198}},{"2":{"Name":"IoK8SApiCoreV1FCVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"lun":{"Type":3,"Flags":0,"Description":"Optional: FC target lun number"},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"targetWWNs":{"Type":201,"Flags":0,"Description":"Optional: FC target worldwide names (WWNs)"},"wwids":{"Type":202,"Flags":0,"Description":"Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1FlexVolumeSource","Properties":{"driver":{"Type":4,"Flags":1,"Description":"Driver is the name of the driver to use for this volume."},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script."},"options":{"Type":204,"Flags":0,"Description":"Optional: Extra command options if any."},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":159,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."}}}},{"2":{"Name":"IoK8SApiCoreV1FlexVolumeSourceOptions","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1FlockerVolumeSource","Properties":{"datasetName":{"Type":4,"Flags":0,"Description":"Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated"},"datasetUUID":{"Type":4,"Flags":0,"Description":"UUID of the dataset. This is unique identifier of a Flocker dataset"}}}},{"2":{"Name":"IoK8SApiCoreV1GCEPersistentDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"partition":{"Type":3,"Flags":0,"Description":"The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"pdName":{"Type":4,"Flags":1,"Description":"Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"}}}},{"2":{"Name":"IoK8SApiCoreV1GitRepoVolumeSource","Properties":{"directory":{"Type":4,"Flags":0,"Description":"Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name."},"repository":{"Type":4,"Flags":1,"Description":"Repository URL"},"revision":{"Type":4,"Flags":0,"Description":"Commit hash for the specified revision."}}}},{"2":{"Name":"IoK8SApiCoreV1GlusterfsVolumeSource","Properties":{"endpoints":{"Type":4,"Flags":1,"Description":"EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"path":{"Type":4,"Flags":1,"Description":"Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"}}}},{"2":{"Name":"IoK8SApiCoreV1HostPathVolumeSource","Properties":{"path":{"Type":4,"Flags":1,"Description":"Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"},"type":{"Type":4,"Flags":0,"Description":"Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"}}}},{"2":{"Name":"IoK8SApiCoreV1IscsiVolumeSource","Properties":{"chapAuthDiscovery":{"Type":2,"Flags":0,"Description":"whether support iSCSI Discovery CHAP authentication"},"chapAuthSession":{"Type":2,"Flags":0,"Description":"whether support iSCSI Session CHAP authentication"},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi"},"initiatorName":{"Type":4,"Flags":0,"Description":"Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection."},"iqn":{"Type":4,"Flags":1,"Description":"Target iSCSI Qualified Name."},"iscsiInterface":{"Type":4,"Flags":0,"Description":"iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."},"lun":{"Type":3,"Flags":1,"Description":"iSCSI Target Lun number."},"portals":{"Type":211,"Flags":0,"Description":"iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."},"secretRef":{"Type":159,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"targetPortal":{"Type":4,"Flags":1,"Description":"iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1NFSVolumeSource","Properties":{"path":{"Type":4,"Flags":1,"Description":"Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"},"server":{"Type":4,"Flags":1,"Description":"Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeClaimVolumeSource","Properties":{"claimName":{"Type":4,"Flags":1,"Description":"ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"},"readOnly":{"Type":2,"Flags":0,"Description":"Will force the ReadOnly setting in VolumeMounts. Default false."}}}},{"2":{"Name":"IoK8SApiCoreV1PhotonPersistentDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"pdID":{"Type":4,"Flags":1,"Description":"ID that identifies Photon Controller persistent disk"}}}},{"2":{"Name":"IoK8SApiCoreV1PortworxVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified."},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"volumeID":{"Type":4,"Flags":1,"Description":"VolumeID uniquely identifies a Portworx volume"}}}},{"2":{"Name":"IoK8SApiCoreV1ProjectedVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"Mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"sources":{"Type":225,"Flags":1,"Description":"list of volume projections"}}}},{"2":{"Name":"IoK8SApiCoreV1VolumeProjection","Properties":{"configMap":{"Type":218,"Flags":0,"Description":"Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode."},"downwardAPI":{"Type":220,"Flags":0,"Description":"Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode."},"secret":{"Type":222,"Flags":0,"Description":"Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode."},"serviceAccountToken":{"Type":224,"Flags":0,"Description":"ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise)."}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapProjection","Properties":{"items":{"Type":219,"Flags":0,"Description":"If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the ConfigMap or its keys must be defined"}}}},{"3":{"ItemType":182}},{"2":{"Name":"IoK8SApiCoreV1DownwardAPIProjection","Properties":{"items":{"Type":221,"Flags":0,"Description":"Items is a list of DownwardAPIVolume file"}}}},{"3":{"ItemType":187}},{"2":{"Name":"IoK8SApiCoreV1SecretProjection","Properties":{"items":{"Type":223,"Flags":0,"Description":"If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the Secret or its key must be defined"}}}},{"3":{"ItemType":182}},{"2":{"Name":"IoK8SApiCoreV1ServiceAccountTokenProjection","Properties":{"audience":{"Type":4,"Flags":0,"Description":"Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver."},"expirationSeconds":{"Type":3,"Flags":0,"Description":"ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes."},"path":{"Type":4,"Flags":1,"Description":"Path is the path relative to the mount point of the file to project the token into."}}}},{"3":{"ItemType":217}},{"2":{"Name":"IoK8SApiCoreV1QuobyteVolumeSource","Properties":{"group":{"Type":4,"Flags":0,"Description":"Group to map volume access to Default is no group"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false."},"registry":{"Type":4,"Flags":1,"Description":"Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes"},"tenant":{"Type":4,"Flags":0,"Description":"Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin"},"user":{"Type":4,"Flags":0,"Description":"User to map volume access to Defaults to serivceaccount user"},"volume":{"Type":4,"Flags":1,"Description":"Volume is a string that references an already created Quobyte volume by name."}}}},{"2":{"Name":"IoK8SApiCoreV1RBDVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd"},"image":{"Type":4,"Flags":1,"Description":"The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"keyring":{"Type":4,"Flags":0,"Description":"Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"monitors":{"Type":228,"Flags":1,"Description":"A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"pool":{"Type":4,"Flags":0,"Description":"The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"secretRef":{"Type":159,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"user":{"Type":4,"Flags":0,"Description":"The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1ScaleIOVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"."},"gateway":{"Type":4,"Flags":1,"Description":"The host address of the ScaleIO API Gateway."},"protectionDomain":{"Type":4,"Flags":0,"Description":"The name of the ScaleIO Protection Domain for the configured storage."},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":159,"Flags":1,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"sslEnabled":{"Type":2,"Flags":0,"Description":"Flag to enable/disable SSL communication with Gateway, default false"},"storageMode":{"Type":4,"Flags":0,"Description":"Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned."},"storagePool":{"Type":4,"Flags":0,"Description":"The ScaleIO Storage Pool associated with the protection domain."},"system":{"Type":4,"Flags":1,"Description":"The name of the storage system as configured in ScaleIO."},"volumeName":{"Type":4,"Flags":0,"Description":"The name of a volume already created in the ScaleIO system that is associated with this volume source."}}}},{"2":{"Name":"IoK8SApiCoreV1SecretVolumeSource","Properties":{"defaultMode":{"Type":3,"Flags":0,"Description":"Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."},"items":{"Type":231,"Flags":0,"Description":"If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."},"optional":{"Type":2,"Flags":0,"Description":"Specify whether the Secret or its keys must be defined"},"secretName":{"Type":4,"Flags":0,"Description":"Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret"}}}},{"3":{"ItemType":182}},{"2":{"Name":"IoK8SApiCoreV1StorageOSVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":159,"Flags":0,"Description":"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."},"volumeName":{"Type":4,"Flags":0,"Description":"VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace."},"volumeNamespace":{"Type":4,"Flags":0,"Description":"VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created."}}}},{"2":{"Name":"IoK8SApiCoreV1VsphereVirtualDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"storagePolicyID":{"Type":4,"Flags":0,"Description":"Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName."},"storagePolicyName":{"Type":4,"Flags":0,"Description":"Storage Policy Based Management (SPBM) profile name."},"volumePath":{"Type":4,"Flags":1,"Description":"Path that identifies vSphere volume vmdk"}}}},{"3":{"ItemType":174}},{"2":{"Name":"IoK8SApiCoreV1PodStatus","Properties":{"conditions":{"Type":237,"Flags":0,"Description":"Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions"},"containerStatuses":{"Type":243,"Flags":0,"Description":"The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status"},"ephemeralContainerStatuses":{"Type":244,"Flags":0,"Description":"Status for any ephemeral containers that have run in this pod. This field is alpha-level and is only populated by servers that enable the EphemeralContainers feature."},"hostIP":{"Type":4,"Flags":0,"Description":"IP address of the host to which the pod is assigned. Empty if not yet scheduled."},"initContainerStatuses":{"Type":245,"Flags":0,"Description":"The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status"},"message":{"Type":4,"Flags":0,"Description":"A human readable message indicating details about why the pod is in this condition."},"nominatedNodeName":{"Type":4,"Flags":0,"Description":"nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled."},"phase":{"Type":4,"Flags":0,"Description":"The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values:\n\nPending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod.\n\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase"},"podIP":{"Type":4,"Flags":0,"Description":"IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated."},"podIPs":{"Type":247,"Flags":0,"Description":"podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet."},"qosClass":{"Type":4,"Flags":0,"Description":"The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md"},"reason":{"Type":4,"Flags":0,"Description":"A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'"},"startTime":{"Type":4,"Flags":0,"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."}}}},{"2":{"Name":"IoK8SApiCoreV1PodCondition","Properties":{"lastProbeTime":{"Type":4,"Flags":0,"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."},"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"Human-readable message indicating details about last transition."},"reason":{"Type":4,"Flags":0,"Description":"Unique, one-word, CamelCase reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions"},"type":{"Type":4,"Flags":1,"Description":"Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions"}}}},{"3":{"ItemType":236}},{"2":{"Name":"IoK8SApiCoreV1ContainerStatus","Properties":{"containerID":{"Type":4,"Flags":0,"Description":"Container's ID in the format 'docker://'."},"image":{"Type":4,"Flags":1,"Description":"The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images"},"imageID":{"Type":4,"Flags":1,"Description":"ImageID of the container's image."},"lastState":{"Type":239,"Flags":0,"Description":"ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting."},"name":{"Type":4,"Flags":1,"Description":"This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated."},"ready":{"Type":2,"Flags":1,"Description":"Specifies whether the container has passed its readiness probe."},"restartCount":{"Type":3,"Flags":1,"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."},"started":{"Type":2,"Flags":0,"Description":"Specifies whether the container has passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. Is always true when no startupProbe is defined."},"state":{"Type":239,"Flags":0,"Description":"ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting."}}}},{"2":{"Name":"IoK8SApiCoreV1ContainerState","Properties":{"running":{"Type":240,"Flags":0,"Description":"ContainerStateRunning is a running state of a container."},"terminated":{"Type":241,"Flags":0,"Description":"ContainerStateTerminated is a terminated state of a container."},"waiting":{"Type":242,"Flags":0,"Description":"ContainerStateWaiting is a waiting state of a container."}}}},{"2":{"Name":"IoK8SApiCoreV1ContainerStateRunning","Properties":{"startedAt":{"Type":4,"Flags":0,"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."}}}},{"2":{"Name":"IoK8SApiCoreV1ContainerStateTerminated","Properties":{"containerID":{"Type":4,"Flags":0,"Description":"Container's ID in the format 'docker://'"},"exitCode":{"Type":3,"Flags":1,"Description":"Exit status from the last termination of the container"},"finishedAt":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"Message regarding the last termination of the container"},"reason":{"Type":4,"Flags":0,"Description":"(brief) reason from the last termination of the container"},"signal":{"Type":3,"Flags":0,"Description":"Signal from the last termination of the container"},"startedAt":{"Type":4,"Flags":0,"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."}}}},{"2":{"Name":"IoK8SApiCoreV1ContainerStateWaiting","Properties":{"message":{"Type":4,"Flags":0,"Description":"Message regarding why the container is not yet running."},"reason":{"Type":4,"Flags":0,"Description":"(brief) reason the container is not yet running."}}}},{"3":{"ItemType":238}},{"3":{"ItemType":238}},{"3":{"ItemType":238}},{"2":{"Name":"IoK8SApiCoreV1PodIP","Properties":{"ip":{"Type":4,"Flags":0,"Description":"ip is an IP address (IPv4 or IPv6) assigned to the pod"}}}},{"3":{"ItemType":246}},{"2":{"Name":"core/Pod","Properties":{"kind":{"Type":79,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":80,"Flags":10,"Description":"The api version."},"metadata":{"Type":83,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":84,"Flags":0,"Description":"PodSpec is a description of a pod."},"status":{"Type":235,"Flags":0,"Description":"PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane."}}}},{"4":{"Name":"core/Pod@v1","ScopeType":0,"Body":248,"Flags":0}},{"6":{"Value":"PodTemplate"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":252,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":253,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1PodTemplateSpec","Properties":{"metadata":{"Type":192,"Flags":0,"Description":"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."},"spec":{"Type":84,"Flags":0,"Description":"PodSpec is a description of a pod."}}}},{"2":{"Name":"core/PodTemplate","Properties":{"kind":{"Type":250,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":251,"Flags":10,"Description":"The api version."},"metadata":{"Type":254,"Flags":1,"Description":"The resource metadata."},"template":{"Type":255,"Flags":0,"Description":"PodTemplateSpec describes the data a pod should have when created from a template"}}}},{"4":{"Name":"core/PodTemplate@v1","ScopeType":0,"Body":256,"Flags":0}},{"6":{"Value":"ReplicationController"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":260,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":261,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1ReplicationControllerSpec","Properties":{"minReadySeconds":{"Type":3,"Flags":0,"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)"},"replicas":{"Type":3,"Flags":0,"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"},"selector":{"Type":264,"Flags":0,"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"},"template":{"Type":255,"Flags":0,"Description":"PodTemplateSpec describes the data a pod should have when created from a template"}}}},{"2":{"Name":"IoK8SApiCoreV1ReplicationControllerSpecSelector","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1ReplicationControllerStatus","Properties":{"availableReplicas":{"Type":3,"Flags":0,"Description":"The number of available replicas (ready for at least minReadySeconds) for this replication controller."},"conditions":{"Type":267,"Flags":0,"Description":"Represents the latest available observations of a replication controller's current state."},"fullyLabeledReplicas":{"Type":3,"Flags":0,"Description":"The number of pods that have labels matching the labels of the pod template of the replication controller."},"observedGeneration":{"Type":3,"Flags":0,"Description":"ObservedGeneration reflects the generation of the most recently observed replication controller."},"readyReplicas":{"Type":3,"Flags":0,"Description":"The number of ready replicas for this replication controller."},"replicas":{"Type":3,"Flags":1,"Description":"Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller"}}}},{"2":{"Name":"IoK8SApiCoreV1ReplicationControllerCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"A human readable message indicating details about the transition."},"reason":{"Type":4,"Flags":0,"Description":"The reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"Status of the condition, one of True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"Type of replication controller condition."}}}},{"3":{"ItemType":266}},{"2":{"Name":"core/ReplicationController","Properties":{"kind":{"Type":258,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":259,"Flags":10,"Description":"The api version."},"metadata":{"Type":262,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":263,"Flags":0,"Description":"ReplicationControllerSpec is the specification of a replication controller."},"status":{"Type":265,"Flags":0,"Description":"ReplicationControllerStatus represents the current status of a replication controller."}}}},{"4":{"Name":"core/ReplicationController@v1","ScopeType":0,"Body":268,"Flags":0}},{"6":{"Value":"ResourceQuota"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":272,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":273,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1ResourceQuotaSpec","Properties":{"hard":{"Type":276,"Flags":0,"Description":"hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/"},"scopeSelector":{"Type":277,"Flags":0,"Description":"A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements."},"scopes":{"Type":281,"Flags":0,"Description":"A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects."}}}},{"2":{"Name":"IoK8SApiCoreV1ResourceQuotaSpecHard","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1ScopeSelector","Properties":{"matchExpressions":{"Type":280,"Flags":0,"Description":"A list of scope selector requirements by scope of the resources."}}}},{"2":{"Name":"IoK8SApiCoreV1ScopedResourceSelectorRequirement","Properties":{"operator":{"Type":4,"Flags":1,"Description":"Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist."},"scopeName":{"Type":4,"Flags":1,"Description":"The name of the scope that the selector applies to."},"values":{"Type":279,"Flags":0,"Description":"An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":278}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1ResourceQuotaStatus","Properties":{"hard":{"Type":283,"Flags":0,"Description":"Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/"},"used":{"Type":284,"Flags":0,"Description":"Used is the current observed total usage of the resource in the namespace."}}}},{"2":{"Name":"IoK8SApiCoreV1ResourceQuotaStatusHard","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1ResourceQuotaStatusUsed","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"core/ResourceQuota","Properties":{"kind":{"Type":270,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":271,"Flags":10,"Description":"The api version."},"metadata":{"Type":274,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":275,"Flags":0,"Description":"ResourceQuotaSpec defines the desired hard limits to enforce for Quota."},"status":{"Type":282,"Flags":0,"Description":"ResourceQuotaStatus defines the enforced hard limits and observed use."}}}},{"4":{"Name":"core/ResourceQuota@v1","ScopeType":0,"Body":285,"Flags":0}},{"6":{"Value":"Secret"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":289,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":290,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1SecretData","Properties":{},"AdditionalProperties":0}},{"2":{"Name":"IoK8SApiCoreV1SecretStringData","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"core/Secret","Properties":{"kind":{"Type":287,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":288,"Flags":10,"Description":"The api version."},"metadata":{"Type":291,"Flags":1,"Description":"The resource metadata."},"data":{"Type":292,"Flags":0,"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"},"immutable":{"Type":2,"Flags":0,"Description":"Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is a beta field enabled by ImmutableEphemeralVolumes feature gate."},"stringData":{"Type":293,"Flags":0,"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":{"Type":4,"Flags":0,"Description":"Used to facilitate programmatic handling of secret data."}}}},{"4":{"Name":"core/Secret@v1","ScopeType":0,"Body":294,"Flags":0}},{"6":{"Value":"ServiceAccount"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":298,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":299,"Flags":0,"Description":"The annotations for the resource."}}}},{"3":{"ItemType":159}},{"3":{"ItemType":24}},{"2":{"Name":"core/ServiceAccount","Properties":{"kind":{"Type":296,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":297,"Flags":10,"Description":"The api version."},"metadata":{"Type":300,"Flags":1,"Description":"The resource metadata."},"automountServiceAccountToken":{"Type":2,"Flags":0,"Description":"AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level."},"imagePullSecrets":{"Type":301,"Flags":0,"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"},"secrets":{"Type":302,"Flags":0,"Description":"Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret"}}}},{"4":{"Name":"core/ServiceAccount@v1","ScopeType":0,"Body":303,"Flags":0}},{"6":{"Value":"Service"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":307,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":308,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1ServiceSpec","Properties":{"clusterIP":{"Type":4,"Flags":0,"Description":"clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are \"None\", empty string (\"\"), or a valid IP address. \"None\" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies"},"externalIPs":{"Type":311,"Flags":0,"Description":"externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system."},"externalName":{"Type":4,"Flags":0,"Description":"externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved. Must be a valid RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires Type to be ExternalName."},"externalTrafficPolicy":{"Type":4,"Flags":0,"Description":"externalTrafficPolicy denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints. \"Local\" preserves the client source IP and avoids a second hop for LoadBalancer and Nodeport type services, but risks potentially imbalanced traffic spreading. \"Cluster\" obscures the client source IP and may cause a second hop to another node, but should have good overall load-spreading."},"healthCheckNodePort":{"Type":3,"Flags":0,"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."},"ipFamily":{"Type":4,"Flags":0,"Description":"ipFamily specifies whether this Service has a preference for a particular IP family (e.g. IPv4 vs. IPv6) when the IPv6DualStack feature gate is enabled. In a dual-stack cluster, you can specify ipFamily when creating a ClusterIP Service to determine whether the controller will allocate an IPv4 or IPv6 IP for it, and you can specify ipFamily when creating a headless Service to determine whether it will have IPv4 or IPv6 Endpoints. In either case, if you do not specify an ipFamily explicitly, it will default to the cluster's primary IP family. This field is part of an alpha feature, and you should not make any assumptions about its semantics other than those described above. In particular, you should not assume that it can (or cannot) be changed after creation time; that it can only have the values \"IPv4\" and \"IPv6\"; or that its current value on a given Service correctly reflects the current state of that Service. (For ClusterIP Services, look at clusterIP to see if the Service is IPv4 or IPv6. For headless Services, look at the endpoints, which may be dual-stack in the future. For ExternalName Services, ipFamily has no meaning, but it may be set to an irrelevant value anyway.)"},"loadBalancerIP":{"Type":4,"Flags":0,"Description":"Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature."},"loadBalancerSourceRanges":{"Type":312,"Flags":0,"Description":"If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/"},"ports":{"Type":314,"Flags":0,"Description":"The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies"},"publishNotReadyAddresses":{"Type":2,"Flags":0,"Description":"publishNotReadyAddresses indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready. The primary use case for setting this field is for a StatefulSet's Headless Service to propagate SRV DNS records for its Pods for the purpose of peer discovery. The Kubernetes controllers that generate Endpoints and EndpointSlice resources for Services interpret this to mean that all endpoints are considered \"ready\" even if the Pods themselves are not. Agents which consume only Kubernetes generated endpoints through the Endpoints or EndpointSlice resources can safely assume this behavior."},"selector":{"Type":315,"Flags":0,"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/"},"sessionAffinity":{"Type":4,"Flags":0,"Description":"Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies"},"sessionAffinityConfig":{"Type":316,"Flags":0,"Description":"SessionAffinityConfig represents the configurations of session affinity."},"topologyKeys":{"Type":318,"Flags":0,"Description":"topologyKeys is a preference-order list of topology keys which implementations of services should use to preferentially sort endpoints when accessing this Service, it can not be used at the same time as externalTrafficPolicy=Local. Topology keys must be valid label keys and at most 16 keys may be specified. Endpoints are chosen based on the first topology key with available backends. If this field is specified and all entries have no backends that match the topology of the client, the service has no backends for that client and connections should fail. The special value \"*\" may be used to mean \"any topology\". This catch-all value, if used, only makes sense as the last value in the list. If this is not specified or empty, no topology constraints will be applied."},"type":{"Type":4,"Flags":0,"Description":"type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ExternalName\" maps to the specified externalName. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types"}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1ServicePort","Properties":{"appProtocol":{"Type":4,"Flags":0,"Description":"The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. This is a beta field that is guarded by the ServiceAppProtocol feature gate and enabled by default."},"name":{"Type":4,"Flags":0,"Description":"The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service."},"nodePort":{"Type":3,"Flags":0,"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"},"port":{"Type":3,"Flags":1,"Description":"The port that will be exposed by this service."},"protocol":{"Type":4,"Flags":0,"Description":"The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP."},"targetPort":{"Type":4,"Flags":0,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."}}}},{"3":{"ItemType":313}},{"2":{"Name":"IoK8SApiCoreV1ServiceSpecSelector","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1SessionAffinityConfig","Properties":{"clientIP":{"Type":317,"Flags":0,"Description":"ClientIPConfig represents the configurations of Client IP based session affinity."}}}},{"2":{"Name":"IoK8SApiCoreV1ClientIPConfig","Properties":{"timeoutSeconds":{"Type":3,"Flags":0,"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)."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1ServiceStatus","Properties":{"loadBalancer":{"Type":320,"Flags":0,"Description":"LoadBalancerStatus represents the status of a load-balancer."}}}},{"2":{"Name":"IoK8SApiCoreV1LoadBalancerStatus","Properties":{"ingress":{"Type":322,"Flags":0,"Description":"Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points."}}}},{"2":{"Name":"IoK8SApiCoreV1LoadBalancerIngress","Properties":{"hostname":{"Type":4,"Flags":0,"Description":"Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)"},"ip":{"Type":4,"Flags":0,"Description":"IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)"}}}},{"3":{"ItemType":321}},{"2":{"Name":"core/Service","Properties":{"kind":{"Type":305,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":306,"Flags":10,"Description":"The api version."},"metadata":{"Type":309,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":310,"Flags":0,"Description":"ServiceSpec describes the attributes that a user creates on a service."},"status":{"Type":319,"Flags":0,"Description":"ServiceStatus represents the current status of a service."}}}},{"4":{"Name":"core/Service@v1","ScopeType":0,"Body":323,"Flags":0}},{"6":{"Value":"Namespace"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":327,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":328,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1NamespaceSpec","Properties":{"finalizers":{"Type":331,"Flags":0,"Description":"Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1NamespaceStatus","Properties":{"conditions":{"Type":334,"Flags":0,"Description":"Represents the latest available observations of a namespace's current state."},"phase":{"Type":4,"Flags":0,"Description":"Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/"}}}},{"2":{"Name":"IoK8SApiCoreV1NamespaceCondition","Properties":{"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0},"reason":{"Type":4,"Flags":0},"status":{"Type":4,"Flags":1,"Description":"Status of the condition, one of True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"Type of namespace controller condition."}}}},{"3":{"ItemType":333}},{"2":{"Name":"core/Namespace","Properties":{"kind":{"Type":325,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":326,"Flags":10,"Description":"The api version."},"metadata":{"Type":329,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":330,"Flags":0,"Description":"NamespaceSpec describes the attributes on a Namespace."},"status":{"Type":332,"Flags":0,"Description":"NamespaceStatus is information about the current status of a Namespace."}}}},{"4":{"Name":"core/Namespace@v1","ScopeType":0,"Body":335,"Flags":0}},{"6":{"Value":"Node"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":339,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":340,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSpec","Properties":{"configSource":{"Type":343,"Flags":0,"Description":"NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil."},"externalID":{"Type":4,"Flags":0,"Description":"Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966"},"podCIDR":{"Type":4,"Flags":0,"Description":"PodCIDR represents the pod IP range assigned to the node."},"podCIDRs":{"Type":345,"Flags":0,"Description":"podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6."},"providerID":{"Type":4,"Flags":0,"Description":"ID of the node assigned by the cloud provider in the format: ://"},"taints":{"Type":347,"Flags":0,"Description":"If specified, the node's taints."},"unschedulable":{"Type":2,"Flags":0,"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"}}}},{"2":{"Name":"IoK8SApiCoreV1NodeConfigSource","Properties":{"configMap":{"Type":344,"Flags":0,"Description":"ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node."}}}},{"2":{"Name":"IoK8SApiCoreV1ConfigMapNodeConfigSource","Properties":{"kubeletConfigKey":{"Type":4,"Flags":1,"Description":"KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases."},"name":{"Type":4,"Flags":1,"Description":"Name is the metadata.name of the referenced ConfigMap. This field is required in all cases."},"namespace":{"Type":4,"Flags":1,"Description":"Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases."},"resourceVersion":{"Type":4,"Flags":0,"Description":"ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status."},"uid":{"Type":4,"Flags":0,"Description":"UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1Taint","Properties":{"effect":{"Type":4,"Flags":1,"Description":"Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute."},"key":{"Type":4,"Flags":1,"Description":"Required. The taint key to be applied to a node."},"timeAdded":{"Type":4,"Flags":0,"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."},"value":{"Type":4,"Flags":0,"Description":"The taint value corresponding to the taint key."}}}},{"3":{"ItemType":346}},{"2":{"Name":"IoK8SApiCoreV1NodeStatus","Properties":{"addresses":{"Type":350,"Flags":0,"Description":"List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See http://pr.k8s.io/79391 for an example."},"allocatable":{"Type":351,"Flags":0,"Description":"Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity."},"capacity":{"Type":352,"Flags":0,"Description":"Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity"},"conditions":{"Type":354,"Flags":0,"Description":"Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition"},"config":{"Type":355,"Flags":0,"Description":"NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource."},"daemonEndpoints":{"Type":356,"Flags":0,"Description":"NodeDaemonEndpoints lists ports opened by daemons running on the Node."},"images":{"Type":360,"Flags":0,"Description":"List of container images on this node"},"nodeInfo":{"Type":361,"Flags":0,"Description":"NodeSystemInfo is a set of ids/uuids to uniquely identify the node."},"phase":{"Type":4,"Flags":0,"Description":"NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated."},"volumesAttached":{"Type":363,"Flags":0,"Description":"List of volumes that are attached to the node."},"volumesInUse":{"Type":364,"Flags":0,"Description":"List of attachable volumes in use (mounted) by the node."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeAddress","Properties":{"address":{"Type":4,"Flags":1,"Description":"The node address."},"type":{"Type":4,"Flags":1,"Description":"Node address type, one of Hostname, ExternalIP or InternalIP."}}}},{"3":{"ItemType":349}},{"2":{"Name":"IoK8SApiCoreV1NodeStatusAllocatable","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1NodeStatusCapacity","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1NodeCondition","Properties":{"lastHeartbeatTime":{"Type":4,"Flags":0,"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."},"lastTransitionTime":{"Type":4,"Flags":0,"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."},"message":{"Type":4,"Flags":0,"Description":"Human readable message indicating details about last transition."},"reason":{"Type":4,"Flags":0,"Description":"(brief) reason for the condition's last transition."},"status":{"Type":4,"Flags":1,"Description":"Status of the condition, one of True, False, Unknown."},"type":{"Type":4,"Flags":1,"Description":"Type of node condition."}}}},{"3":{"ItemType":353}},{"2":{"Name":"IoK8SApiCoreV1NodeConfigStatus","Properties":{"active":{"Type":343,"Flags":0,"Description":"NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil."},"assigned":{"Type":343,"Flags":0,"Description":"NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil."},"error":{"Type":4,"Flags":0,"Description":"Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions."},"lastKnownGood":{"Type":343,"Flags":0,"Description":"NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeDaemonEndpoints","Properties":{"kubeletEndpoint":{"Type":357,"Flags":0,"Description":"DaemonEndpoint contains information about a single Daemon endpoint."}}}},{"2":{"Name":"IoK8SApiCoreV1DaemonEndpoint","Properties":{"Port":{"Type":3,"Flags":1,"Description":"Port number of the given endpoint."}}}},{"2":{"Name":"IoK8SApiCoreV1ContainerImage","Properties":{"names":{"Type":359,"Flags":1,"Description":"Names by which this image is known. e.g. [\"k8s.gcr.io/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]"},"sizeBytes":{"Type":3,"Flags":0,"Description":"The size of the image in bytes."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":358}},{"2":{"Name":"IoK8SApiCoreV1NodeSystemInfo","Properties":{"architecture":{"Type":4,"Flags":1,"Description":"The Architecture reported by the node"},"bootID":{"Type":4,"Flags":1,"Description":"Boot ID reported by the node."},"containerRuntimeVersion":{"Type":4,"Flags":1,"Description":"ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0)."},"kernelVersion":{"Type":4,"Flags":1,"Description":"Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64)."},"kubeProxyVersion":{"Type":4,"Flags":1,"Description":"KubeProxy Version reported by the node."},"kubeletVersion":{"Type":4,"Flags":1,"Description":"Kubelet Version reported by the node."},"machineID":{"Type":4,"Flags":1,"Description":"MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html"},"operatingSystem":{"Type":4,"Flags":1,"Description":"The Operating System reported by the node"},"osImage":{"Type":4,"Flags":1,"Description":"OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy))."},"systemUUID":{"Type":4,"Flags":1,"Description":"SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid"}}}},{"2":{"Name":"IoK8SApiCoreV1AttachedVolume","Properties":{"devicePath":{"Type":4,"Flags":1,"Description":"DevicePath represents the device path where the volume should be available"},"name":{"Type":4,"Flags":1,"Description":"Name of the attached volume"}}}},{"3":{"ItemType":362}},{"3":{"ItemType":4}},{"2":{"Name":"core/Node","Properties":{"kind":{"Type":337,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":338,"Flags":10,"Description":"The api version."},"metadata":{"Type":341,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":342,"Flags":0,"Description":"NodeSpec describes the attributes that a node is created with."},"status":{"Type":348,"Flags":0,"Description":"NodeStatus is information about the current status of a node."}}}},{"4":{"Name":"core/Node@v1","ScopeType":0,"Body":365,"Flags":0}},{"6":{"Value":"PersistentVolume"}},{"6":{"Value":"v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":369,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":370,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeSpec","Properties":{"accessModes":{"Type":373,"Flags":0,"Description":"AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes"},"awsElasticBlockStore":{"Type":175,"Flags":0,"Description":"Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling."},"azureDisk":{"Type":176,"Flags":0,"Description":"AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."},"azureFile":{"Type":374,"Flags":0,"Description":"AzureFile represents an Azure File Service mount on the host and bind mount to the pod."},"capacity":{"Type":375,"Flags":0,"Description":"A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity"},"cephfs":{"Type":376,"Flags":0,"Description":"Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling."},"cinder":{"Type":379,"Flags":0,"Description":"Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling."},"claimRef":{"Type":24,"Flags":0,"Description":"ObjectReference contains enough information to let you inspect or modify the referred object."},"csi":{"Type":380,"Flags":0,"Description":"Represents storage that is managed by an external CSI volume driver (Beta feature)"},"fc":{"Type":200,"Flags":0,"Description":"Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling."},"flexVolume":{"Type":382,"Flags":0,"Description":"FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin."},"flocker":{"Type":205,"Flags":0,"Description":"Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling."},"gcePersistentDisk":{"Type":206,"Flags":0,"Description":"Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling."},"glusterfs":{"Type":384,"Flags":0,"Description":"Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling."},"hostPath":{"Type":209,"Flags":0,"Description":"Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling."},"iscsi":{"Type":385,"Flags":0,"Description":"ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling."},"local":{"Type":387,"Flags":0,"Description":"Local represents directly-attached storage with node affinity (Beta feature)"},"mountOptions":{"Type":388,"Flags":0,"Description":"A list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options"},"nfs":{"Type":212,"Flags":0,"Description":"Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling."},"nodeAffinity":{"Type":389,"Flags":0,"Description":"VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from."},"persistentVolumeReclaimPolicy":{"Type":4,"Flags":0,"Description":"What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming"},"photonPersistentDisk":{"Type":214,"Flags":0,"Description":"Represents a Photon Controller persistent disk resource."},"portworxVolume":{"Type":215,"Flags":0,"Description":"PortworxVolumeSource represents a Portworx volume resource."},"quobyte":{"Type":226,"Flags":0,"Description":"Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling."},"rbd":{"Type":390,"Flags":0,"Description":"Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling."},"scaleIO":{"Type":392,"Flags":0,"Description":"ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume"},"storageClassName":{"Type":4,"Flags":0,"Description":"Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass."},"storageos":{"Type":393,"Flags":0,"Description":"Represents a StorageOS persistent volume resource."},"volumeMode":{"Type":4,"Flags":0,"Description":"volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec."},"vsphereVolume":{"Type":233,"Flags":0,"Description":"Represents a vSphere volume resource."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1AzureFilePersistentVolumeSource","Properties":{"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretName":{"Type":4,"Flags":1,"Description":"the name of secret that contains Azure Storage Account Name and Key"},"secretNamespace":{"Type":4,"Flags":0,"Description":"the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod"},"shareName":{"Type":4,"Flags":1,"Description":"Share Name"}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeSpecCapacity","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1CephFSPersistentVolumeSource","Properties":{"monitors":{"Type":377,"Flags":1,"Description":"Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"path":{"Type":4,"Flags":0,"Description":"Optional: Used as the mounted root, rather than the full Ceph tree, default is /"},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"secretFile":{"Type":4,"Flags":0,"Description":"Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"secretRef":{"Type":378,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"user":{"Type":4,"Flags":0,"Description":"Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1SecretReference","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name is unique within a namespace to reference a secret resource."},"namespace":{"Type":4,"Flags":0,"Description":"Namespace defines the space within which the secret name must be unique."}}}},{"2":{"Name":"IoK8SApiCoreV1CinderPersistentVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"},"secretRef":{"Type":378,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"volumeID":{"Type":4,"Flags":1,"Description":"volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"}}}},{"2":{"Name":"IoK8SApiCoreV1CSIPersistentVolumeSource","Properties":{"controllerExpandSecretRef":{"Type":378,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"controllerPublishSecretRef":{"Type":378,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"driver":{"Type":4,"Flags":1,"Description":"Driver is the name of the driver to use for this volume. Required."},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\"."},"nodePublishSecretRef":{"Type":378,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"nodeStageSecretRef":{"Type":378,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write)."},"volumeAttributes":{"Type":381,"Flags":0,"Description":"Attributes of the volume to publish."},"volumeHandle":{"Type":4,"Flags":1,"Description":"VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required."}}}},{"2":{"Name":"IoK8SApiCoreV1CSIPersistentVolumeSourceVolumeAttributes","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1FlexPersistentVolumeSource","Properties":{"driver":{"Type":4,"Flags":1,"Description":"Driver is the name of the driver to use for this volume."},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script."},"options":{"Type":383,"Flags":0,"Description":"Optional: Extra command options if any."},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":378,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"}}}},{"2":{"Name":"IoK8SApiCoreV1FlexPersistentVolumeSourceOptions","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1GlusterfsPersistentVolumeSource","Properties":{"endpoints":{"Type":4,"Flags":1,"Description":"EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"endpointsNamespace":{"Type":4,"Flags":0,"Description":"EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"path":{"Type":4,"Flags":1,"Description":"Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"}}}},{"2":{"Name":"IoK8SApiCoreV1IscsiPersistentVolumeSource","Properties":{"chapAuthDiscovery":{"Type":2,"Flags":0,"Description":"whether support iSCSI Discovery CHAP authentication"},"chapAuthSession":{"Type":2,"Flags":0,"Description":"whether support iSCSI Session CHAP authentication"},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi"},"initiatorName":{"Type":4,"Flags":0,"Description":"Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection."},"iqn":{"Type":4,"Flags":1,"Description":"Target iSCSI Qualified Name."},"iscsiInterface":{"Type":4,"Flags":0,"Description":"iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."},"lun":{"Type":3,"Flags":1,"Description":"iSCSI Target Lun number."},"portals":{"Type":386,"Flags":0,"Description":"iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."},"secretRef":{"Type":378,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"targetPortal":{"Type":4,"Flags":1,"Description":"iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1LocalVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a fileystem if unspecified."},"path":{"Type":4,"Flags":1,"Description":"The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...)."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1VolumeNodeAffinity","Properties":{"required":{"Type":94,"Flags":0,"Description":"A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms."}}}},{"2":{"Name":"IoK8SApiCoreV1RBDPersistentVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd"},"image":{"Type":4,"Flags":1,"Description":"The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"keyring":{"Type":4,"Flags":0,"Description":"Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"monitors":{"Type":391,"Flags":1,"Description":"A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"pool":{"Type":4,"Flags":0,"Description":"The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"secretRef":{"Type":378,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"user":{"Type":4,"Flags":0,"Description":"The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1ScaleIOPersistentVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\""},"gateway":{"Type":4,"Flags":1,"Description":"The host address of the ScaleIO API Gateway."},"protectionDomain":{"Type":4,"Flags":0,"Description":"The name of the ScaleIO Protection Domain for the configured storage."},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":378,"Flags":1,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"sslEnabled":{"Type":2,"Flags":0,"Description":"Flag to enable/disable SSL communication with Gateway, default false"},"storageMode":{"Type":4,"Flags":0,"Description":"Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned."},"storagePool":{"Type":4,"Flags":0,"Description":"The ScaleIO Storage Pool associated with the protection domain."},"system":{"Type":4,"Flags":1,"Description":"The name of the storage system as configured in ScaleIO."},"volumeName":{"Type":4,"Flags":0,"Description":"The name of a volume already created in the ScaleIO system that is associated with this volume source."}}}},{"2":{"Name":"IoK8SApiCoreV1StorageOSPersistentVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":24,"Flags":0,"Description":"ObjectReference contains enough information to let you inspect or modify the referred object."},"volumeName":{"Type":4,"Flags":0,"Description":"VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace."},"volumeNamespace":{"Type":4,"Flags":0,"Description":"VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created."}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeStatus","Properties":{"message":{"Type":4,"Flags":0,"Description":"A human-readable message indicating details about why the volume is in this state."},"phase":{"Type":4,"Flags":0,"Description":"Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase"},"reason":{"Type":4,"Flags":0,"Description":"Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI."}}}},{"2":{"Name":"core/PersistentVolume","Properties":{"kind":{"Type":367,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":368,"Flags":10,"Description":"The api version."},"metadata":{"Type":371,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":372,"Flags":0,"Description":"PersistentVolumeSpec is the specification of a persistent volume."},"status":{"Type":394,"Flags":0,"Description":"PersistentVolumeStatus is the current status of a persistent volume."}}}},{"4":{"Name":"core/PersistentVolume@v1","ScopeType":0,"Body":395,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "ConfigMap" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "AnyType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapBinaryData", + "properties": {}, + "additionalProperties": { + "$ref": "#/6" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapData", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "BooleanType" + }, + { + "$type": "ObjectType", + "name": "core/ConfigMap", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "binaryData": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "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." + }, + "data": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "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." + }, + "immutable": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is a beta field enabled by ImmutableEphemeralVolumes feature gate." + } + } + }, + { + "$type": "ResourceType", + "name": "core/ConfigMap@v1", + "scopeType": 0, + "body": { + "$ref": "#/10" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "Endpoints" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/15" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EndpointSubset", + "properties": { + "addresses": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize." + }, + "notReadyAddresses": { + "type": { + "$ref": "#/21" + }, + "flags": 0, + "description": "IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check." + }, + "ports": { + "type": { + "$ref": "#/24" + }, + "flags": 0, + "description": "Port numbers available on the related IP addresses." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EndpointAddress", + "properties": { + "hostname": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The Hostname of this endpoint" + }, + "ip": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready." + }, + "nodeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node." + }, + "targetRef": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "ObjectReference contains enough information to let you inspect or modify the referred object." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ObjectReference", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "API version of the referent." + }, + "fieldPath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + }, + "resourceVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/18" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/18" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EndpointPort", + "properties": { + "appProtocol": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. This is a beta field that is guarded by the ServiceAppProtocol feature gate and enabled by default." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined." + }, + "port": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "The port number of the endpoint." + }, + "protocol": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/22" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/17" + } + }, + { + "$type": "ObjectType", + "name": "core/Endpoints", + "properties": { + "kind": { + "type": { + "$ref": "#/12" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/13" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "The resource metadata." + }, + "subsets": { + "type": { + "$ref": "#/25" + }, + "flags": 0, + "description": "The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service." + } + } + }, + { + "$type": "ResourceType", + "name": "core/Endpoints@v1", + "scopeType": 0, + "body": { + "$ref": "#/26" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "Event" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/30" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/31" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EventSeries", + "properties": { + "count": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Number of occurrences in this series up to the last heartbeat time" + }, + "lastObservedTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "MicroTime is version of Time with microsecond level precision." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EventSource", + "properties": { + "component": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Component from which the event is generated." + }, + "host": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Node name on which the event is generated." + } + } + }, + { + "$type": "ObjectType", + "name": "core/Event", + "properties": { + "kind": { + "type": { + "$ref": "#/28" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/29" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/32" + }, + "flags": 1, + "description": "The resource metadata." + }, + "action": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "What action was taken/failed regarding to the Regarding object." + }, + "count": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "The number of times this event has occurred." + }, + "eventTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "MicroTime is version of Time with microsecond level precision." + }, + "firstTimestamp": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "involvedObject": { + "type": { + "$ref": "#/19" + }, + "flags": 1, + "description": "ObjectReference contains enough information to let you inspect or modify the referred object." + }, + "lastTimestamp": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "A human-readable description of the status of this operation." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "This should be a short, machine understandable string that gives the reason for the transition into the object's current status." + }, + "related": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "ObjectReference contains enough information to let you inspect or modify the referred object." + }, + "reportingComponent": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`." + }, + "reportingInstance": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "ID of the controller instance, e.g. `kubelet-xyzf`." + }, + "series": { + "type": { + "$ref": "#/33" + }, + "flags": 0, + "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time." + }, + "source": { + "type": { + "$ref": "#/34" + }, + "flags": 0, + "description": "EventSource contains information for an event." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Type of this event (Normal, Warning), new types could be added in the future" + } + } + }, + { + "$type": "ResourceType", + "name": "core/Event@v1", + "scopeType": 0, + "body": { + "$ref": "#/35" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "LimitRange" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/39" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/40" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LimitRangeSpec", + "properties": { + "limits": { + "type": { + "$ref": "#/49" + }, + "flags": 1, + "description": "Limits is the list of LimitRangeItem objects that are enforced." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LimitRangeItem", + "properties": { + "default": { + "type": { + "$ref": "#/44" + }, + "flags": 0, + "description": "Default resource requirement limit value by resource name if resource limit is omitted." + }, + "defaultRequest": { + "type": { + "$ref": "#/45" + }, + "flags": 0, + "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted." + }, + "max": { + "type": { + "$ref": "#/46" + }, + "flags": 0, + "description": "Max usage constraints on this kind by resource name." + }, + "maxLimitRequestRatio": { + "type": { + "$ref": "#/47" + }, + "flags": 0, + "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." + }, + "min": { + "type": { + "$ref": "#/48" + }, + "flags": 0, + "description": "Min usage constraints on this kind by resource name." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type of resource that this limit applies to." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LimitRangeItemDefault", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LimitRangeItemDefaultRequest", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LimitRangeItemMax", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LimitRangeItemMaxLimitRequestRatio", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LimitRangeItemMin", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/43" + } + }, + { + "$type": "ObjectType", + "name": "core/LimitRange", + "properties": { + "kind": { + "type": { + "$ref": "#/37" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/38" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/41" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/42" + }, + "flags": 0, + "description": "LimitRangeSpec defines a min/max usage limit for resources that match on kind." + } + } + }, + { + "$type": "ResourceType", + "name": "core/LimitRange@v1", + "scopeType": 0, + "body": { + "$ref": "#/50" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "PersistentVolumeClaim" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/54" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/55" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimSpec", + "properties": { + "accessModes": { + "type": { + "$ref": "#/58" + }, + "flags": 0, + "description": "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1" + }, + "dataSource": { + "type": { + "$ref": "#/59" + }, + "flags": 0, + "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace." + }, + "resources": { + "type": { + "$ref": "#/60" + }, + "flags": 0, + "description": "ResourceRequirements describes the compute resource requirements." + }, + "selector": { + "type": { + "$ref": "#/63" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "storageClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1" + }, + "volumeMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "VolumeName is the binding reference to the PersistentVolume backing this claim." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TypedLocalObjectReference", + "properties": { + "apiGroup": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind is the type of resource being referenced" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the name of resource being referenced" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceRequirements", + "properties": { + "limits": { + "type": { + "$ref": "#/61" + }, + "flags": 0, + "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/" + }, + "requests": { + "type": { + "$ref": "#/62" + }, + "flags": 0, + "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceRequirementsLimits", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceRequirementsRequests", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelector", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/66" + }, + "flags": 0, + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." + }, + "matchLabels": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": { + "$ref": "#/65" + }, + "flags": 0, + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/64" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimStatus", + "properties": { + "accessModes": { + "type": { + "$ref": "#/69" + }, + "flags": 0, + "description": "AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1" + }, + "capacity": { + "type": { + "$ref": "#/70" + }, + "flags": 0, + "description": "Represents the actual resources of the underlying volume." + }, + "conditions": { + "type": { + "$ref": "#/72" + }, + "flags": 0, + "description": "Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'." + }, + "phase": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Phase represents the current phase of PersistentVolumeClaim." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimStatusCapacity", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimCondition", + "properties": { + "lastProbeTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Human-readable message indicating details about last transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/71" + } + }, + { + "$type": "ObjectType", + "name": "core/PersistentVolumeClaim", + "properties": { + "kind": { + "type": { + "$ref": "#/52" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/53" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/56" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/57" + }, + "flags": 0, + "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes" + }, + "status": { + "type": { + "$ref": "#/68" + }, + "flags": 0, + "description": "PersistentVolumeClaimStatus is the current status of a persistent volume claim." + } + } + }, + { + "$type": "ResourceType", + "name": "core/PersistentVolumeClaim@v1", + "scopeType": 0, + "body": { + "$ref": "#/73" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "Pod" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/77" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/78" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSpec", + "properties": { + "activeDeadlineSeconds": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer." + }, + "affinity": { + "type": { + "$ref": "#/81" + }, + "flags": 0, + "description": "Affinity is a group of affinity scheduling rules." + }, + "automountServiceAccountToken": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted." + }, + "containers": { + "type": { + "$ref": "#/137" + }, + "flags": 1, + "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated." + }, + "dnsConfig": { + "type": { + "$ref": "#/138" + }, + "flags": 0, + "description": "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy." + }, + "dnsPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'." + }, + "enableServiceLinks": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true." + }, + "ephemeralContainers": { + "type": { + "$ref": "#/151" + }, + "flags": 0, + "description": "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature." + }, + "hostAliases": { + "type": { + "$ref": "#/154" + }, + "flags": 0, + "description": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods." + }, + "hostIPC": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Use the host's ipc namespace. Optional: Default to false." + }, + "hostNetwork": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false." + }, + "hostPID": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Use the host's pid namespace. Optional: Default to false." + }, + "hostname": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value." + }, + "imagePullSecrets": { + "type": { + "$ref": "#/156" + }, + "flags": 0, + "description": "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod" + }, + "initContainers": { + "type": { + "$ref": "#/157" + }, + "flags": 0, + "description": "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/" + }, + "nodeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements." + }, + "nodeSelector": { + "type": { + "$ref": "#/158" + }, + "flags": 0, + "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/" + }, + "overhead": { + "type": { + "$ref": "#/159" + }, + "flags": 0, + "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature." + }, + "preemptionPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate." + }, + "priority": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority." + }, + "priorityClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default." + }, + "readinessGates": { + "type": { + "$ref": "#/161" + }, + "flags": 0, + "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md" + }, + "restartPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy" + }, + "runtimeClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14." + }, + "schedulerName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler." + }, + "securityContext": { + "type": { + "$ref": "#/162" + }, + "flags": 0, + "description": "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext." + }, + "serviceAccount": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead." + }, + "serviceAccountName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/" + }, + "setHostnameAsFQDN": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false." + }, + "shareProcessNamespace": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false." + }, + "subdomain": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all." + }, + "terminationGracePeriodSeconds": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds." + }, + "tolerations": { + "type": { + "$ref": "#/167" + }, + "flags": 0, + "description": "If specified, the pod's tolerations." + }, + "topologySpreadConstraints": { + "type": { + "$ref": "#/169" + }, + "flags": 0, + "description": "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed." + }, + "volumes": { + "type": { + "$ref": "#/230" + }, + "flags": 0, + "description": "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Affinity", + "properties": { + "nodeAffinity": { + "type": { + "$ref": "#/82" + }, + "flags": 0, + "description": "Node affinity is a group of node affinity scheduling rules." + }, + "podAffinity": { + "type": { + "$ref": "#/92" + }, + "flags": 0, + "description": "Pod affinity is a group of inter pod affinity scheduling rules." + }, + "podAntiAffinity": { + "type": { + "$ref": "#/98" + }, + "flags": 0, + "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeAffinity", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/89" + }, + "flags": 0, + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred." + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/90" + }, + "flags": 0, + "description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PreferredSchedulingTerm", + "properties": { + "preference": { + "type": { + "$ref": "#/84" + }, + "flags": 1, + "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm." + }, + "weight": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelectorTerm", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/87" + }, + "flags": 0, + "description": "A list of node selector requirements by node's labels." + }, + "matchFields": { + "type": { + "$ref": "#/88" + }, + "flags": 0, + "description": "A list of node selector requirements by node's fields." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + }, + "values": { + "type": { + "$ref": "#/86" + }, + "flags": 0, + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/85" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/85" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/83" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelector", + "properties": { + "nodeSelectorTerms": { + "type": { + "$ref": "#/91" + }, + "flags": 1, + "description": "Required. A list of node selector terms. The terms are ORed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/84" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodAffinity", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/96" + }, + "flags": 0, + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred." + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/97" + }, + "flags": 0, + "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1WeightedPodAffinityTerm", + "properties": { + "podAffinityTerm": { + "type": { + "$ref": "#/94" + }, + "flags": 1, + "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running" + }, + "weight": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodAffinityTerm", + "properties": { + "labelSelector": { + "type": { + "$ref": "#/63" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "namespaces": { + "type": { + "$ref": "#/95" + }, + "flags": 0, + "description": "namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means \"this pod's namespace\"" + }, + "topologyKey": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/93" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/94" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodAntiAffinity", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/99" + }, + "flags": 0, + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred." + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "type": { + "$ref": "#/100" + }, + "flags": 0, + "description": "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/93" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/94" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Container", + "properties": { + "args": { + "type": { + "$ref": "#/102" + }, + "flags": 0, + "description": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "command": { + "type": { + "$ref": "#/103" + }, + "flags": 0, + "description": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "env": { + "type": { + "$ref": "#/110" + }, + "flags": 0, + "description": "List of environment variables to set in the container. Cannot be updated." + }, + "envFrom": { + "type": { + "$ref": "#/114" + }, + "flags": 0, + "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated." + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets." + }, + "imagePullPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images" + }, + "lifecycle": { + "type": { + "$ref": "#/115" + }, + "flags": 0, + "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted." + }, + "livenessProbe": { + "type": { + "$ref": "#/123" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated." + }, + "ports": { + "type": { + "$ref": "#/125" + }, + "flags": 0, + "description": "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated." + }, + "readinessProbe": { + "type": { + "$ref": "#/123" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "resources": { + "type": { + "$ref": "#/60" + }, + "flags": 0, + "description": "ResourceRequirements describes the compute resource requirements." + }, + "securityContext": { + "type": { + "$ref": "#/126" + }, + "flags": 0, + "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence." + }, + "startupProbe": { + "type": { + "$ref": "#/123" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "stdin": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false." + }, + "stdinOnce": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false" + }, + "terminationMessagePath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated." + }, + "terminationMessagePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated." + }, + "tty": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false." + }, + "volumeDevices": { + "type": { + "$ref": "#/134" + }, + "flags": 0, + "description": "volumeDevices is the list of block devices to be used by the container." + }, + "volumeMounts": { + "type": { + "$ref": "#/136" + }, + "flags": 0, + "description": "Pod volumes to mount into the container's filesystem. Cannot be updated." + }, + "workingDir": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EnvVar", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the environment variable. Must be a C_IDENTIFIER." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\"." + }, + "valueFrom": { + "type": { + "$ref": "#/105" + }, + "flags": 0, + "description": "EnvVarSource represents a source for the value of an EnvVar." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EnvVarSource", + "properties": { + "configMapKeyRef": { + "type": { + "$ref": "#/106" + }, + "flags": 0, + "description": "Selects a key from a ConfigMap." + }, + "fieldRef": { + "type": { + "$ref": "#/107" + }, + "flags": 0, + "description": "ObjectFieldSelector selects an APIVersioned field of an object." + }, + "resourceFieldRef": { + "type": { + "$ref": "#/108" + }, + "flags": 0, + "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format" + }, + "secretKeyRef": { + "type": { + "$ref": "#/109" + }, + "flags": 0, + "description": "SecretKeySelector selects a key of a Secret." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapKeySelector", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The key to select." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Specify whether the ConfigMap or its key must be defined" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ObjectFieldSelector", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"." + }, + "fieldPath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path of the field to select in the specified API version." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceFieldSelector", + "properties": { + "containerName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container name: required for volumes, optional for env vars" + }, + "divisor": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + }, + "resource": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Required: resource to select" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretKeySelector", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The key of the secret to select from. Must be a valid secret key." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Specify whether the Secret or its key must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/104" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EnvFromSource", + "properties": { + "configMapRef": { + "type": { + "$ref": "#/112" + }, + "flags": 0, + "description": "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables." + }, + "prefix": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER." + }, + "secretRef": { + "type": { + "$ref": "#/113" + }, + "flags": 0, + "description": "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapEnvSource", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Specify whether the ConfigMap must be defined" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretEnvSource", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Specify whether the Secret must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/111" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Lifecycle", + "properties": { + "postStart": { + "type": { + "$ref": "#/116" + }, + "flags": 0, + "description": "Handler defines a specific action that should be taken" + }, + "preStop": { + "type": { + "$ref": "#/116" + }, + "flags": 0, + "description": "Handler defines a specific action that should be taken" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Handler", + "properties": { + "exec": { + "type": { + "$ref": "#/117" + }, + "flags": 0, + "description": "ExecAction describes a \"run in container\" action." + }, + "httpGet": { + "type": { + "$ref": "#/119" + }, + "flags": 0, + "description": "HTTPGetAction describes an action based on HTTP Get requests." + }, + "tcpSocket": { + "type": { + "$ref": "#/122" + }, + "flags": 0, + "description": "TCPSocketAction describes an action based on opening a socket" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ExecAction", + "properties": { + "command": { + "type": { + "$ref": "#/118" + }, + "flags": 0, + "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HttpGetAction", + "properties": { + "host": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead." + }, + "httpHeaders": { + "type": { + "$ref": "#/121" + }, + "flags": 0, + "description": "Custom headers to set in the request. HTTP allows repeated headers." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Path to access on the HTTP server." + }, + "port": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + }, + "scheme": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Scheme to use for connecting to the host. Defaults to HTTP." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HttpHeader", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The header field name" + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The header field value" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/120" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TCPSocketAction", + "properties": { + "host": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Host name to connect to, defaults to the pod IP." + }, + "port": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Probe", + "properties": { + "exec": { + "type": { + "$ref": "#/117" + }, + "flags": 0, + "description": "ExecAction describes a \"run in container\" action." + }, + "failureThreshold": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." + }, + "httpGet": { + "type": { + "$ref": "#/119" + }, + "flags": 0, + "description": "HTTPGetAction describes an action based on HTTP Get requests." + }, + "initialDelaySeconds": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + }, + "periodSeconds": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." + }, + "successThreshold": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1." + }, + "tcpSocket": { + "type": { + "$ref": "#/122" + }, + "flags": 0, + "description": "TCPSocketAction describes an action based on opening a socket" + }, + "timeoutSeconds": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ContainerPort", + "properties": { + "containerPort": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536." + }, + "hostIP": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "What host IP to bind the external port to." + }, + "hostPort": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services." + }, + "protocol": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\"." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/124" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecurityContext", + "properties": { + "allowPrivilegeEscalation": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN" + }, + "capabilities": { + "type": { + "$ref": "#/127" + }, + "flags": 0, + "description": "Adds and removes POSIX capabilities from running containers." + }, + "privileged": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false." + }, + "procMount": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled." + }, + "readOnlyRootFilesystem": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Whether this container has a read-only root filesystem. Default is false." + }, + "runAsGroup": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + }, + "runAsNonRoot": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + }, + "runAsUser": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + }, + "seLinuxOptions": { + "type": { + "$ref": "#/130" + }, + "flags": 0, + "description": "SELinuxOptions are the labels to be applied to the container" + }, + "seccompProfile": { + "type": { + "$ref": "#/131" + }, + "flags": 0, + "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set." + }, + "windowsOptions": { + "type": { + "$ref": "#/132" + }, + "flags": 0, + "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Capabilities", + "properties": { + "add": { + "type": { + "$ref": "#/128" + }, + "flags": 0, + "description": "Added capabilities" + }, + "drop": { + "type": { + "$ref": "#/129" + }, + "flags": 0, + "description": "Removed capabilities" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SELinuxOptions", + "properties": { + "level": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Level is SELinux level label that applies to the container." + }, + "role": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Role is a SELinux role label that applies to the container." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Type is a SELinux type label that applies to the container." + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "User is a SELinux user label that applies to the container." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SeccompProfile", + "properties": { + "localhostProfile": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is \"Localhost\"." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1WindowsSecurityContextOptions", + "properties": { + "gmsaCredentialSpec": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field." + }, + "gmsaCredentialSpecName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use." + }, + "runAsUserName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeDevice", + "properties": { + "devicePath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "devicePath is the path inside of the container that the device will be mapped to." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "name must match the name of a persistentVolumeClaim in the pod" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/133" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeMount", + "properties": { + "mountPath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path within the container at which the volume should be mounted. Must not contain ':'." + }, + "mountPropagation": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "This must match the Name of a Volume." + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false." + }, + "subPath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root)." + }, + "subPathExpr": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/135" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/101" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodDNSConfig", + "properties": { + "nameservers": { + "type": { + "$ref": "#/139" + }, + "flags": 0, + "description": "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed." + }, + "options": { + "type": { + "$ref": "#/141" + }, + "flags": 0, + "description": "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy." + }, + "searches": { + "type": { + "$ref": "#/142" + }, + "flags": 0, + "description": "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodDNSConfigOption", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Required." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/140" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EphemeralContainer", + "properties": { + "args": { + "type": { + "$ref": "#/144" + }, + "flags": 0, + "description": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "command": { + "type": { + "$ref": "#/145" + }, + "flags": 0, + "description": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell" + }, + "env": { + "type": { + "$ref": "#/146" + }, + "flags": 0, + "description": "List of environment variables to set in the container. Cannot be updated." + }, + "envFrom": { + "type": { + "$ref": "#/147" + }, + "flags": 0, + "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated." + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images" + }, + "imagePullPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images" + }, + "lifecycle": { + "type": { + "$ref": "#/115" + }, + "flags": 0, + "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted." + }, + "livenessProbe": { + "type": { + "$ref": "#/123" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers." + }, + "ports": { + "type": { + "$ref": "#/148" + }, + "flags": 0, + "description": "Ports are not allowed for ephemeral containers." + }, + "readinessProbe": { + "type": { + "$ref": "#/123" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "resources": { + "type": { + "$ref": "#/60" + }, + "flags": 0, + "description": "ResourceRequirements describes the compute resource requirements." + }, + "securityContext": { + "type": { + "$ref": "#/126" + }, + "flags": 0, + "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence." + }, + "startupProbe": { + "type": { + "$ref": "#/123" + }, + "flags": 0, + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic." + }, + "stdin": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false." + }, + "stdinOnce": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false" + }, + "targetContainerName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature." + }, + "terminationMessagePath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated." + }, + "terminationMessagePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated." + }, + "tty": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false." + }, + "volumeDevices": { + "type": { + "$ref": "#/149" + }, + "flags": 0, + "description": "volumeDevices is the list of block devices to be used by the container." + }, + "volumeMounts": { + "type": { + "$ref": "#/150" + }, + "flags": 0, + "description": "Pod volumes to mount into the container's filesystem. Cannot be updated." + }, + "workingDir": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/104" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/111" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/124" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/133" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/135" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/143" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HostAlias", + "properties": { + "hostnames": { + "type": { + "$ref": "#/153" + }, + "flags": 0, + "description": "Hostnames for the above IP address." + }, + "ip": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IP address of the host file entry." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/152" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LocalObjectReference", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/155" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/101" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSpecNodeSelector", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSpecOverhead", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodReadinessGate", + "properties": { + "conditionType": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "ConditionType refers to a condition in the pod's condition list with matching type." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/160" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodSecurityContext", + "properties": { + "fsGroup": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume." + }, + "fsGroupChangePolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified defaults to \"Always\"." + }, + "runAsGroup": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container." + }, + "runAsNonRoot": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." + }, + "runAsUser": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container." + }, + "seLinuxOptions": { + "type": { + "$ref": "#/130" + }, + "flags": 0, + "description": "SELinuxOptions are the labels to be applied to the container" + }, + "seccompProfile": { + "type": { + "$ref": "#/131" + }, + "flags": 0, + "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set." + }, + "supplementalGroups": { + "type": { + "$ref": "#/163" + }, + "flags": 0, + "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container." + }, + "sysctls": { + "type": { + "$ref": "#/165" + }, + "flags": 0, + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch." + }, + "windowsOptions": { + "type": { + "$ref": "#/132" + }, + "flags": 0, + "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/23" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Sysctl", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of a property to set" + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Value of a property to set" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/164" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Toleration", + "properties": { + "effect": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute." + }, + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category." + }, + "tolerationSeconds": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/166" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TopologySpreadConstraint", + "properties": { + "labelSelector": { + "type": { + "$ref": "#/63" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "maxSkew": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed." + }, + "topologyKey": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. It's a required field." + }, + "whenUnsatisfiable": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assigment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/168" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Volume", + "properties": { + "awsElasticBlockStore": { + "type": { + "$ref": "#/171" + }, + "flags": 0, + "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling." + }, + "azureDisk": { + "type": { + "$ref": "#/172" + }, + "flags": 0, + "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." + }, + "azureFile": { + "type": { + "$ref": "#/173" + }, + "flags": 0, + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod." + }, + "cephfs": { + "type": { + "$ref": "#/174" + }, + "flags": 0, + "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling." + }, + "cinder": { + "type": { + "$ref": "#/176" + }, + "flags": 0, + "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling." + }, + "configMap": { + "type": { + "$ref": "#/177" + }, + "flags": 0, + "description": "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling." + }, + "csi": { + "type": { + "$ref": "#/180" + }, + "flags": 0, + "description": "Represents a source location of a volume to mount, managed by an external CSI driver" + }, + "downwardAPI": { + "type": { + "$ref": "#/182" + }, + "flags": 0, + "description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling." + }, + "emptyDir": { + "type": { + "$ref": "#/185" + }, + "flags": 0, + "description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling." + }, + "ephemeral": { + "type": { + "$ref": "#/186" + }, + "flags": 0, + "description": "Represents an ephemeral volume that is handled by a normal storage driver." + }, + "fc": { + "type": { + "$ref": "#/196" + }, + "flags": 0, + "description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling." + }, + "flexVolume": { + "type": { + "$ref": "#/199" + }, + "flags": 0, + "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin." + }, + "flocker": { + "type": { + "$ref": "#/201" + }, + "flags": 0, + "description": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling." + }, + "gcePersistentDisk": { + "type": { + "$ref": "#/202" + }, + "flags": 0, + "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling." + }, + "gitRepo": { + "type": { + "$ref": "#/203" + }, + "flags": 0, + "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container." + }, + "glusterfs": { + "type": { + "$ref": "#/204" + }, + "flags": 0, + "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling." + }, + "hostPath": { + "type": { + "$ref": "#/205" + }, + "flags": 0, + "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling." + }, + "iscsi": { + "type": { + "$ref": "#/206" + }, + "flags": 0, + "description": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "nfs": { + "type": { + "$ref": "#/208" + }, + "flags": 0, + "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling." + }, + "persistentVolumeClaim": { + "type": { + "$ref": "#/209" + }, + "flags": 0, + "description": "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system)." + }, + "photonPersistentDisk": { + "type": { + "$ref": "#/210" + }, + "flags": 0, + "description": "Represents a Photon Controller persistent disk resource." + }, + "portworxVolume": { + "type": { + "$ref": "#/211" + }, + "flags": 0, + "description": "PortworxVolumeSource represents a Portworx volume resource." + }, + "projected": { + "type": { + "$ref": "#/212" + }, + "flags": 0, + "description": "Represents a projected volume source" + }, + "quobyte": { + "type": { + "$ref": "#/222" + }, + "flags": 0, + "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling." + }, + "rbd": { + "type": { + "$ref": "#/223" + }, + "flags": 0, + "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling." + }, + "scaleIO": { + "type": { + "$ref": "#/225" + }, + "flags": 0, + "description": "ScaleIOVolumeSource represents a persistent ScaleIO volume" + }, + "secret": { + "type": { + "$ref": "#/226" + }, + "flags": 0, + "description": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling." + }, + "storageos": { + "type": { + "$ref": "#/228" + }, + "flags": 0, + "description": "Represents a StorageOS persistent volume resource." + }, + "vsphereVolume": { + "type": { + "$ref": "#/229" + }, + "flags": 0, + "description": "Represents a vSphere volume resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AWSElasticBlockStoreVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + }, + "partition": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty)." + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AzureDiskVolumeSource", + "properties": { + "cachingMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Host Caching mode: None, Read Only, Read Write." + }, + "diskName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The Name of the data disk in the blob storage" + }, + "diskURI": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The URI the data disk in the blob storage" + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AzureFileVolumeSource", + "properties": { + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "the name of secret that contains Azure Storage Account Name and Key" + }, + "shareName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Share Name" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CephFSVolumeSource", + "properties": { + "monitors": { + "type": { + "$ref": "#/175" + }, + "flags": 1, + "description": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "secretFile": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "secretRef": { + "type": { + "$ref": "#/155" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CinderVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + }, + "secretRef": { + "type": { + "$ref": "#/155" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "items": { + "type": { + "$ref": "#/179" + }, + "flags": 0, + "description": "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Specify whether the ConfigMap or its keys must be defined" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1KeyToPath", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The key to project." + }, + "mode": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/178" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CSIVolumeSource", + "properties": { + "driver": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster." + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply." + }, + "nodePublishSecretRef": { + "type": { + "$ref": "#/155" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Specifies a read-only configuration for the volume. Defaults to false (read/write)." + }, + "volumeAttributes": { + "type": { + "$ref": "#/181" + }, + "flags": 0, + "description": "VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CSIVolumeSourceVolumeAttributes", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1DownwardAPIVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "items": { + "type": { + "$ref": "#/184" + }, + "flags": 0, + "description": "Items is a list of downward API volume file" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1DownwardAPIVolumeFile", + "properties": { + "fieldRef": { + "type": { + "$ref": "#/107" + }, + "flags": 0, + "description": "ObjectFieldSelector selects an APIVersioned field of an object." + }, + "mode": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'" + }, + "resourceFieldRef": { + "type": { + "$ref": "#/108" + }, + "flags": 0, + "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/183" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EmptyDirVolumeSource", + "properties": { + "medium": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir" + }, + "sizeLimit": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EphemeralVolumeSource", + "properties": { + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Specifies a read-only configuration for the volume. Defaults to false (read/write)." + }, + "volumeClaimTemplate": { + "type": { + "$ref": "#/187" + }, + "flags": 0, + "description": "PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimTemplate", + "properties": { + "metadata": { + "type": { + "$ref": "#/188" + }, + "flags": 0, + "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create." + }, + "spec": { + "type": { + "$ref": "#/57" + }, + "flags": 1, + "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ObjectMeta", + "properties": { + "annotations": { + "type": { + "$ref": "#/189" + }, + "flags": 0, + "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations" + }, + "clusterName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request." + }, + "creationTimestamp": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "deletionGracePeriodSeconds": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only." + }, + "deletionTimestamp": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "finalizers": { + "type": { + "$ref": "#/190" + }, + "flags": 0, + "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list." + }, + "generateName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency" + }, + "generation": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only." + }, + "labels": { + "type": { + "$ref": "#/191" + }, + "flags": 0, + "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels" + }, + "managedFields": { + "type": { + "$ref": "#/193" + }, + "flags": 0, + "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces" + }, + "ownerReferences": { + "type": { + "$ref": "#/195" + }, + "flags": 0, + "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller." + }, + "resourceVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + }, + "selfLink": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release." + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ObjectMetaAnnotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ObjectMetaLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1ManagedFieldsEntry", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted." + }, + "fieldsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"" + }, + "fieldsV1": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "Any object" + }, + "manager": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Manager is an identifier of the workflow managing these fields." + }, + "operation": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'." + }, + "time": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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": "ArrayType", + "itemType": { + "$ref": "#/192" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1OwnerReference", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "API version of the referent." + }, + "blockOwnerDeletion": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned." + }, + "controller": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "If true, this reference points to the managing controller." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names" + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/194" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FCVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "lun": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Optional: FC target lun number" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "targetWWNs": { + "type": { + "$ref": "#/197" + }, + "flags": 0, + "description": "Optional: FC target worldwide names (WWNs)" + }, + "wwids": { + "type": { + "$ref": "#/198" + }, + "flags": 0, + "description": "Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlexVolumeSource", + "properties": { + "driver": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Driver is the name of the driver to use for this volume." + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script." + }, + "options": { + "type": { + "$ref": "#/200" + }, + "flags": 0, + "description": "Optional: Extra command options if any." + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/155" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlexVolumeSourceOptions", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlockerVolumeSource", + "properties": { + "datasetName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated" + }, + "datasetUUID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UUID of the dataset. This is unique identifier of a Flocker dataset" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GCEPersistentDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "partition": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "pdName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GitRepoVolumeSource", + "properties": { + "directory": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name." + }, + "repository": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Repository URL" + }, + "revision": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Commit hash for the specified revision." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GlusterfsVolumeSource", + "properties": { + "endpoints": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HostPathVolumeSource", + "properties": { + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1IscsiVolumeSource", + "properties": { + "chapAuthDiscovery": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "whether support iSCSI Discovery CHAP authentication" + }, + "chapAuthSession": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "whether support iSCSI Session CHAP authentication" + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi" + }, + "initiatorName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection." + }, + "iqn": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Target iSCSI Qualified Name." + }, + "iscsiInterface": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)." + }, + "lun": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "iSCSI Target Lun number." + }, + "portals": { + "type": { + "$ref": "#/207" + }, + "flags": 0, + "description": "iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)." + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false." + }, + "secretRef": { + "type": { + "$ref": "#/155" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "targetPortal": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NFSVolumeSource", + "properties": { + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + }, + "server": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeClaimVolumeSource", + "properties": { + "claimName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Will force the ReadOnly setting in VolumeMounts. Default false." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PhotonPersistentDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "pdID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "ID that identifies Photon Controller persistent disk" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PortworxVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "VolumeID uniquely identifies a Portworx volume" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ProjectedVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "sources": { + "type": { + "$ref": "#/221" + }, + "flags": 1, + "description": "list of volume projections" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeProjection", + "properties": { + "configMap": { + "type": { + "$ref": "#/214" + }, + "flags": 0, + "description": "Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode." + }, + "downwardAPI": { + "type": { + "$ref": "#/216" + }, + "flags": 0, + "description": "Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode." + }, + "secret": { + "type": { + "$ref": "#/218" + }, + "flags": 0, + "description": "Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode." + }, + "serviceAccountToken": { + "type": { + "$ref": "#/220" + }, + "flags": 0, + "description": "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise)." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapProjection", + "properties": { + "items": { + "type": { + "$ref": "#/215" + }, + "flags": 0, + "description": "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Specify whether the ConfigMap or its keys must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/178" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1DownwardAPIProjection", + "properties": { + "items": { + "type": { + "$ref": "#/217" + }, + "flags": 0, + "description": "Items is a list of DownwardAPIVolume file" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/183" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretProjection", + "properties": { + "items": { + "type": { + "$ref": "#/219" + }, + "flags": 0, + "description": "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "optional": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Specify whether the Secret or its key must be defined" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/178" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ServiceAccountTokenProjection", + "properties": { + "audience": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver." + }, + "expirationSeconds": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path is the path relative to the mount point of the file to project the token into." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/213" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1QuobyteVolumeSource", + "properties": { + "group": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Group to map volume access to Default is no group" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false." + }, + "registry": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes" + }, + "tenant": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin" + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "User to map volume access to Defaults to serivceaccount user" + }, + "volume": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Volume is a string that references an already created Quobyte volume by name." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1RBDVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd" + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "keyring": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "monitors": { + "type": { + "$ref": "#/224" + }, + "flags": 1, + "description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "pool": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "secretRef": { + "type": { + "$ref": "#/155" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ScaleIOVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"." + }, + "gateway": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The host address of the ScaleIO API Gateway." + }, + "protectionDomain": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The name of the ScaleIO Protection Domain for the configured storage." + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/155" + }, + "flags": 1, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "sslEnabled": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Flag to enable/disable SSL communication with Gateway, default false" + }, + "storageMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned." + }, + "storagePool": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The ScaleIO Storage Pool associated with the protection domain." + }, + "system": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The name of the storage system as configured in ScaleIO." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The name of a volume already created in the ScaleIO system that is associated with this volume source." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretVolumeSource", + "properties": { + "defaultMode": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set." + }, + "items": { + "type": { + "$ref": "#/227" + }, + "flags": 0, + "description": "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'." + }, + "optional": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Specify whether the Secret or its keys must be defined" + }, + "secretName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/178" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1StorageOSVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/155" + }, + "flags": 0, + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace." + }, + "volumeNamespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VsphereVirtualDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "storagePolicyID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName." + }, + "storagePolicyName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Storage Policy Based Management (SPBM) profile name." + }, + "volumePath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path that identifies vSphere volume vmdk" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/170" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodStatus", + "properties": { + "conditions": { + "type": { + "$ref": "#/233" + }, + "flags": 0, + "description": "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions" + }, + "containerStatuses": { + "type": { + "$ref": "#/239" + }, + "flags": 0, + "description": "The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status" + }, + "ephemeralContainerStatuses": { + "type": { + "$ref": "#/240" + }, + "flags": 0, + "description": "Status for any ephemeral containers that have run in this pod. This field is alpha-level and is only populated by servers that enable the EphemeralContainers feature." + }, + "hostIP": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IP address of the host to which the pod is assigned. Empty if not yet scheduled." + }, + "initContainerStatuses": { + "type": { + "$ref": "#/241" + }, + "flags": 0, + "description": "The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status" + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "A human readable message indicating details about why the pod is in this condition." + }, + "nominatedNodeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled." + }, + "phase": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values:\n\nPending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod.\n\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase" + }, + "podIP": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated." + }, + "podIPs": { + "type": { + "$ref": "#/243" + }, + "flags": 0, + "description": "podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet." + }, + "qosClass": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md" + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'" + }, + "startTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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": "ObjectType", + "name": "IoK8SApiCoreV1PodCondition", + "properties": { + "lastProbeTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Human-readable message indicating details about last transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Unique, one-word, CamelCase reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions" + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/232" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ContainerStatus", + "properties": { + "containerID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container's ID in the format 'docker://'." + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images" + }, + "imageID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "ImageID of the container's image." + }, + "lastState": { + "type": { + "$ref": "#/235" + }, + "flags": 0, + "description": "ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated." + }, + "ready": { + "type": { + "$ref": "#/9" + }, + "flags": 1, + "description": "Specifies whether the container has passed its readiness probe." + }, + "restartCount": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "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." + }, + "started": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Specifies whether the container has passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. Is always true when no startupProbe is defined." + }, + "state": { + "type": { + "$ref": "#/235" + }, + "flags": 0, + "description": "ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ContainerState", + "properties": { + "running": { + "type": { + "$ref": "#/236" + }, + "flags": 0, + "description": "ContainerStateRunning is a running state of a container." + }, + "terminated": { + "type": { + "$ref": "#/237" + }, + "flags": 0, + "description": "ContainerStateTerminated is a terminated state of a container." + }, + "waiting": { + "type": { + "$ref": "#/238" + }, + "flags": 0, + "description": "ContainerStateWaiting is a waiting state of a container." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ContainerStateRunning", + "properties": { + "startedAt": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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": "ObjectType", + "name": "IoK8SApiCoreV1ContainerStateTerminated", + "properties": { + "containerID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Container's ID in the format 'docker://'" + }, + "exitCode": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "Exit status from the last termination of the container" + }, + "finishedAt": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Message regarding the last termination of the container" + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "(brief) reason from the last termination of the container" + }, + "signal": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Signal from the last termination of the container" + }, + "startedAt": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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": "ObjectType", + "name": "IoK8SApiCoreV1ContainerStateWaiting", + "properties": { + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Message regarding why the container is not yet running." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "(brief) reason the container is not yet running." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/234" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/234" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/234" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodIP", + "properties": { + "ip": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "ip is an IP address (IPv4 or IPv6) assigned to the pod" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/242" + } + }, + { + "$type": "ObjectType", + "name": "core/Pod", + "properties": { + "kind": { + "type": { + "$ref": "#/75" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/76" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/79" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/80" + }, + "flags": 0, + "description": "PodSpec is a description of a pod." + }, + "status": { + "type": { + "$ref": "#/231" + }, + "flags": 0, + "description": "PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane." + } + } + }, + { + "$type": "ResourceType", + "name": "core/Pod@v1", + "scopeType": 0, + "body": { + "$ref": "#/244" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "PodTemplate" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/248" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/249" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PodTemplateSpec", + "properties": { + "metadata": { + "type": { + "$ref": "#/188" + }, + "flags": 0, + "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create." + }, + "spec": { + "type": { + "$ref": "#/80" + }, + "flags": 0, + "description": "PodSpec is a description of a pod." + } + } + }, + { + "$type": "ObjectType", + "name": "core/PodTemplate", + "properties": { + "kind": { + "type": { + "$ref": "#/246" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/247" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/250" + }, + "flags": 1, + "description": "The resource metadata." + }, + "template": { + "type": { + "$ref": "#/251" + }, + "flags": 0, + "description": "PodTemplateSpec describes the data a pod should have when created from a template" + } + } + }, + { + "$type": "ResourceType", + "name": "core/PodTemplate@v1", + "scopeType": 0, + "body": { + "$ref": "#/252" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "ReplicationController" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/256" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/257" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ReplicationControllerSpec", + "properties": { + "minReadySeconds": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "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)" + }, + "replicas": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "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" + }, + "selector": { + "type": { + "$ref": "#/260" + }, + "flags": 0, + "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" + }, + "template": { + "type": { + "$ref": "#/251" + }, + "flags": 0, + "description": "PodTemplateSpec describes the data a pod should have when created from a template" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ReplicationControllerSpecSelector", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ReplicationControllerStatus", + "properties": { + "availableReplicas": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller." + }, + "conditions": { + "type": { + "$ref": "#/263" + }, + "flags": 0, + "description": "Represents the latest available observations of a replication controller's current state." + }, + "fullyLabeledReplicas": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "The number of pods that have labels matching the labels of the pod template of the replication controller." + }, + "observedGeneration": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "ObservedGeneration reflects the generation of the most recently observed replication controller." + }, + "readyReplicas": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "The number of ready replicas for this replication controller." + }, + "replicas": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "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": "ObjectType", + "name": "IoK8SApiCoreV1ReplicationControllerCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "A human readable message indicating details about the transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Status of the condition, one of True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type of replication controller condition." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/262" + } + }, + { + "$type": "ObjectType", + "name": "core/ReplicationController", + "properties": { + "kind": { + "type": { + "$ref": "#/254" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/255" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/258" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/259" + }, + "flags": 0, + "description": "ReplicationControllerSpec is the specification of a replication controller." + }, + "status": { + "type": { + "$ref": "#/261" + }, + "flags": 0, + "description": "ReplicationControllerStatus represents the current status of a replication controller." + } + } + }, + { + "$type": "ResourceType", + "name": "core/ReplicationController@v1", + "scopeType": 0, + "body": { + "$ref": "#/264" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "ResourceQuota" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/268" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/269" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceQuotaSpec", + "properties": { + "hard": { + "type": { + "$ref": "#/272" + }, + "flags": 0, + "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/" + }, + "scopeSelector": { + "type": { + "$ref": "#/273" + }, + "flags": 0, + "description": "A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements." + }, + "scopes": { + "type": { + "$ref": "#/277" + }, + "flags": 0, + "description": "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceQuotaSpecHard", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ScopeSelector", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/276" + }, + "flags": 0, + "description": "A list of scope selector requirements by scope of the resources." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ScopedResourceSelectorRequirement", + "properties": { + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist." + }, + "scopeName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The name of the scope that the selector applies to." + }, + "values": { + "type": { + "$ref": "#/275" + }, + "flags": 0, + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/274" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceQuotaStatus", + "properties": { + "hard": { + "type": { + "$ref": "#/279" + }, + "flags": 0, + "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/" + }, + "used": { + "type": { + "$ref": "#/280" + }, + "flags": 0, + "description": "Used is the current observed total usage of the resource in the namespace." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceQuotaStatusHard", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ResourceQuotaStatusUsed", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "core/ResourceQuota", + "properties": { + "kind": { + "type": { + "$ref": "#/266" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/267" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/270" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/271" + }, + "flags": 0, + "description": "ResourceQuotaSpec defines the desired hard limits to enforce for Quota." + }, + "status": { + "type": { + "$ref": "#/278" + }, + "flags": 0, + "description": "ResourceQuotaStatus defines the enforced hard limits and observed use." + } + } + }, + { + "$type": "ResourceType", + "name": "core/ResourceQuota@v1", + "scopeType": 0, + "body": { + "$ref": "#/281" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "Secret" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/285" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/286" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretData", + "properties": {}, + "additionalProperties": { + "$ref": "#/6" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretStringData", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "core/Secret", + "properties": { + "kind": { + "type": { + "$ref": "#/283" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/284" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/287" + }, + "flags": 1, + "description": "The resource metadata." + }, + "data": { + "type": { + "$ref": "#/288" + }, + "flags": 0, + "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" + }, + "immutable": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is a beta field enabled by ImmutableEphemeralVolumes feature gate." + }, + "stringData": { + "type": { + "$ref": "#/289" + }, + "flags": 0, + "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": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Used to facilitate programmatic handling of secret data." + } + } + }, + { + "$type": "ResourceType", + "name": "core/Secret@v1", + "scopeType": 0, + "body": { + "$ref": "#/290" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "ServiceAccount" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/294" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/295" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/155" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/19" + } + }, + { + "$type": "ObjectType", + "name": "core/ServiceAccount", + "properties": { + "kind": { + "type": { + "$ref": "#/292" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/293" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/296" + }, + "flags": 1, + "description": "The resource metadata." + }, + "automountServiceAccountToken": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level." + }, + "imagePullSecrets": { + "type": { + "$ref": "#/297" + }, + "flags": 0, + "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" + }, + "secrets": { + "type": { + "$ref": "#/298" + }, + "flags": 0, + "description": "Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret" + } + } + }, + { + "$type": "ResourceType", + "name": "core/ServiceAccount@v1", + "scopeType": 0, + "body": { + "$ref": "#/299" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "Service" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/303" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/304" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ServiceSpec", + "properties": { + "clusterIP": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are \"None\", empty string (\"\"), or a valid IP address. \"None\" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies" + }, + "externalIPs": { + "type": { + "$ref": "#/307" + }, + "flags": 0, + "description": "externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system." + }, + "externalName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved. Must be a valid RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires Type to be ExternalName." + }, + "externalTrafficPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "externalTrafficPolicy denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints. \"Local\" preserves the client source IP and avoids a second hop for LoadBalancer and Nodeport type services, but risks potentially imbalanced traffic spreading. \"Cluster\" obscures the client source IP and may cause a second hop to another node, but should have good overall load-spreading." + }, + "healthCheckNodePort": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "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." + }, + "ipFamily": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "ipFamily specifies whether this Service has a preference for a particular IP family (e.g. IPv4 vs. IPv6) when the IPv6DualStack feature gate is enabled. In a dual-stack cluster, you can specify ipFamily when creating a ClusterIP Service to determine whether the controller will allocate an IPv4 or IPv6 IP for it, and you can specify ipFamily when creating a headless Service to determine whether it will have IPv4 or IPv6 Endpoints. In either case, if you do not specify an ipFamily explicitly, it will default to the cluster's primary IP family. This field is part of an alpha feature, and you should not make any assumptions about its semantics other than those described above. In particular, you should not assume that it can (or cannot) be changed after creation time; that it can only have the values \"IPv4\" and \"IPv6\"; or that its current value on a given Service correctly reflects the current state of that Service. (For ClusterIP Services, look at clusterIP to see if the Service is IPv4 or IPv6. For headless Services, look at the endpoints, which may be dual-stack in the future. For ExternalName Services, ipFamily has no meaning, but it may be set to an irrelevant value anyway.)" + }, + "loadBalancerIP": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature." + }, + "loadBalancerSourceRanges": { + "type": { + "$ref": "#/308" + }, + "flags": 0, + "description": "If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/" + }, + "ports": { + "type": { + "$ref": "#/310" + }, + "flags": 0, + "description": "The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies" + }, + "publishNotReadyAddresses": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "publishNotReadyAddresses indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready. The primary use case for setting this field is for a StatefulSet's Headless Service to propagate SRV DNS records for its Pods for the purpose of peer discovery. The Kubernetes controllers that generate Endpoints and EndpointSlice resources for Services interpret this to mean that all endpoints are considered \"ready\" even if the Pods themselves are not. Agents which consume only Kubernetes generated endpoints through the Endpoints or EndpointSlice resources can safely assume this behavior." + }, + "selector": { + "type": { + "$ref": "#/311" + }, + "flags": 0, + "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/" + }, + "sessionAffinity": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies" + }, + "sessionAffinityConfig": { + "type": { + "$ref": "#/312" + }, + "flags": 0, + "description": "SessionAffinityConfig represents the configurations of session affinity." + }, + "topologyKeys": { + "type": { + "$ref": "#/314" + }, + "flags": 0, + "description": "topologyKeys is a preference-order list of topology keys which implementations of services should use to preferentially sort endpoints when accessing this Service, it can not be used at the same time as externalTrafficPolicy=Local. Topology keys must be valid label keys and at most 16 keys may be specified. Endpoints are chosen based on the first topology key with available backends. If this field is specified and all entries have no backends that match the topology of the client, the service has no backends for that client and connections should fail. The special value \"*\" may be used to mean \"any topology\". This catch-all value, if used, only makes sense as the last value in the list. If this is not specified or empty, no topology constraints will be applied." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ExternalName\" maps to the specified externalName. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ServicePort", + "properties": { + "appProtocol": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. This is a beta field that is guarded by the ServiceAppProtocol feature gate and enabled by default." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service." + }, + "nodePort": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "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" + }, + "port": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "The port that will be exposed by this service." + }, + "protocol": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP." + }, + "targetPort": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/309" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ServiceSpecSelector", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SessionAffinityConfig", + "properties": { + "clientIP": { + "type": { + "$ref": "#/313" + }, + "flags": 0, + "description": "ClientIPConfig represents the configurations of Client IP based session affinity." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ClientIPConfig", + "properties": { + "timeoutSeconds": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "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": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ServiceStatus", + "properties": { + "loadBalancer": { + "type": { + "$ref": "#/316" + }, + "flags": 0, + "description": "LoadBalancerStatus represents the status of a load-balancer." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LoadBalancerStatus", + "properties": { + "ingress": { + "type": { + "$ref": "#/318" + }, + "flags": 0, + "description": "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LoadBalancerIngress", + "properties": { + "hostname": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)" + }, + "ip": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/317" + } + }, + { + "$type": "ObjectType", + "name": "core/Service", + "properties": { + "kind": { + "type": { + "$ref": "#/301" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/302" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/305" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/306" + }, + "flags": 0, + "description": "ServiceSpec describes the attributes that a user creates on a service." + }, + "status": { + "type": { + "$ref": "#/315" + }, + "flags": 0, + "description": "ServiceStatus represents the current status of a service." + } + } + }, + { + "$type": "ResourceType", + "name": "core/Service@v1", + "scopeType": 0, + "body": { + "$ref": "#/319" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "Namespace" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/323" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/324" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NamespaceSpec", + "properties": { + "finalizers": { + "type": { + "$ref": "#/327" + }, + "flags": 0, + "description": "Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NamespaceStatus", + "properties": { + "conditions": { + "type": { + "$ref": "#/330" + }, + "flags": 0, + "description": "Represents the latest available observations of a namespace's current state." + }, + "phase": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NamespaceCondition", + "properties": { + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Status of the condition, one of True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type of namespace controller condition." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/329" + } + }, + { + "$type": "ObjectType", + "name": "core/Namespace", + "properties": { + "kind": { + "type": { + "$ref": "#/321" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/322" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/325" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/326" + }, + "flags": 0, + "description": "NamespaceSpec describes the attributes on a Namespace." + }, + "status": { + "type": { + "$ref": "#/328" + }, + "flags": 0, + "description": "NamespaceStatus is information about the current status of a Namespace." + } + } + }, + { + "$type": "ResourceType", + "name": "core/Namespace@v1", + "scopeType": 0, + "body": { + "$ref": "#/331" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "Node" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/335" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/336" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSpec", + "properties": { + "configSource": { + "type": { + "$ref": "#/339" + }, + "flags": 0, + "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil." + }, + "externalID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966" + }, + "podCIDR": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "PodCIDR represents the pod IP range assigned to the node." + }, + "podCIDRs": { + "type": { + "$ref": "#/341" + }, + "flags": 0, + "description": "podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6." + }, + "providerID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "ID of the node assigned by the cloud provider in the format: ://" + }, + "taints": { + "type": { + "$ref": "#/343" + }, + "flags": 0, + "description": "If specified, the node's taints." + }, + "unschedulable": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "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": "ObjectType", + "name": "IoK8SApiCoreV1NodeConfigSource", + "properties": { + "configMap": { + "type": { + "$ref": "#/340" + }, + "flags": 0, + "description": "ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ConfigMapNodeConfigSource", + "properties": { + "kubeletConfigKey": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases." + }, + "resourceVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status." + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Taint", + "properties": { + "effect": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute." + }, + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Required. The taint key to be applied to a node." + }, + "timeAdded": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The taint value corresponding to the taint key." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/342" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeStatus", + "properties": { + "addresses": { + "type": { + "$ref": "#/346" + }, + "flags": 0, + "description": "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See http://pr.k8s.io/79391 for an example." + }, + "allocatable": { + "type": { + "$ref": "#/347" + }, + "flags": 0, + "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity." + }, + "capacity": { + "type": { + "$ref": "#/348" + }, + "flags": 0, + "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity" + }, + "conditions": { + "type": { + "$ref": "#/350" + }, + "flags": 0, + "description": "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition" + }, + "config": { + "type": { + "$ref": "#/351" + }, + "flags": 0, + "description": "NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource." + }, + "daemonEndpoints": { + "type": { + "$ref": "#/352" + }, + "flags": 0, + "description": "NodeDaemonEndpoints lists ports opened by daemons running on the Node." + }, + "images": { + "type": { + "$ref": "#/356" + }, + "flags": 0, + "description": "List of container images on this node" + }, + "nodeInfo": { + "type": { + "$ref": "#/357" + }, + "flags": 0, + "description": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node." + }, + "phase": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated." + }, + "volumesAttached": { + "type": { + "$ref": "#/359" + }, + "flags": 0, + "description": "List of volumes that are attached to the node." + }, + "volumesInUse": { + "type": { + "$ref": "#/360" + }, + "flags": 0, + "description": "List of attachable volumes in use (mounted) by the node." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeAddress", + "properties": { + "address": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The node address." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Node address type, one of Hostname, ExternalIP or InternalIP." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/345" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeStatusAllocatable", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeStatusCapacity", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeCondition", + "properties": { + "lastHeartbeatTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "lastTransitionTime": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Human readable message indicating details about last transition." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "(brief) reason for the condition's last transition." + }, + "status": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Status of the condition, one of True, False, Unknown." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Type of node condition." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/349" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeConfigStatus", + "properties": { + "active": { + "type": { + "$ref": "#/339" + }, + "flags": 0, + "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil." + }, + "assigned": { + "type": { + "$ref": "#/339" + }, + "flags": 0, + "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil." + }, + "error": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions." + }, + "lastKnownGood": { + "type": { + "$ref": "#/339" + }, + "flags": 0, + "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeDaemonEndpoints", + "properties": { + "kubeletEndpoint": { + "type": { + "$ref": "#/353" + }, + "flags": 0, + "description": "DaemonEndpoint contains information about a single Daemon endpoint." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1DaemonEndpoint", + "properties": { + "Port": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "Port number of the given endpoint." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ContainerImage", + "properties": { + "names": { + "type": { + "$ref": "#/355" + }, + "flags": 1, + "description": "Names by which this image is known. e.g. [\"k8s.gcr.io/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]" + }, + "sizeBytes": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "The size of the image in bytes." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/354" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSystemInfo", + "properties": { + "architecture": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The Architecture reported by the node" + }, + "bootID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Boot ID reported by the node." + }, + "containerRuntimeVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0)." + }, + "kernelVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64)." + }, + "kubeProxyVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "KubeProxy Version reported by the node." + }, + "kubeletVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kubelet Version reported by the node." + }, + "machineID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html" + }, + "operatingSystem": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The Operating System reported by the node" + }, + "osImage": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy))." + }, + "systemUUID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AttachedVolume", + "properties": { + "devicePath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "DevicePath represents the device path where the volume should be available" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the attached volume" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/358" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "core/Node", + "properties": { + "kind": { + "type": { + "$ref": "#/333" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/334" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/337" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/338" + }, + "flags": 0, + "description": "NodeSpec describes the attributes that a node is created with." + }, + "status": { + "type": { + "$ref": "#/344" + }, + "flags": 0, + "description": "NodeStatus is information about the current status of a node." + } + } + }, + { + "$type": "ResourceType", + "name": "core/Node@v1", + "scopeType": 0, + "body": { + "$ref": "#/361" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "PersistentVolume" + }, + { + "$type": "StringLiteralType", + "value": "v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/365" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/366" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeSpec", + "properties": { + "accessModes": { + "type": { + "$ref": "#/369" + }, + "flags": 0, + "description": "AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes" + }, + "awsElasticBlockStore": { + "type": { + "$ref": "#/171" + }, + "flags": 0, + "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling." + }, + "azureDisk": { + "type": { + "$ref": "#/172" + }, + "flags": 0, + "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." + }, + "azureFile": { + "type": { + "$ref": "#/370" + }, + "flags": 0, + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod." + }, + "capacity": { + "type": { + "$ref": "#/371" + }, + "flags": 0, + "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity" + }, + "cephfs": { + "type": { + "$ref": "#/372" + }, + "flags": 0, + "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling." + }, + "cinder": { + "type": { + "$ref": "#/375" + }, + "flags": 0, + "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling." + }, + "claimRef": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "ObjectReference contains enough information to let you inspect or modify the referred object." + }, + "csi": { + "type": { + "$ref": "#/376" + }, + "flags": 0, + "description": "Represents storage that is managed by an external CSI volume driver (Beta feature)" + }, + "fc": { + "type": { + "$ref": "#/196" + }, + "flags": 0, + "description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling." + }, + "flexVolume": { + "type": { + "$ref": "#/378" + }, + "flags": 0, + "description": "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin." + }, + "flocker": { + "type": { + "$ref": "#/201" + }, + "flags": 0, + "description": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling." + }, + "gcePersistentDisk": { + "type": { + "$ref": "#/202" + }, + "flags": 0, + "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling." + }, + "glusterfs": { + "type": { + "$ref": "#/380" + }, + "flags": 0, + "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling." + }, + "hostPath": { + "type": { + "$ref": "#/205" + }, + "flags": 0, + "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling." + }, + "iscsi": { + "type": { + "$ref": "#/381" + }, + "flags": 0, + "description": "ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling." + }, + "local": { + "type": { + "$ref": "#/383" + }, + "flags": 0, + "description": "Local represents directly-attached storage with node affinity (Beta feature)" + }, + "mountOptions": { + "type": { + "$ref": "#/384" + }, + "flags": 0, + "description": "A list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options" + }, + "nfs": { + "type": { + "$ref": "#/208" + }, + "flags": 0, + "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling." + }, + "nodeAffinity": { + "type": { + "$ref": "#/385" + }, + "flags": 0, + "description": "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from." + }, + "persistentVolumeReclaimPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming" + }, + "photonPersistentDisk": { + "type": { + "$ref": "#/210" + }, + "flags": 0, + "description": "Represents a Photon Controller persistent disk resource." + }, + "portworxVolume": { + "type": { + "$ref": "#/211" + }, + "flags": 0, + "description": "PortworxVolumeSource represents a Portworx volume resource." + }, + "quobyte": { + "type": { + "$ref": "#/222" + }, + "flags": 0, + "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling." + }, + "rbd": { + "type": { + "$ref": "#/386" + }, + "flags": 0, + "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling." + }, + "scaleIO": { + "type": { + "$ref": "#/388" + }, + "flags": 0, + "description": "ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume" + }, + "storageClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass." + }, + "storageos": { + "type": { + "$ref": "#/389" + }, + "flags": 0, + "description": "Represents a StorageOS persistent volume resource." + }, + "volumeMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec." + }, + "vsphereVolume": { + "type": { + "$ref": "#/229" + }, + "flags": 0, + "description": "Represents a vSphere volume resource." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AzureFilePersistentVolumeSource", + "properties": { + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "the name of secret that contains Azure Storage Account Name and Key" + }, + "secretNamespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod" + }, + "shareName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Share Name" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeSpecCapacity", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CephFSPersistentVolumeSource", + "properties": { + "monitors": { + "type": { + "$ref": "#/373" + }, + "flags": 1, + "description": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "secretFile": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "secretRef": { + "type": { + "$ref": "#/374" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretReference", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name is unique within a namespace to reference a secret resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace defines the space within which the secret name must be unique." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CinderPersistentVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + }, + "secretRef": { + "type": { + "$ref": "#/374" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CSIPersistentVolumeSource", + "properties": { + "controllerExpandSecretRef": { + "type": { + "$ref": "#/374" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "controllerPublishSecretRef": { + "type": { + "$ref": "#/374" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "driver": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Driver is the name of the driver to use for this volume. Required." + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\"." + }, + "nodePublishSecretRef": { + "type": { + "$ref": "#/374" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "nodeStageSecretRef": { + "type": { + "$ref": "#/374" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write)." + }, + "volumeAttributes": { + "type": { + "$ref": "#/377" + }, + "flags": 0, + "description": "Attributes of the volume to publish." + }, + "volumeHandle": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CSIPersistentVolumeSourceVolumeAttributes", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlexPersistentVolumeSource", + "properties": { + "driver": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Driver is the name of the driver to use for this volume." + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script." + }, + "options": { + "type": { + "$ref": "#/379" + }, + "flags": 0, + "description": "Optional: Extra command options if any." + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/374" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlexPersistentVolumeSourceOptions", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GlusterfsPersistentVolumeSource", + "properties": { + "endpoints": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "endpointsNamespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1IscsiPersistentVolumeSource", + "properties": { + "chapAuthDiscovery": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "whether support iSCSI Discovery CHAP authentication" + }, + "chapAuthSession": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "whether support iSCSI Session CHAP authentication" + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi" + }, + "initiatorName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection." + }, + "iqn": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Target iSCSI Qualified Name." + }, + "iscsiInterface": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)." + }, + "lun": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "iSCSI Target Lun number." + }, + "portals": { + "type": { + "$ref": "#/382" + }, + "flags": 0, + "description": "iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)." + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false." + }, + "secretRef": { + "type": { + "$ref": "#/374" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "targetPortal": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LocalVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a fileystem if unspecified." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...)." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeNodeAffinity", + "properties": { + "required": { + "type": { + "$ref": "#/90" + }, + "flags": 0, + "description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1RBDPersistentVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd" + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "keyring": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "monitors": { + "type": { + "$ref": "#/387" + }, + "flags": 1, + "description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "pool": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "secretRef": { + "type": { + "$ref": "#/374" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ScaleIOPersistentVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"" + }, + "gateway": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The host address of the ScaleIO API Gateway." + }, + "protectionDomain": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The name of the ScaleIO Protection Domain for the configured storage." + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/374" + }, + "flags": 1, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "sslEnabled": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Flag to enable/disable SSL communication with Gateway, default false" + }, + "storageMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned." + }, + "storagePool": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The ScaleIO Storage Pool associated with the protection domain." + }, + "system": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The name of the storage system as configured in ScaleIO." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The name of a volume already created in the ScaleIO system that is associated with this volume source." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1StorageOSPersistentVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "readOnly": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "ObjectReference contains enough information to let you inspect or modify the referred object." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace." + }, + "volumeNamespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeStatus", + "properties": { + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "A human-readable message indicating details about why the volume is in this state." + }, + "phase": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase" + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI." + } + } + }, + { + "$type": "ObjectType", + "name": "core/PersistentVolume", + "properties": { + "kind": { + "type": { + "$ref": "#/363" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/364" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/367" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/368" + }, + "flags": 0, + "description": "PersistentVolumeSpec is the specification of a persistent volume." + }, + "status": { + "type": { + "$ref": "#/390" + }, + "flags": 0, + "description": "PersistentVolumeStatus is the current status of a persistent volume." + } + } + }, + { + "$type": "ResourceType", + "name": "core/PersistentVolume@v1", + "scopeType": 0, + "body": { + "$ref": "#/391" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/dapr.io/v1alpha1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/dapr.io/v1alpha1/types.json index aa5ca5fc..90f3d3de 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/dapr.io/v1alpha1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/dapr.io/v1alpha1/types.json @@ -1 +1,835 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"Component"}},{"6":{"Value":"dapr.io/v1alpha1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoDaprV1Alpha1ComponentAuth","Properties":{"secretStore":{"Type":4,"Flags":1}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoDaprV1Alpha1ComponentSpec","Properties":{"ignoreErrors":{"Type":2,"Flags":0},"initTimeout":{"Type":4,"Flags":0},"metadata":{"Type":18,"Flags":1,"Description":"Array of io.dapr.v1alpha1.Component-spec-metadataItem"},"type":{"Type":4,"Flags":1},"version":{"Type":4,"Flags":1}}}},{"2":{"Name":"IoDaprV1Alpha1ComponentSpecMetadataItem","Properties":{"name":{"Type":4,"Flags":1},"secretKeyRef":{"Type":17,"Flags":0,"Description":"SecretKeyRef is a reference to a secret holding the value for the metadata item. Name is the secret name, and key is the field in the secret."},"value":{"Type":0,"Flags":0,"Description":"Anything"}}}},{"2":{"Name":"IoDaprV1Alpha1ComponentSpecMetadataItemSecretKeyRef","Properties":{"key":{"Type":4,"Flags":1},"name":{"Type":4,"Flags":1}}}},{"3":{"ItemType":16}},{"2":{"Name":"dapr.io/Component","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"auth":{"Type":13,"Flags":0,"Description":"Auth represents authentication details for the component"},"scopes":{"Type":14,"Flags":0,"Description":"Array of IoDaprV1Alpha1ComponentScopesItem"},"spec":{"Type":15,"Flags":0,"Description":"ComponentSpec is the spec for a component"}}}},{"4":{"Name":"dapr.io/Component@v1alpha1","ScopeType":0,"Body":19,"Flags":0}},{"6":{"Value":"Configuration"}},{"6":{"Value":"dapr.io/v1alpha1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":23,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":24,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoDaprV1Alpha1ConfigurationSpec","Properties":{"accessControl":{"Type":27,"Flags":0,"Description":"AccessControlSpec is the spec object in ConfigurationSpec"},"httpPipeline":{"Type":33,"Flags":0,"Description":"PipelineSpec defines the middleware pipeline"},"metric":{"Type":39,"Flags":0,"Description":"MetricSpec defines metrics configuration"},"mtls":{"Type":40,"Flags":0,"Description":"MTLSSpec defines mTLS configuration"},"secrets":{"Type":41,"Flags":0,"Description":"SecretsSpec is the spec for secrets configuration"},"tracing":{"Type":46,"Flags":0,"Description":"TracingSpec is the spec object in ConfigurationSpec"}}}},{"2":{"Name":"IoDaprV1Alpha1ConfigurationSpecAccessControl","Properties":{"defaultAction":{"Type":4,"Flags":0},"policies":{"Type":32,"Flags":0,"Description":"Array of io.dapr.v1alpha1.Configuration-spec-accessControl-policiesItem"},"trustDomain":{"Type":4,"Flags":0}}}},{"2":{"Name":"IoDaprV1Alpha1ConfigurationSpecAccessControlPoliciesItem","Properties":{"appId":{"Type":4,"Flags":1},"defaultAction":{"Type":4,"Flags":0},"namespace":{"Type":4,"Flags":0},"operations":{"Type":31,"Flags":0,"Description":"Array of io.dapr.v1alpha1.Configuration-spec-accessControl-policies-properties-itemsItem"},"trustDomain":{"Type":4,"Flags":0}}}},{"2":{"Name":"IoDaprV1Alpha1ConfigurationSpecAccessControlPoliciesPropertiesItemsItem","Properties":{"action":{"Type":4,"Flags":1},"httpVerb":{"Type":30,"Flags":0,"Description":"Array of IoDaprV1Alpha1ConfigurationSpecAccessControlPoliciesPropertiesItemsHttpVerbItem"},"name":{"Type":4,"Flags":1}}}},{"3":{"ItemType":4}},{"3":{"ItemType":29}},{"3":{"ItemType":28}},{"2":{"Name":"IoDaprV1Alpha1ConfigurationSpecHttpPipeline","Properties":{"handlers":{"Type":38,"Flags":1,"Description":"Array of io.dapr.v1alpha1.Configuration-spec-httpPipeline-handlersItem"}}}},{"2":{"Name":"IoDaprV1Alpha1ConfigurationSpecHttpPipelineHandlersItem","Properties":{"name":{"Type":4,"Flags":1},"selector":{"Type":35,"Flags":0,"Description":"SelectorSpec selects target services to which the handler is to be applied"},"type":{"Type":4,"Flags":1}}}},{"2":{"Name":"IoDaprV1Alpha1ConfigurationSpecHttpPipelineHandlersItemSelector","Properties":{"fields":{"Type":37,"Flags":1,"Description":"Array of io.dapr.v1alpha1.Configuration-spec-httpPipeline-handlers-properties-properties-itemsItem"}}}},{"2":{"Name":"IoDaprV1Alpha1ConfigurationSpecHttpPipelineHandlersPropertiesItemsItem","Properties":{"field":{"Type":4,"Flags":1},"value":{"Type":4,"Flags":1}}}},{"3":{"ItemType":36}},{"3":{"ItemType":34}},{"2":{"Name":"IoDaprV1Alpha1ConfigurationSpecMetric","Properties":{"enabled":{"Type":2,"Flags":1}}}},{"2":{"Name":"IoDaprV1Alpha1ConfigurationSpecMtls","Properties":{"allowedClockSkew":{"Type":4,"Flags":0},"enabled":{"Type":2,"Flags":1},"workloadCertTTL":{"Type":4,"Flags":0}}}},{"2":{"Name":"IoDaprV1Alpha1ConfigurationSpecSecrets","Properties":{"scopes":{"Type":45,"Flags":1,"Description":"Array of io.dapr.v1alpha1.Configuration-spec-secrets-scopesItem"}}}},{"2":{"Name":"IoDaprV1Alpha1ConfigurationSpecSecretsScopesItem","Properties":{"allowedSecrets":{"Type":43,"Flags":0,"Description":"Array of IoDaprV1Alpha1ConfigurationSpecSecretsScopesPropertiesItemsItem"},"defaultAccess":{"Type":4,"Flags":0},"deniedSecrets":{"Type":44,"Flags":0,"Description":"Array of String"},"storeName":{"Type":4,"Flags":1}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":42}},{"2":{"Name":"IoDaprV1Alpha1ConfigurationSpecTracing","Properties":{"samplingRate":{"Type":4,"Flags":1},"zipkin":{"Type":47,"Flags":0,"Description":"Defines the Zipkin trace configurations"}}}},{"2":{"Name":"IoDaprV1Alpha1ConfigurationSpecTracingZipkin","Properties":{"endpointAddress":{"Type":4,"Flags":0,"Description":"The endpoint address of Zipkin server to receive traces"}}}},{"2":{"Name":"dapr.io/Configuration","Properties":{"kind":{"Type":21,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":22,"Flags":10,"Description":"The api version."},"metadata":{"Type":25,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":26,"Flags":0,"Description":"ConfigurationSpec is the spec for an configuration"}}}},{"4":{"Name":"dapr.io/Configuration@v1alpha1","ScopeType":0,"Body":48,"Flags":0}},{"6":{"Value":"Subscription"}},{"6":{"Value":"dapr.io/v1alpha1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":52,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":53,"Flags":0,"Description":"The annotations for the resource."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoDaprV1Alpha1SubscriptionSpec","Properties":{"pubsubname":{"Type":4,"Flags":1},"route":{"Type":4,"Flags":1},"topic":{"Type":4,"Flags":1}}}},{"2":{"Name":"dapr.io/Subscription","Properties":{"kind":{"Type":50,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":51,"Flags":10,"Description":"The api version."},"metadata":{"Type":54,"Flags":1,"Description":"The resource metadata."},"scopes":{"Type":55,"Flags":0,"Description":"Array of IoDaprV1Alpha1SubscriptionScopesItem"},"spec":{"Type":56,"Flags":0,"Description":"SubscriptionSpec is the spec for an event subscription"}}}},{"4":{"Name":"dapr.io/Subscription@v1alpha1","ScopeType":0,"Body":57,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "Component" + }, + { + "$type": "StringLiteralType", + "value": "dapr.io/v1alpha1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoDaprV1Alpha1ComponentAuth", + "properties": { + "secretStore": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoDaprV1Alpha1ComponentSpec", + "properties": { + "ignoreErrors": { + "type": { + "$ref": "#/9" + }, + "flags": 0 + }, + "initTimeout": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "metadata": { + "type": { + "$ref": "#/13" + }, + "flags": 1, + "description": "Array of io.dapr.v1alpha1.Component-spec-metadataItem" + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + }, + "version": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + } + } + }, + { + "$type": "BooleanType" + }, + { + "$type": "ObjectType", + "name": "IoDaprV1Alpha1ComponentSpecMetadataItem", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + }, + "secretKeyRef": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "SecretKeyRef is a reference to a secret holding the value for the metadata item. Name is the secret name, and key is the field in the secret." + }, + "value": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "Anything" + } + } + }, + { + "$type": "ObjectType", + "name": "IoDaprV1Alpha1ComponentSpecMetadataItemSecretKeyRef", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + } + } + }, + { + "$type": "AnyType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/10" + } + }, + { + "$type": "ObjectType", + "name": "dapr.io/Component", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "auth": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "Auth represents authentication details for the component" + }, + "scopes": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Array of IoDaprV1Alpha1ComponentScopesItem" + }, + "spec": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "ComponentSpec is the spec for a component" + } + } + }, + { + "$type": "ResourceType", + "name": "dapr.io/Component@v1alpha1", + "scopeType": 0, + "body": { + "$ref": "#/14" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "Configuration" + }, + { + "$type": "StringLiteralType", + "value": "dapr.io/v1alpha1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoDaprV1Alpha1ConfigurationSpec", + "properties": { + "accessControl": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "AccessControlSpec is the spec object in ConfigurationSpec" + }, + "httpPipeline": { + "type": { + "$ref": "#/28" + }, + "flags": 0, + "description": "PipelineSpec defines the middleware pipeline" + }, + "metric": { + "type": { + "$ref": "#/34" + }, + "flags": 0, + "description": "MetricSpec defines metrics configuration" + }, + "mtls": { + "type": { + "$ref": "#/35" + }, + "flags": 0, + "description": "MTLSSpec defines mTLS configuration" + }, + "secrets": { + "type": { + "$ref": "#/36" + }, + "flags": 0, + "description": "SecretsSpec is the spec for secrets configuration" + }, + "tracing": { + "type": { + "$ref": "#/41" + }, + "flags": 0, + "description": "TracingSpec is the spec object in ConfigurationSpec" + } + } + }, + { + "$type": "ObjectType", + "name": "IoDaprV1Alpha1ConfigurationSpecAccessControl", + "properties": { + "defaultAction": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "policies": { + "type": { + "$ref": "#/27" + }, + "flags": 0, + "description": "Array of io.dapr.v1alpha1.Configuration-spec-accessControl-policiesItem" + }, + "trustDomain": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + } + } + }, + { + "$type": "ObjectType", + "name": "IoDaprV1Alpha1ConfigurationSpecAccessControlPoliciesItem", + "properties": { + "appId": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + }, + "defaultAction": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "operations": { + "type": { + "$ref": "#/26" + }, + "flags": 0, + "description": "Array of io.dapr.v1alpha1.Configuration-spec-accessControl-policies-properties-itemsItem" + }, + "trustDomain": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + } + } + }, + { + "$type": "ObjectType", + "name": "IoDaprV1Alpha1ConfigurationSpecAccessControlPoliciesPropertiesItemsItem", + "properties": { + "action": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + }, + "httpVerb": { + "type": { + "$ref": "#/25" + }, + "flags": 0, + "description": "Array of IoDaprV1Alpha1ConfigurationSpecAccessControlPoliciesPropertiesItemsHttpVerbItem" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/24" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/23" + } + }, + { + "$type": "ObjectType", + "name": "IoDaprV1Alpha1ConfigurationSpecHttpPipeline", + "properties": { + "handlers": { + "type": { + "$ref": "#/33" + }, + "flags": 1, + "description": "Array of io.dapr.v1alpha1.Configuration-spec-httpPipeline-handlersItem" + } + } + }, + { + "$type": "ObjectType", + "name": "IoDaprV1Alpha1ConfigurationSpecHttpPipelineHandlersItem", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + }, + "selector": { + "type": { + "$ref": "#/30" + }, + "flags": 0, + "description": "SelectorSpec selects target services to which the handler is to be applied" + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + } + } + }, + { + "$type": "ObjectType", + "name": "IoDaprV1Alpha1ConfigurationSpecHttpPipelineHandlersItemSelector", + "properties": { + "fields": { + "type": { + "$ref": "#/32" + }, + "flags": 1, + "description": "Array of io.dapr.v1alpha1.Configuration-spec-httpPipeline-handlers-properties-properties-itemsItem" + } + } + }, + { + "$type": "ObjectType", + "name": "IoDaprV1Alpha1ConfigurationSpecHttpPipelineHandlersPropertiesItemsItem", + "properties": { + "field": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/31" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/29" + } + }, + { + "$type": "ObjectType", + "name": "IoDaprV1Alpha1ConfigurationSpecMetric", + "properties": { + "enabled": { + "type": { + "$ref": "#/9" + }, + "flags": 1 + } + } + }, + { + "$type": "ObjectType", + "name": "IoDaprV1Alpha1ConfigurationSpecMtls", + "properties": { + "allowedClockSkew": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "enabled": { + "type": { + "$ref": "#/9" + }, + "flags": 1 + }, + "workloadCertTTL": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + } + } + }, + { + "$type": "ObjectType", + "name": "IoDaprV1Alpha1ConfigurationSpecSecrets", + "properties": { + "scopes": { + "type": { + "$ref": "#/40" + }, + "flags": 1, + "description": "Array of io.dapr.v1alpha1.Configuration-spec-secrets-scopesItem" + } + } + }, + { + "$type": "ObjectType", + "name": "IoDaprV1Alpha1ConfigurationSpecSecretsScopesItem", + "properties": { + "allowedSecrets": { + "type": { + "$ref": "#/38" + }, + "flags": 0, + "description": "Array of IoDaprV1Alpha1ConfigurationSpecSecretsScopesPropertiesItemsItem" + }, + "defaultAccess": { + "type": { + "$ref": "#/2" + }, + "flags": 0 + }, + "deniedSecrets": { + "type": { + "$ref": "#/39" + }, + "flags": 0, + "description": "Array of String" + }, + "storeName": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/37" + } + }, + { + "$type": "ObjectType", + "name": "IoDaprV1Alpha1ConfigurationSpecTracing", + "properties": { + "samplingRate": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + }, + "zipkin": { + "type": { + "$ref": "#/42" + }, + "flags": 0, + "description": "Defines the Zipkin trace configurations" + } + } + }, + { + "$type": "ObjectType", + "name": "IoDaprV1Alpha1ConfigurationSpecTracingZipkin", + "properties": { + "endpointAddress": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The endpoint address of Zipkin server to receive traces" + } + } + }, + { + "$type": "ObjectType", + "name": "dapr.io/Configuration", + "properties": { + "kind": { + "type": { + "$ref": "#/16" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/17" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/20" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/21" + }, + "flags": 0, + "description": "ConfigurationSpec is the spec for an configuration" + } + } + }, + { + "$type": "ResourceType", + "name": "dapr.io/Configuration@v1alpha1", + "scopeType": 0, + "body": { + "$ref": "#/43" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "Subscription" + }, + { + "$type": "StringLiteralType", + "value": "dapr.io/v1alpha1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/47" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/48" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoDaprV1Alpha1SubscriptionSpec", + "properties": { + "pubsubname": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + }, + "route": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + }, + "topic": { + "type": { + "$ref": "#/2" + }, + "flags": 1 + } + } + }, + { + "$type": "ObjectType", + "name": "dapr.io/Subscription", + "properties": { + "kind": { + "type": { + "$ref": "#/45" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/46" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/49" + }, + "flags": 1, + "description": "The resource metadata." + }, + "scopes": { + "type": { + "$ref": "#/50" + }, + "flags": 0, + "description": "Array of IoDaprV1Alpha1SubscriptionScopesItem" + }, + "spec": { + "type": { + "$ref": "#/51" + }, + "flags": 0, + "description": "SubscriptionSpec is the spec for an event subscription" + } + } + }, + { + "$type": "ResourceType", + "name": "dapr.io/Subscription@v1alpha1", + "scopeType": 0, + "body": { + "$ref": "#/52" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/discovery.k8s.io/v1beta1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/discovery.k8s.io/v1beta1/types.json index ac7aa680..701bf632 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/discovery.k8s.io/v1beta1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/discovery.k8s.io/v1beta1/types.json @@ -1 +1,295 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"EndpointSlice"}},{"6":{"Value":"discovery.k8s.io/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiDiscoveryV1Beta1Endpoint","Properties":{"addresses":{"Type":14,"Flags":1,"Description":"addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100."},"conditions":{"Type":15,"Flags":0,"Description":"EndpointConditions represents the current condition of an endpoint."},"hostname":{"Type":4,"Flags":0,"Description":"hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must pass DNS Label (RFC 1123) validation."},"targetRef":{"Type":16,"Flags":0,"Description":"ObjectReference contains enough information to let you inspect or modify the referred object."},"topology":{"Type":17,"Flags":0,"Description":"topology contains arbitrary topology information associated with the endpoint. These key/value pairs must conform with the label format. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels Topology may include a maximum of 16 key/value pairs. This includes, but is not limited to the following well known keys: * kubernetes.io/hostname: the value indicates the hostname of the node\n where the endpoint is located. This should match the corresponding\n node label.\n* topology.kubernetes.io/zone: the value indicates the zone where the\n endpoint is located. This should match the corresponding node label.\n* topology.kubernetes.io/region: the value indicates the region where the\n endpoint is located. This should match the corresponding node label."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiDiscoveryV1Beta1EndpointConditions","Properties":{"ready":{"Type":2,"Flags":0,"Description":"ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready."}}}},{"2":{"Name":"IoK8SApiCoreV1ObjectReference","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"API version of the referent."},"fieldPath":{"Type":4,"Flags":0,"Description":"If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object."},"kind":{"Type":4,"Flags":0,"Description":"Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"namespace":{"Type":4,"Flags":0,"Description":"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"},"resourceVersion":{"Type":4,"Flags":0,"Description":"Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"},"uid":{"Type":4,"Flags":0,"Description":"UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids"}}}},{"2":{"Name":"IoK8SApiDiscoveryV1Beta1EndpointTopology","Properties":{},"AdditionalProperties":4}},{"3":{"ItemType":13}},{"2":{"Name":"IoK8SApiDiscoveryV1Beta1EndpointPort","Properties":{"appProtocol":{"Type":4,"Flags":0,"Description":"The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol."},"name":{"Type":4,"Flags":0,"Description":"The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string."},"port":{"Type":3,"Flags":0,"Description":"The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer."},"protocol":{"Type":4,"Flags":0,"Description":"The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP."}}}},{"3":{"ItemType":19}},{"2":{"Name":"discovery.k8s.io/EndpointSlice","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"addressType":{"Type":4,"Flags":1,"Description":"addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name."},"endpoints":{"Type":18,"Flags":1,"Description":"endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints."},"ports":{"Type":20,"Flags":0,"Description":"ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports."}}}},{"4":{"Name":"discovery.k8s.io/EndpointSlice@v1beta1","ScopeType":0,"Body":21,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "EndpointSlice" + }, + { + "$type": "StringLiteralType", + "value": "discovery.k8s.io/v1beta1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiDiscoveryV1Beta1Endpoint", + "properties": { + "addresses": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100." + }, + "conditions": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "EndpointConditions represents the current condition of an endpoint." + }, + "hostname": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must pass DNS Label (RFC 1123) validation." + }, + "targetRef": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "ObjectReference contains enough information to let you inspect or modify the referred object." + }, + "topology": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "topology contains arbitrary topology information associated with the endpoint. These key/value pairs must conform with the label format. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels Topology may include a maximum of 16 key/value pairs. This includes, but is not limited to the following well known keys: * kubernetes.io/hostname: the value indicates the hostname of the node\n where the endpoint is located. This should match the corresponding\n node label.\n* topology.kubernetes.io/zone: the value indicates the zone where the\n endpoint is located. This should match the corresponding node label.\n* topology.kubernetes.io/region: the value indicates the region where the\n endpoint is located. This should match the corresponding node label." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiDiscoveryV1Beta1EndpointConditions", + "properties": { + "ready": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready." + } + } + }, + { + "$type": "BooleanType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ObjectReference", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "API version of the referent." + }, + "fieldPath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + }, + "resourceVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiDiscoveryV1Beta1EndpointTopology", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/6" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiDiscoveryV1Beta1EndpointPort", + "properties": { + "appProtocol": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string." + }, + "port": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer." + }, + "protocol": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/13" + } + }, + { + "$type": "ObjectType", + "name": "discovery.k8s.io/EndpointSlice", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "addressType": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name." + }, + "endpoints": { + "type": { + "$ref": "#/12" + }, + "flags": 1, + "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints." + }, + "ports": { + "type": { + "$ref": "#/15" + }, + "flags": 0, + "description": "ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports." + } + } + }, + { + "$type": "ResourceType", + "name": "discovery.k8s.io/EndpointSlice@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/16" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/events.k8s.io/v1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/events.k8s.io/v1/types.json index 03c11977..726a45d0 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/events.k8s.io/v1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/events.k8s.io/v1/types.json @@ -1 +1,295 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"Event"}},{"6":{"Value":"events.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1EventSource","Properties":{"component":{"Type":4,"Flags":0,"Description":"Component from which the event is generated."},"host":{"Type":4,"Flags":0,"Description":"Node name on which the event is generated."}}}},{"2":{"Name":"IoK8SApiCoreV1ObjectReference","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"API version of the referent."},"fieldPath":{"Type":4,"Flags":0,"Description":"If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object."},"kind":{"Type":4,"Flags":0,"Description":"Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"namespace":{"Type":4,"Flags":0,"Description":"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"},"resourceVersion":{"Type":4,"Flags":0,"Description":"Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"},"uid":{"Type":4,"Flags":0,"Description":"UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids"}}}},{"2":{"Name":"IoK8SApiEventsV1EventSeries","Properties":{"count":{"Type":3,"Flags":1,"Description":"count is the number of occurrences in this series up to the last heartbeat time."},"lastObservedTime":{"Type":4,"Flags":1,"Description":"MicroTime is version of Time with microsecond level precision."}}}},{"2":{"Name":"events.k8s.io/Event","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"action":{"Type":4,"Flags":0,"Description":"action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field can have at most 128 characters."},"deprecatedCount":{"Type":3,"Flags":0,"Description":"deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type."},"deprecatedFirstTimestamp":{"Type":4,"Flags":0,"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."},"deprecatedLastTimestamp":{"Type":4,"Flags":0,"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."},"deprecatedSource":{"Type":13,"Flags":0,"Description":"EventSource contains information for an event."},"eventTime":{"Type":4,"Flags":1,"Description":"MicroTime is version of Time with microsecond level precision."},"note":{"Type":4,"Flags":0,"Description":"note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB."},"reason":{"Type":4,"Flags":0,"Description":"reason is why the action was taken. It is human-readable. This field can have at most 128 characters."},"regarding":{"Type":14,"Flags":0,"Description":"ObjectReference contains enough information to let you inspect or modify the referred object."},"related":{"Type":14,"Flags":0,"Description":"ObjectReference contains enough information to let you inspect or modify the referred object."},"reportingController":{"Type":4,"Flags":0,"Description":"reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events."},"reportingInstance":{"Type":4,"Flags":0,"Description":"reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters."},"series":{"Type":15,"Flags":0,"Description":"EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in \"k8s.io/client-go/tools/events/event_broadcaster.go\" shows how this struct is updated on heartbeats and can guide customized reporter implementations."},"type":{"Type":4,"Flags":0,"Description":"type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable."}}}},{"4":{"Name":"events.k8s.io/Event@v1","ScopeType":0,"Body":16,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "Event" + }, + { + "$type": "StringLiteralType", + "value": "events.k8s.io/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EventSource", + "properties": { + "component": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Component from which the event is generated." + }, + "host": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Node name on which the event is generated." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ObjectReference", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "API version of the referent." + }, + "fieldPath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + }, + "resourceVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiEventsV1EventSeries", + "properties": { + "count": { + "type": { + "$ref": "#/6" + }, + "flags": 1, + "description": "count is the number of occurrences in this series up to the last heartbeat time." + }, + "lastObservedTime": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "MicroTime is version of Time with microsecond level precision." + } + } + }, + { + "$type": "ObjectType", + "name": "events.k8s.io/Event", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "action": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field can have at most 128 characters." + }, + "deprecatedCount": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type." + }, + "deprecatedFirstTimestamp": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "deprecatedLastTimestamp": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "deprecatedSource": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "EventSource contains information for an event." + }, + "eventTime": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "MicroTime is version of Time with microsecond level precision." + }, + "note": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "reason is why the action was taken. It is human-readable. This field can have at most 128 characters." + }, + "regarding": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "ObjectReference contains enough information to let you inspect or modify the referred object." + }, + "related": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "ObjectReference contains enough information to let you inspect or modify the referred object." + }, + "reportingController": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events." + }, + "reportingInstance": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters." + }, + "series": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in \"k8s.io/client-go/tools/events/event_broadcaster.go\" shows how this struct is updated on heartbeats and can guide customized reporter implementations." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable." + } + } + }, + { + "$type": "ResourceType", + "name": "events.k8s.io/Event@v1", + "scopeType": 0, + "body": { + "$ref": "#/10" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/events.k8s.io/v1beta1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/events.k8s.io/v1beta1/types.json index 6b428d9f..f0d548af 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/events.k8s.io/v1beta1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/events.k8s.io/v1beta1/types.json @@ -1 +1,295 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"Event"}},{"6":{"Value":"events.k8s.io/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1EventSource","Properties":{"component":{"Type":4,"Flags":0,"Description":"Component from which the event is generated."},"host":{"Type":4,"Flags":0,"Description":"Node name on which the event is generated."}}}},{"2":{"Name":"IoK8SApiCoreV1ObjectReference","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"API version of the referent."},"fieldPath":{"Type":4,"Flags":0,"Description":"If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object."},"kind":{"Type":4,"Flags":0,"Description":"Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"namespace":{"Type":4,"Flags":0,"Description":"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"},"resourceVersion":{"Type":4,"Flags":0,"Description":"Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"},"uid":{"Type":4,"Flags":0,"Description":"UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids"}}}},{"2":{"Name":"IoK8SApiEventsV1Beta1EventSeries","Properties":{"count":{"Type":3,"Flags":1,"Description":"count is the number of occurrences in this series up to the last heartbeat time."},"lastObservedTime":{"Type":4,"Flags":1,"Description":"MicroTime is version of Time with microsecond level precision."}}}},{"2":{"Name":"events.k8s.io/Event","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"action":{"Type":4,"Flags":0,"Description":"action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field can have at most 128 characters."},"deprecatedCount":{"Type":3,"Flags":0,"Description":"deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type."},"deprecatedFirstTimestamp":{"Type":4,"Flags":0,"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."},"deprecatedLastTimestamp":{"Type":4,"Flags":0,"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."},"deprecatedSource":{"Type":13,"Flags":0,"Description":"EventSource contains information for an event."},"eventTime":{"Type":4,"Flags":1,"Description":"MicroTime is version of Time with microsecond level precision."},"note":{"Type":4,"Flags":0,"Description":"note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB."},"reason":{"Type":4,"Flags":0,"Description":"reason is why the action was taken. It is human-readable. This field can have at most 128 characters."},"regarding":{"Type":14,"Flags":0,"Description":"ObjectReference contains enough information to let you inspect or modify the referred object."},"related":{"Type":14,"Flags":0,"Description":"ObjectReference contains enough information to let you inspect or modify the referred object."},"reportingController":{"Type":4,"Flags":0,"Description":"reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events."},"reportingInstance":{"Type":4,"Flags":0,"Description":"reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters."},"series":{"Type":15,"Flags":0,"Description":"EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time."},"type":{"Type":4,"Flags":0,"Description":"type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable."}}}},{"4":{"Name":"events.k8s.io/Event@v1beta1","ScopeType":0,"Body":16,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "Event" + }, + { + "$type": "StringLiteralType", + "value": "events.k8s.io/v1beta1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1EventSource", + "properties": { + "component": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Component from which the event is generated." + }, + "host": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Node name on which the event is generated." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ObjectReference", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "API version of the referent." + }, + "fieldPath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + }, + "resourceVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiEventsV1Beta1EventSeries", + "properties": { + "count": { + "type": { + "$ref": "#/6" + }, + "flags": 1, + "description": "count is the number of occurrences in this series up to the last heartbeat time." + }, + "lastObservedTime": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "MicroTime is version of Time with microsecond level precision." + } + } + }, + { + "$type": "ObjectType", + "name": "events.k8s.io/Event", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "action": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field can have at most 128 characters." + }, + "deprecatedCount": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type." + }, + "deprecatedFirstTimestamp": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "deprecatedLastTimestamp": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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." + }, + "deprecatedSource": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "EventSource contains information for an event." + }, + "eventTime": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "MicroTime is version of Time with microsecond level precision." + }, + "note": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB." + }, + "reason": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "reason is why the action was taken. It is human-readable. This field can have at most 128 characters." + }, + "regarding": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "ObjectReference contains enough information to let you inspect or modify the referred object." + }, + "related": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "ObjectReference contains enough information to let you inspect or modify the referred object." + }, + "reportingController": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events." + }, + "reportingInstance": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters." + }, + "series": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable." + } + } + }, + { + "$type": "ResourceType", + "name": "events.k8s.io/Event@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/10" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/extensions/v1beta1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/extensions/v1beta1/types.json index 6e46e613..c8738d23 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/extensions/v1beta1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/extensions/v1beta1/types.json @@ -1 +1,357 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"Ingress"}},{"6":{"Value":"extensions/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiExtensionsV1Beta1IngressSpec","Properties":{"backend":{"Type":14,"Flags":0,"Description":"IngressBackend describes all endpoints for a given service and port."},"ingressClassName":{"Type":4,"Flags":0,"Description":"IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation."},"rules":{"Type":20,"Flags":0,"Description":"A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend."},"tls":{"Type":23,"Flags":0,"Description":"TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI."}}}},{"2":{"Name":"IoK8SApiExtensionsV1Beta1IngressBackend","Properties":{"resource":{"Type":15,"Flags":0,"Description":"TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace."},"serviceName":{"Type":4,"Flags":0,"Description":"Specifies the name of the referenced service."},"servicePort":{"Type":4,"Flags":0,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."}}}},{"2":{"Name":"IoK8SApiCoreV1TypedLocalObjectReference","Properties":{"apiGroup":{"Type":4,"Flags":0,"Description":"APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required."},"kind":{"Type":4,"Flags":1,"Description":"Kind is the type of resource being referenced"},"name":{"Type":4,"Flags":1,"Description":"Name is the name of resource being referenced"}}}},{"2":{"Name":"IoK8SApiExtensionsV1Beta1IngressRule","Properties":{"host":{"Type":4,"Flags":0,"Description":"Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to\n the IP in the Spec of the parent Ingress.\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.\n\nHost can be \"precise\" which is a domain name without the terminating dot of a network host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain name prefixed with a single wildcard label (e.g. \"*.foo.com\"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == \"*\"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule."},"http":{"Type":17,"Flags":0,"Description":"HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'."}}}},{"2":{"Name":"IoK8SApiExtensionsV1Beta1HttpIngressRuleValue","Properties":{"paths":{"Type":19,"Flags":1,"Description":"A collection of paths that map requests to backends."}}}},{"2":{"Name":"IoK8SApiExtensionsV1Beta1HttpIngressPath","Properties":{"backend":{"Type":14,"Flags":1,"Description":"IngressBackend describes all endpoints for a given service and port."},"path":{"Type":4,"Flags":0,"Description":"Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. When unspecified, all paths from incoming requests are matched."},"pathType":{"Type":4,"Flags":0,"Description":"PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types. Defaults to ImplementationSpecific."}}}},{"3":{"ItemType":18}},{"3":{"ItemType":16}},{"2":{"Name":"IoK8SApiExtensionsV1Beta1IngressTLS","Properties":{"hosts":{"Type":22,"Flags":0,"Description":"Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified."},"secretName":{"Type":4,"Flags":0,"Description":"SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":21}},{"2":{"Name":"IoK8SApiExtensionsV1Beta1IngressStatus","Properties":{"loadBalancer":{"Type":25,"Flags":0,"Description":"LoadBalancerStatus represents the status of a load-balancer."}}}},{"2":{"Name":"IoK8SApiCoreV1LoadBalancerStatus","Properties":{"ingress":{"Type":27,"Flags":0,"Description":"Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points."}}}},{"2":{"Name":"IoK8SApiCoreV1LoadBalancerIngress","Properties":{"hostname":{"Type":4,"Flags":0,"Description":"Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)"},"ip":{"Type":4,"Flags":0,"Description":"IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)"}}}},{"3":{"ItemType":26}},{"2":{"Name":"extensions/Ingress","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":0,"Description":"IngressSpec describes the Ingress the user wishes to exist."},"status":{"Type":24,"Flags":0,"Description":"IngressStatus describe the current state of the Ingress."}}}},{"4":{"Name":"extensions/Ingress@v1beta1","ScopeType":0,"Body":28,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "Ingress" + }, + { + "$type": "StringLiteralType", + "value": "extensions/v1beta1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiExtensionsV1Beta1IngressSpec", + "properties": { + "backend": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "IngressBackend describes all endpoints for a given service and port." + }, + "ingressClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation." + }, + "rules": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend." + }, + "tls": { + "type": { + "$ref": "#/16" + }, + "flags": 0, + "description": "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiExtensionsV1Beta1IngressBackend", + "properties": { + "resource": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace." + }, + "serviceName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Specifies the name of the referenced service." + }, + "servicePort": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TypedLocalObjectReference", + "properties": { + "apiGroup": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind is the type of resource being referenced" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the name of resource being referenced" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiExtensionsV1Beta1IngressRule", + "properties": { + "host": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to\n the IP in the Spec of the parent Ingress.\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.\n\nHost can be \"precise\" which is a domain name without the terminating dot of a network host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain name prefixed with a single wildcard label (e.g. \"*.foo.com\"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == \"*\"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule." + }, + "http": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiExtensionsV1Beta1HttpIngressRuleValue", + "properties": { + "paths": { + "type": { + "$ref": "#/12" + }, + "flags": 1, + "description": "A collection of paths that map requests to backends." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiExtensionsV1Beta1HttpIngressPath", + "properties": { + "backend": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "description": "IngressBackend describes all endpoints for a given service and port." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. When unspecified, all paths from incoming requests are matched." + }, + "pathType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types. Defaults to ImplementationSpecific." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/11" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/9" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiExtensionsV1Beta1IngressTLS", + "properties": { + "hosts": { + "type": { + "$ref": "#/15" + }, + "flags": 0, + "description": "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified." + }, + "secretName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/14" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiExtensionsV1Beta1IngressStatus", + "properties": { + "loadBalancer": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "LoadBalancerStatus represents the status of a load-balancer." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LoadBalancerStatus", + "properties": { + "ingress": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LoadBalancerIngress", + "properties": { + "hostname": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)" + }, + "ip": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/19" + } + }, + { + "$type": "ObjectType", + "name": "extensions/Ingress", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "IngressSpec describes the Ingress the user wishes to exist." + }, + "status": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "IngressStatus describe the current state of the Ingress." + } + } + }, + { + "$type": "ResourceType", + "name": "extensions/Ingress@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/21" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/metrics.k8s.io/v1beta1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/metrics.k8s.io/v1beta1/types.json index 27ad4f6c..0637a088 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/metrics.k8s.io/v1beta1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/metrics.k8s.io/v1beta1/types.json @@ -1 +1 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}}] \ No newline at end of file +[] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/networking.k8s.io/v1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/networking.k8s.io/v1/types.json index 9f064bbc..0b01f2f8 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/networking.k8s.io/v1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/networking.k8s.io/v1/types.json @@ -1 +1,864 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"IngressClass"}},{"6":{"Value":"networking.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiNetworkingV1IngressClassSpec","Properties":{"controller":{"Type":4,"Flags":0,"Description":"Controller refers to the name of the controller that should handle this class. This allows for different \"flavors\" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. \"acme.io/ingress-controller\". This field is immutable."},"parameters":{"Type":14,"Flags":0,"Description":"TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace."}}}},{"2":{"Name":"IoK8SApiCoreV1TypedLocalObjectReference","Properties":{"apiGroup":{"Type":4,"Flags":0,"Description":"APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required."},"kind":{"Type":4,"Flags":1,"Description":"Kind is the type of resource being referenced"},"name":{"Type":4,"Flags":1,"Description":"Name is the name of resource being referenced"}}}},{"2":{"Name":"networking.k8s.io/IngressClass","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":0,"Description":"IngressClassSpec provides information about the class of an Ingress."}}}},{"4":{"Name":"networking.k8s.io/IngressClass@v1","ScopeType":0,"Body":15,"Flags":0}},{"6":{"Value":"Ingress"}},{"6":{"Value":"networking.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":19,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":20,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiNetworkingV1IngressSpec","Properties":{"defaultBackend":{"Type":23,"Flags":0,"Description":"IngressBackend describes all endpoints for a given service and port."},"ingressClassName":{"Type":4,"Flags":0,"Description":"IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation."},"rules":{"Type":30,"Flags":0,"Description":"A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend."},"tls":{"Type":33,"Flags":0,"Description":"TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI."}}}},{"2":{"Name":"IoK8SApiNetworkingV1IngressBackend","Properties":{"resource":{"Type":14,"Flags":0,"Description":"TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace."},"service":{"Type":24,"Flags":0,"Description":"IngressServiceBackend references a Kubernetes Service as a Backend."}}}},{"2":{"Name":"IoK8SApiNetworkingV1IngressServiceBackend","Properties":{"name":{"Type":4,"Flags":1,"Description":"Name is the referenced service. The service must exist in the same namespace as the Ingress object."},"port":{"Type":25,"Flags":0,"Description":"ServiceBackendPort is the service port being referenced."}}}},{"2":{"Name":"IoK8SApiNetworkingV1ServiceBackendPort","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name is the name of the port on the Service. This is a mutually exclusive setting with \"Number\"."},"number":{"Type":3,"Flags":0,"Description":"Number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with \"Name\"."}}}},{"2":{"Name":"IoK8SApiNetworkingV1IngressRule","Properties":{"host":{"Type":4,"Flags":0,"Description":"Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to\n the IP in the Spec of the parent Ingress.\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.\n\nHost can be \"precise\" which is a domain name without the terminating dot of a network host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain name prefixed with a single wildcard label (e.g. \"*.foo.com\"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == \"*\"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule."},"http":{"Type":27,"Flags":0,"Description":"HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'."}}}},{"2":{"Name":"IoK8SApiNetworkingV1HttpIngressRuleValue","Properties":{"paths":{"Type":29,"Flags":1,"Description":"A collection of paths that map requests to backends."}}}},{"2":{"Name":"IoK8SApiNetworkingV1HttpIngressPath","Properties":{"backend":{"Type":23,"Flags":1,"Description":"IngressBackend describes all endpoints for a given service and port."},"path":{"Type":4,"Flags":0,"Description":"Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. When unspecified, all paths from incoming requests are matched."},"pathType":{"Type":4,"Flags":0,"Description":"PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types."}}}},{"3":{"ItemType":28}},{"3":{"ItemType":26}},{"2":{"Name":"IoK8SApiNetworkingV1IngressTLS","Properties":{"hosts":{"Type":32,"Flags":0,"Description":"Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified."},"secretName":{"Type":4,"Flags":0,"Description":"SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":31}},{"2":{"Name":"IoK8SApiNetworkingV1IngressStatus","Properties":{"loadBalancer":{"Type":35,"Flags":0,"Description":"LoadBalancerStatus represents the status of a load-balancer."}}}},{"2":{"Name":"IoK8SApiCoreV1LoadBalancerStatus","Properties":{"ingress":{"Type":37,"Flags":0,"Description":"Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points."}}}},{"2":{"Name":"IoK8SApiCoreV1LoadBalancerIngress","Properties":{"hostname":{"Type":4,"Flags":0,"Description":"Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)"},"ip":{"Type":4,"Flags":0,"Description":"IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)"}}}},{"3":{"ItemType":36}},{"2":{"Name":"networking.k8s.io/Ingress","Properties":{"kind":{"Type":17,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":18,"Flags":10,"Description":"The api version."},"metadata":{"Type":21,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":22,"Flags":0,"Description":"IngressSpec describes the Ingress the user wishes to exist."},"status":{"Type":34,"Flags":0,"Description":"IngressStatus describe the current state of the Ingress."}}}},{"4":{"Name":"networking.k8s.io/Ingress@v1","ScopeType":0,"Body":38,"Flags":0}},{"6":{"Value":"NetworkPolicy"}},{"6":{"Value":"networking.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":42,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":43,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiNetworkingV1NetworkPolicySpec","Properties":{"egress":{"Type":58,"Flags":0,"Description":"List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8"},"ingress":{"Type":62,"Flags":0,"Description":"List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)"},"podSelector":{"Type":52,"Flags":1,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"policyTypes":{"Type":63,"Flags":0,"Description":"List of rule types that the NetworkPolicy relates to. Valid options are \"Ingress\", \"Egress\", or \"Ingress,Egress\". If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an Egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8"}}}},{"2":{"Name":"IoK8SApiNetworkingV1NetworkPolicyEgressRule","Properties":{"ports":{"Type":48,"Flags":0,"Description":"List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list."},"to":{"Type":57,"Flags":0,"Description":"List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list."}}}},{"2":{"Name":"IoK8SApiNetworkingV1NetworkPolicyPort","Properties":{"port":{"Type":4,"Flags":0,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."},"protocol":{"Type":4,"Flags":0,"Description":"The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP."}}}},{"3":{"ItemType":47}},{"2":{"Name":"IoK8SApiNetworkingV1NetworkPolicyPeer","Properties":{"ipBlock":{"Type":50,"Flags":0,"Description":"IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\",\"2001:db9::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule."},"namespaceSelector":{"Type":52,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."},"podSelector":{"Type":52,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."}}}},{"2":{"Name":"IoK8SApiNetworkingV1IPBlock","Properties":{"cidr":{"Type":4,"Flags":1,"Description":"CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\" or \"2001:db9::/64\""},"except":{"Type":51,"Flags":0,"Description":"Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" or \"2001:db9::/64\" Except values will be rejected if they are outside the CIDR range"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelector","Properties":{"matchExpressions":{"Type":55,"Flags":0,"Description":"matchExpressions is a list of label selector requirements. The requirements are ANDed."},"matchLabels":{"Type":56,"Flags":0,"Description":"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."},"values":{"Type":54,"Flags":0,"Description":"values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":53}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels","Properties":{},"AdditionalProperties":4}},{"3":{"ItemType":49}},{"3":{"ItemType":46}},{"2":{"Name":"IoK8SApiNetworkingV1NetworkPolicyIngressRule","Properties":{"from":{"Type":60,"Flags":0,"Description":"List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list."},"ports":{"Type":61,"Flags":0,"Description":"List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list."}}}},{"3":{"ItemType":49}},{"3":{"ItemType":47}},{"3":{"ItemType":59}},{"3":{"ItemType":4}},{"2":{"Name":"networking.k8s.io/NetworkPolicy","Properties":{"kind":{"Type":40,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":41,"Flags":10,"Description":"The api version."},"metadata":{"Type":44,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":45,"Flags":0,"Description":"NetworkPolicySpec provides the specification of a NetworkPolicy"}}}},{"4":{"Name":"networking.k8s.io/NetworkPolicy@v1","ScopeType":0,"Body":64,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "IngressClass" + }, + { + "$type": "StringLiteralType", + "value": "networking.k8s.io/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1IngressClassSpec", + "properties": { + "controller": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Controller refers to the name of the controller that should handle this class. This allows for different \"flavors\" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. \"acme.io/ingress-controller\". This field is immutable." + }, + "parameters": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TypedLocalObjectReference", + "properties": { + "apiGroup": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind is the type of resource being referenced" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the name of resource being referenced" + } + } + }, + { + "$type": "ObjectType", + "name": "networking.k8s.io/IngressClass", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "IngressClassSpec provides information about the class of an Ingress." + } + } + }, + { + "$type": "ResourceType", + "name": "networking.k8s.io/IngressClass@v1", + "scopeType": 0, + "body": { + "$ref": "#/8" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "Ingress" + }, + { + "$type": "StringLiteralType", + "value": "networking.k8s.io/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1IngressSpec", + "properties": { + "defaultBackend": { + "type": { + "$ref": "#/16" + }, + "flags": 0, + "description": "IngressBackend describes all endpoints for a given service and port." + }, + "ingressClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation." + }, + "rules": { + "type": { + "$ref": "#/24" + }, + "flags": 0, + "description": "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend." + }, + "tls": { + "type": { + "$ref": "#/27" + }, + "flags": 0, + "description": "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1IngressBackend", + "properties": { + "resource": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace." + }, + "service": { + "type": { + "$ref": "#/17" + }, + "flags": 0, + "description": "IngressServiceBackend references a Kubernetes Service as a Backend." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1IngressServiceBackend", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the referenced service. The service must exist in the same namespace as the Ingress object." + }, + "port": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "ServiceBackendPort is the service port being referenced." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1ServiceBackendPort", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name is the name of the port on the Service. This is a mutually exclusive setting with \"Number\"." + }, + "number": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "Number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with \"Name\"." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1IngressRule", + "properties": { + "host": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to\n the IP in the Spec of the parent Ingress.\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.\n\nHost can be \"precise\" which is a domain name without the terminating dot of a network host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain name prefixed with a single wildcard label (e.g. \"*.foo.com\"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == \"*\"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule." + }, + "http": { + "type": { + "$ref": "#/21" + }, + "flags": 0, + "description": "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1HttpIngressRuleValue", + "properties": { + "paths": { + "type": { + "$ref": "#/23" + }, + "flags": 1, + "description": "A collection of paths that map requests to backends." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1HttpIngressPath", + "properties": { + "backend": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "IngressBackend describes all endpoints for a given service and port." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. When unspecified, all paths from incoming requests are matched." + }, + "pathType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/22" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/20" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1IngressTLS", + "properties": { + "hosts": { + "type": { + "$ref": "#/26" + }, + "flags": 0, + "description": "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified." + }, + "secretName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/25" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1IngressStatus", + "properties": { + "loadBalancer": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "LoadBalancerStatus represents the status of a load-balancer." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LoadBalancerStatus", + "properties": { + "ingress": { + "type": { + "$ref": "#/31" + }, + "flags": 0, + "description": "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LoadBalancerIngress", + "properties": { + "hostname": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)" + }, + "ip": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/30" + } + }, + { + "$type": "ObjectType", + "name": "networking.k8s.io/Ingress", + "properties": { + "kind": { + "type": { + "$ref": "#/10" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/11" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/15" + }, + "flags": 0, + "description": "IngressSpec describes the Ingress the user wishes to exist." + }, + "status": { + "type": { + "$ref": "#/28" + }, + "flags": 0, + "description": "IngressStatus describe the current state of the Ingress." + } + } + }, + { + "$type": "ResourceType", + "name": "networking.k8s.io/Ingress@v1", + "scopeType": 0, + "body": { + "$ref": "#/32" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "NetworkPolicy" + }, + { + "$type": "StringLiteralType", + "value": "networking.k8s.io/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/36" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/37" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1NetworkPolicySpec", + "properties": { + "egress": { + "type": { + "$ref": "#/52" + }, + "flags": 0, + "description": "List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8" + }, + "ingress": { + "type": { + "$ref": "#/56" + }, + "flags": 0, + "description": "List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)" + }, + "podSelector": { + "type": { + "$ref": "#/46" + }, + "flags": 1, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "policyTypes": { + "type": { + "$ref": "#/57" + }, + "flags": 0, + "description": "List of rule types that the NetworkPolicy relates to. Valid options are \"Ingress\", \"Egress\", or \"Ingress,Egress\". If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an Egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1NetworkPolicyEgressRule", + "properties": { + "ports": { + "type": { + "$ref": "#/42" + }, + "flags": 0, + "description": "List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list." + }, + "to": { + "type": { + "$ref": "#/51" + }, + "flags": 0, + "description": "List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1NetworkPolicyPort", + "properties": { + "port": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + }, + "protocol": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/41" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1NetworkPolicyPeer", + "properties": { + "ipBlock": { + "type": { + "$ref": "#/44" + }, + "flags": 0, + "description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\",\"2001:db9::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule." + }, + "namespaceSelector": { + "type": { + "$ref": "#/46" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + }, + "podSelector": { + "type": { + "$ref": "#/46" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1IPBlock", + "properties": { + "cidr": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\" or \"2001:db9::/64\"" + }, + "except": { + "type": { + "$ref": "#/45" + }, + "flags": 0, + "description": "Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" or \"2001:db9::/64\" Except values will be rejected if they are outside the CIDR range" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelector", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/49" + }, + "flags": 0, + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." + }, + "matchLabels": { + "type": { + "$ref": "#/50" + }, + "flags": 0, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": { + "$ref": "#/48" + }, + "flags": 0, + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/47" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/43" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/40" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1NetworkPolicyIngressRule", + "properties": { + "from": { + "type": { + "$ref": "#/54" + }, + "flags": 0, + "description": "List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list." + }, + "ports": { + "type": { + "$ref": "#/55" + }, + "flags": 0, + "description": "List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/43" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/41" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/53" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "networking.k8s.io/NetworkPolicy", + "properties": { + "kind": { + "type": { + "$ref": "#/34" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/35" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/38" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/39" + }, + "flags": 0, + "description": "NetworkPolicySpec provides the specification of a NetworkPolicy" + } + } + }, + { + "$type": "ResourceType", + "name": "networking.k8s.io/NetworkPolicy@v1", + "scopeType": 0, + "body": { + "$ref": "#/58" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/networking.k8s.io/v1beta1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/networking.k8s.io/v1beta1/types.json index a74db06a..d70c5fd7 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/networking.k8s.io/v1beta1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/networking.k8s.io/v1beta1/types.json @@ -1 +1,471 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"IngressClass"}},{"6":{"Value":"networking.k8s.io/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiNetworkingV1Beta1IngressClassSpec","Properties":{"controller":{"Type":4,"Flags":0,"Description":"Controller refers to the name of the controller that should handle this class. This allows for different \"flavors\" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. \"acme.io/ingress-controller\". This field is immutable."},"parameters":{"Type":14,"Flags":0,"Description":"TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace."}}}},{"2":{"Name":"IoK8SApiCoreV1TypedLocalObjectReference","Properties":{"apiGroup":{"Type":4,"Flags":0,"Description":"APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required."},"kind":{"Type":4,"Flags":1,"Description":"Kind is the type of resource being referenced"},"name":{"Type":4,"Flags":1,"Description":"Name is the name of resource being referenced"}}}},{"2":{"Name":"networking.k8s.io/IngressClass","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":0,"Description":"IngressClassSpec provides information about the class of an Ingress."}}}},{"4":{"Name":"networking.k8s.io/IngressClass@v1beta1","ScopeType":0,"Body":15,"Flags":0}},{"6":{"Value":"Ingress"}},{"6":{"Value":"networking.k8s.io/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":19,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":20,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiNetworkingV1Beta1IngressSpec","Properties":{"backend":{"Type":23,"Flags":0,"Description":"IngressBackend describes all endpoints for a given service and port."},"ingressClassName":{"Type":4,"Flags":0,"Description":"IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation."},"rules":{"Type":28,"Flags":0,"Description":"A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend."},"tls":{"Type":31,"Flags":0,"Description":"TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI."}}}},{"2":{"Name":"IoK8SApiNetworkingV1Beta1IngressBackend","Properties":{"resource":{"Type":14,"Flags":0,"Description":"TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace."},"serviceName":{"Type":4,"Flags":0,"Description":"Specifies the name of the referenced service."},"servicePort":{"Type":4,"Flags":0,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."}}}},{"2":{"Name":"IoK8SApiNetworkingV1Beta1IngressRule","Properties":{"host":{"Type":4,"Flags":0,"Description":"Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to\n the IP in the Spec of the parent Ingress.\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.\n\nHost can be \"precise\" which is a domain name without the terminating dot of a network host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain name prefixed with a single wildcard label (e.g. \"*.foo.com\"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == \"*\"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule."},"http":{"Type":25,"Flags":0,"Description":"HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'."}}}},{"2":{"Name":"IoK8SApiNetworkingV1Beta1HttpIngressRuleValue","Properties":{"paths":{"Type":27,"Flags":1,"Description":"A collection of paths that map requests to backends."}}}},{"2":{"Name":"IoK8SApiNetworkingV1Beta1HttpIngressPath","Properties":{"backend":{"Type":23,"Flags":1,"Description":"IngressBackend describes all endpoints for a given service and port."},"path":{"Type":4,"Flags":0,"Description":"Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. When unspecified, all paths from incoming requests are matched."},"pathType":{"Type":4,"Flags":0,"Description":"PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types. Defaults to ImplementationSpecific."}}}},{"3":{"ItemType":26}},{"3":{"ItemType":24}},{"2":{"Name":"IoK8SApiNetworkingV1Beta1IngressTLS","Properties":{"hosts":{"Type":30,"Flags":0,"Description":"Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified."},"secretName":{"Type":4,"Flags":0,"Description":"SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":29}},{"2":{"Name":"IoK8SApiNetworkingV1Beta1IngressStatus","Properties":{"loadBalancer":{"Type":33,"Flags":0,"Description":"LoadBalancerStatus represents the status of a load-balancer."}}}},{"2":{"Name":"IoK8SApiCoreV1LoadBalancerStatus","Properties":{"ingress":{"Type":35,"Flags":0,"Description":"Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points."}}}},{"2":{"Name":"IoK8SApiCoreV1LoadBalancerIngress","Properties":{"hostname":{"Type":4,"Flags":0,"Description":"Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)"},"ip":{"Type":4,"Flags":0,"Description":"IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)"}}}},{"3":{"ItemType":34}},{"2":{"Name":"networking.k8s.io/Ingress","Properties":{"kind":{"Type":17,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":18,"Flags":10,"Description":"The api version."},"metadata":{"Type":21,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":22,"Flags":0,"Description":"IngressSpec describes the Ingress the user wishes to exist."},"status":{"Type":32,"Flags":0,"Description":"IngressStatus describe the current state of the Ingress."}}}},{"4":{"Name":"networking.k8s.io/Ingress@v1beta1","ScopeType":0,"Body":36,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "IngressClass" + }, + { + "$type": "StringLiteralType", + "value": "networking.k8s.io/v1beta1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1Beta1IngressClassSpec", + "properties": { + "controller": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Controller refers to the name of the controller that should handle this class. This allows for different \"flavors\" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. \"acme.io/ingress-controller\". This field is immutable." + }, + "parameters": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TypedLocalObjectReference", + "properties": { + "apiGroup": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind is the type of resource being referenced" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the name of resource being referenced" + } + } + }, + { + "$type": "ObjectType", + "name": "networking.k8s.io/IngressClass", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "IngressClassSpec provides information about the class of an Ingress." + } + } + }, + { + "$type": "ResourceType", + "name": "networking.k8s.io/IngressClass@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/8" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "Ingress" + }, + { + "$type": "StringLiteralType", + "value": "networking.k8s.io/v1beta1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1Beta1IngressSpec", + "properties": { + "backend": { + "type": { + "$ref": "#/16" + }, + "flags": 0, + "description": "IngressBackend describes all endpoints for a given service and port." + }, + "ingressClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation." + }, + "rules": { + "type": { + "$ref": "#/21" + }, + "flags": 0, + "description": "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend." + }, + "tls": { + "type": { + "$ref": "#/24" + }, + "flags": 0, + "description": "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1Beta1IngressBackend", + "properties": { + "resource": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace." + }, + "serviceName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Specifies the name of the referenced service." + }, + "servicePort": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1Beta1IngressRule", + "properties": { + "host": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to\n the IP in the Spec of the parent Ingress.\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.\n\nHost can be \"precise\" which is a domain name without the terminating dot of a network host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain name prefixed with a single wildcard label (e.g. \"*.foo.com\"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == \"*\"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule." + }, + "http": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1Beta1HttpIngressRuleValue", + "properties": { + "paths": { + "type": { + "$ref": "#/20" + }, + "flags": 1, + "description": "A collection of paths that map requests to backends." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1Beta1HttpIngressPath", + "properties": { + "backend": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "IngressBackend describes all endpoints for a given service and port." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. When unspecified, all paths from incoming requests are matched." + }, + "pathType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types. Defaults to ImplementationSpecific." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/19" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/17" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1Beta1IngressTLS", + "properties": { + "hosts": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified." + }, + "secretName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/22" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNetworkingV1Beta1IngressStatus", + "properties": { + "loadBalancer": { + "type": { + "$ref": "#/26" + }, + "flags": 0, + "description": "LoadBalancerStatus represents the status of a load-balancer." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LoadBalancerStatus", + "properties": { + "ingress": { + "type": { + "$ref": "#/28" + }, + "flags": 0, + "description": "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LoadBalancerIngress", + "properties": { + "hostname": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)" + }, + "ip": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/27" + } + }, + { + "$type": "ObjectType", + "name": "networking.k8s.io/Ingress", + "properties": { + "kind": { + "type": { + "$ref": "#/10" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/11" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/14" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/15" + }, + "flags": 0, + "description": "IngressSpec describes the Ingress the user wishes to exist." + }, + "status": { + "type": { + "$ref": "#/25" + }, + "flags": 0, + "description": "IngressStatus describe the current state of the Ingress." + } + } + }, + { + "$type": "ResourceType", + "name": "networking.k8s.io/Ingress@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/29" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/node.k8s.io/v1beta1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/node.k8s.io/v1beta1/types.json index 263bc280..f6554066 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/node.k8s.io/v1beta1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/node.k8s.io/v1beta1/types.json @@ -1 +1,212 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"RuntimeClass"}},{"6":{"Value":"node.k8s.io/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiNodeV1Beta1Overhead","Properties":{"podFixed":{"Type":14,"Flags":0,"Description":"PodFixed represents the fixed resource overhead associated with running a pod."}}}},{"2":{"Name":"IoK8SApiNodeV1Beta1OverheadPodFixed","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiNodeV1Beta1Scheduling","Properties":{"nodeSelector":{"Type":16,"Flags":0,"Description":"nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission."},"tolerations":{"Type":18,"Flags":0,"Description":"tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass."}}}},{"2":{"Name":"IoK8SApiNodeV1Beta1SchedulingNodeSelector","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1Toleration","Properties":{"effect":{"Type":4,"Flags":0,"Description":"Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute."},"key":{"Type":4,"Flags":0,"Description":"Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys."},"operator":{"Type":4,"Flags":0,"Description":"Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category."},"tolerationSeconds":{"Type":3,"Flags":0,"Description":"TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system."},"value":{"Type":4,"Flags":0,"Description":"Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string."}}}},{"3":{"ItemType":17}},{"2":{"Name":"node.k8s.io/RuntimeClass","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"handler":{"Type":4,"Flags":1,"Description":"Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must conform to the DNS Label (RFC 1123) requirements, and is immutable."},"overhead":{"Type":13,"Flags":0,"Description":"Overhead structure represents the resource overhead associated with running a pod."},"scheduling":{"Type":15,"Flags":0,"Description":"Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass."}}}},{"4":{"Name":"node.k8s.io/RuntimeClass@v1beta1","ScopeType":0,"Body":19,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "RuntimeClass" + }, + { + "$type": "StringLiteralType", + "value": "node.k8s.io/v1beta1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNodeV1Beta1Overhead", + "properties": { + "podFixed": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "PodFixed represents the fixed resource overhead associated with running a pod." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNodeV1Beta1OverheadPodFixed", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNodeV1Beta1Scheduling", + "properties": { + "nodeSelector": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission." + }, + "tolerations": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiNodeV1Beta1SchedulingNodeSelector", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1Toleration", + "properties": { + "effect": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute." + }, + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category." + }, + "tolerationSeconds": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system." + }, + "value": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/10" + } + }, + { + "$type": "ObjectType", + "name": "node.k8s.io/RuntimeClass", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "handler": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must conform to the DNS Label (RFC 1123) requirements, and is immutable." + }, + "overhead": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "Overhead structure represents the resource overhead associated with running a pod." + }, + "scheduling": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass." + } + } + }, + { + "$type": "ResourceType", + "name": "node.k8s.io/RuntimeClass@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/13" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/policy/v1beta1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/policy/v1beta1/types.json index 59609df7..6c7a38a4 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/policy/v1beta1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/policy/v1beta1/types.json @@ -1 +1,873 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"PodDisruptionBudget"}},{"6":{"Value":"policy/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiPolicyV1Beta1PodDisruptionBudgetSpec","Properties":{"maxUnavailable":{"Type":4,"Flags":0,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."},"minAvailable":{"Type":4,"Flags":0,"Description":"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."},"selector":{"Type":14,"Flags":0,"Description":"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelector","Properties":{"matchExpressions":{"Type":17,"Flags":0,"Description":"matchExpressions is a list of label selector requirements. The requirements are ANDed."},"matchLabels":{"Type":18,"Flags":0,"Description":"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."},"values":{"Type":16,"Flags":0,"Description":"values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":15}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiPolicyV1Beta1PodDisruptionBudgetStatus","Properties":{"currentHealthy":{"Type":3,"Flags":1,"Description":"current number of healthy pods"},"desiredHealthy":{"Type":3,"Flags":1,"Description":"minimum desired number of healthy pods"},"disruptedPods":{"Type":20,"Flags":0,"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."},"disruptionsAllowed":{"Type":3,"Flags":1,"Description":"Number of pod disruptions that are currently allowed."},"expectedPods":{"Type":3,"Flags":1,"Description":"total number of pods counted by this disruption budget"},"observedGeneration":{"Type":3,"Flags":0,"Description":"Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation."}}}},{"2":{"Name":"IoK8SApiPolicyV1Beta1PodDisruptionBudgetStatusDisruptedPods","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"policy/PodDisruptionBudget","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":0,"Description":"PodDisruptionBudgetSpec is a description of a PodDisruptionBudget."},"status":{"Type":19,"Flags":0,"Description":"PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system."}}}},{"4":{"Name":"policy/PodDisruptionBudget@v1beta1","ScopeType":0,"Body":21,"Flags":0}},{"6":{"Value":"PodSecurityPolicy"}},{"6":{"Value":"policy/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":25,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":26,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiPolicyV1Beta1PodSecurityPolicySpec","Properties":{"allowPrivilegeEscalation":{"Type":2,"Flags":0,"Description":"allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true."},"allowedCSIDrivers":{"Type":30,"Flags":0,"Description":"AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate."},"allowedCapabilities":{"Type":31,"Flags":0,"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."},"allowedFlexVolumes":{"Type":33,"Flags":0,"Description":"allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field."},"allowedHostPaths":{"Type":35,"Flags":0,"Description":"allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used."},"allowedProcMountTypes":{"Type":36,"Flags":0,"Description":"AllowedProcMountTypes is an allowlist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled."},"allowedUnsafeSysctls":{"Type":37,"Flags":0,"Description":"allowedUnsafeSysctls is a list of explicitly allowed unsafe 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 allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to allowlist all allowed unsafe sysctls explicitly to avoid rejection.\n\nExamples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc."},"defaultAddCapabilities":{"Type":38,"Flags":0,"Description":"defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list."},"defaultAllowPrivilegeEscalation":{"Type":2,"Flags":0,"Description":"defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process."},"forbiddenSysctls":{"Type":39,"Flags":0,"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."},"fsGroup":{"Type":40,"Flags":1,"Description":"FSGroupStrategyOptions defines the strategy type and options used to create the strategy."},"hostIPC":{"Type":2,"Flags":0,"Description":"hostIPC determines if the policy allows the use of HostIPC in the pod spec."},"hostNetwork":{"Type":2,"Flags":0,"Description":"hostNetwork determines if the policy allows the use of HostNetwork in the pod spec."},"hostPID":{"Type":2,"Flags":0,"Description":"hostPID determines if the policy allows the use of HostPID in the pod spec."},"hostPorts":{"Type":44,"Flags":0,"Description":"hostPorts determines which host port ranges are allowed to be exposed."},"privileged":{"Type":2,"Flags":0,"Description":"privileged determines if a pod can request to be run as privileged."},"readOnlyRootFilesystem":{"Type":2,"Flags":0,"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."},"requiredDropCapabilities":{"Type":45,"Flags":0,"Description":"requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added."},"runAsGroup":{"Type":46,"Flags":0,"Description":"RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy."},"runAsUser":{"Type":48,"Flags":1,"Description":"RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy."},"runtimeClass":{"Type":50,"Flags":0,"Description":"RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod."},"seLinux":{"Type":52,"Flags":1,"Description":"SELinuxStrategyOptions defines the strategy type and any options used to create the strategy."},"supplementalGroups":{"Type":54,"Flags":1,"Description":"SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy."},"volumes":{"Type":56,"Flags":0,"Description":"volumes is an allowlist of volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'."}}}},{"2":{"Name":"IoK8SApiPolicyV1Beta1AllowedCSIDriver","Properties":{"name":{"Type":4,"Flags":1,"Description":"Name is the registered name of the CSI driver"}}}},{"3":{"ItemType":29}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiPolicyV1Beta1AllowedFlexVolume","Properties":{"driver":{"Type":4,"Flags":1,"Description":"driver is the name of the Flexvolume driver."}}}},{"3":{"ItemType":32}},{"2":{"Name":"IoK8SApiPolicyV1Beta1AllowedHostPath","Properties":{"pathPrefix":{"Type":4,"Flags":0,"Description":"pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`"},"readOnly":{"Type":2,"Flags":0,"Description":"when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly."}}}},{"3":{"ItemType":34}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiPolicyV1Beta1FSGroupStrategyOptions","Properties":{"ranges":{"Type":42,"Flags":0,"Description":"ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs."},"rule":{"Type":4,"Flags":0,"Description":"rule is the strategy that will dictate what FSGroup is used in the SecurityContext."}}}},{"2":{"Name":"IoK8SApiPolicyV1Beta1IDRange","Properties":{"max":{"Type":3,"Flags":1,"Description":"max is the end of the range, inclusive."},"min":{"Type":3,"Flags":1,"Description":"min is the start of the range, inclusive."}}}},{"3":{"ItemType":41}},{"2":{"Name":"IoK8SApiPolicyV1Beta1HostPortRange","Properties":{"max":{"Type":3,"Flags":1,"Description":"max is the end of the range, inclusive."},"min":{"Type":3,"Flags":1,"Description":"min is the start of the range, inclusive."}}}},{"3":{"ItemType":43}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiPolicyV1Beta1RunAsGroupStrategyOptions","Properties":{"ranges":{"Type":47,"Flags":0,"Description":"ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs."},"rule":{"Type":4,"Flags":1,"Description":"rule is the strategy that will dictate the allowable RunAsGroup values that may be set."}}}},{"3":{"ItemType":41}},{"2":{"Name":"IoK8SApiPolicyV1Beta1RunAsUserStrategyOptions","Properties":{"ranges":{"Type":49,"Flags":0,"Description":"ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs."},"rule":{"Type":4,"Flags":1,"Description":"rule is the strategy that will dictate the allowable RunAsUser values that may be set."}}}},{"3":{"ItemType":41}},{"2":{"Name":"IoK8SApiPolicyV1Beta1RuntimeClassStrategyOptions","Properties":{"allowedRuntimeClassNames":{"Type":51,"Flags":1,"Description":"allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod. A value of \"*\" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset."},"defaultRuntimeClassName":{"Type":4,"Flags":0,"Description":"defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiPolicyV1Beta1SELinuxStrategyOptions","Properties":{"rule":{"Type":4,"Flags":1,"Description":"rule is the strategy that will dictate the allowable labels that may be set."},"seLinuxOptions":{"Type":53,"Flags":0,"Description":"SELinuxOptions are the labels to be applied to the container"}}}},{"2":{"Name":"IoK8SApiCoreV1SELinuxOptions","Properties":{"level":{"Type":4,"Flags":0,"Description":"Level is SELinux level label that applies to the container."},"role":{"Type":4,"Flags":0,"Description":"Role is a SELinux role label that applies to the container."},"type":{"Type":4,"Flags":0,"Description":"Type is a SELinux type label that applies to the container."},"user":{"Type":4,"Flags":0,"Description":"User is a SELinux user label that applies to the container."}}}},{"2":{"Name":"IoK8SApiPolicyV1Beta1SupplementalGroupsStrategyOptions","Properties":{"ranges":{"Type":55,"Flags":0,"Description":"ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs."},"rule":{"Type":4,"Flags":0,"Description":"rule is the strategy that will dictate what supplemental groups is used in the SecurityContext."}}}},{"3":{"ItemType":41}},{"3":{"ItemType":4}},{"2":{"Name":"policy/PodSecurityPolicy","Properties":{"kind":{"Type":23,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":24,"Flags":10,"Description":"The api version."},"metadata":{"Type":27,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":28,"Flags":0,"Description":"PodSecurityPolicySpec defines the policy enforced."}}}},{"4":{"Name":"policy/PodSecurityPolicy@v1beta1","ScopeType":0,"Body":57,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "PodDisruptionBudget" + }, + { + "$type": "StringLiteralType", + "value": "policy/v1beta1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiPolicyV1Beta1PodDisruptionBudgetSpec", + "properties": { + "maxUnavailable": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + }, + "minAvailable": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number." + }, + "selector": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelector", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/10" + }, + "flags": 0, + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." + }, + "matchLabels": { + "type": { + "$ref": "#/11" + }, + "flags": 0, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": { + "$ref": "#/9" + }, + "flags": 0, + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/8" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiPolicyV1Beta1PodDisruptionBudgetStatus", + "properties": { + "currentHealthy": { + "type": { + "$ref": "#/13" + }, + "flags": 1, + "description": "current number of healthy pods" + }, + "desiredHealthy": { + "type": { + "$ref": "#/13" + }, + "flags": 1, + "description": "minimum desired number of healthy pods" + }, + "disruptedPods": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "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." + }, + "disruptionsAllowed": { + "type": { + "$ref": "#/13" + }, + "flags": 1, + "description": "Number of pod disruptions that are currently allowed." + }, + "expectedPods": { + "type": { + "$ref": "#/13" + }, + "flags": 1, + "description": "total number of pods counted by this disruption budget" + }, + "observedGeneration": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiPolicyV1Beta1PodDisruptionBudgetStatusDisruptedPods", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "policy/PodDisruptionBudget", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "description": "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget." + }, + "status": { + "type": { + "$ref": "#/12" + }, + "flags": 0, + "description": "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system." + } + } + }, + { + "$type": "ResourceType", + "name": "policy/PodDisruptionBudget@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/15" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "PodSecurityPolicy" + }, + { + "$type": "StringLiteralType", + "value": "policy/v1beta1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiPolicyV1Beta1PodSecurityPolicySpec", + "properties": { + "allowPrivilegeEscalation": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true." + }, + "allowedCSIDrivers": { + "type": { + "$ref": "#/25" + }, + "flags": 0, + "description": "AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate." + }, + "allowedCapabilities": { + "type": { + "$ref": "#/26" + }, + "flags": 0, + "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." + }, + "allowedFlexVolumes": { + "type": { + "$ref": "#/28" + }, + "flags": 0, + "description": "allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field." + }, + "allowedHostPaths": { + "type": { + "$ref": "#/30" + }, + "flags": 0, + "description": "allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used." + }, + "allowedProcMountTypes": { + "type": { + "$ref": "#/31" + }, + "flags": 0, + "description": "AllowedProcMountTypes is an allowlist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled." + }, + "allowedUnsafeSysctls": { + "type": { + "$ref": "#/32" + }, + "flags": 0, + "description": "allowedUnsafeSysctls is a list of explicitly allowed unsafe 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 allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to allowlist all allowed unsafe sysctls explicitly to avoid rejection.\n\nExamples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc." + }, + "defaultAddCapabilities": { + "type": { + "$ref": "#/33" + }, + "flags": 0, + "description": "defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list." + }, + "defaultAllowPrivilegeEscalation": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process." + }, + "forbiddenSysctls": { + "type": { + "$ref": "#/34" + }, + "flags": 0, + "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." + }, + "fsGroup": { + "type": { + "$ref": "#/35" + }, + "flags": 1, + "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy." + }, + "hostIPC": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec." + }, + "hostNetwork": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec." + }, + "hostPID": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "hostPID determines if the policy allows the use of HostPID in the pod spec." + }, + "hostPorts": { + "type": { + "$ref": "#/39" + }, + "flags": 0, + "description": "hostPorts determines which host port ranges are allowed to be exposed." + }, + "privileged": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "privileged determines if a pod can request to be run as privileged." + }, + "readOnlyRootFilesystem": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "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." + }, + "requiredDropCapabilities": { + "type": { + "$ref": "#/40" + }, + "flags": 0, + "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added." + }, + "runAsGroup": { + "type": { + "$ref": "#/41" + }, + "flags": 0, + "description": "RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy." + }, + "runAsUser": { + "type": { + "$ref": "#/43" + }, + "flags": 1, + "description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy." + }, + "runtimeClass": { + "type": { + "$ref": "#/45" + }, + "flags": 0, + "description": "RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod." + }, + "seLinux": { + "type": { + "$ref": "#/47" + }, + "flags": 1, + "description": "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy." + }, + "supplementalGroups": { + "type": { + "$ref": "#/49" + }, + "flags": 1, + "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy." + }, + "volumes": { + "type": { + "$ref": "#/51" + }, + "flags": 0, + "description": "volumes is an allowlist of volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'." + } + } + }, + { + "$type": "BooleanType" + }, + { + "$type": "ObjectType", + "name": "IoK8SApiPolicyV1Beta1AllowedCSIDriver", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the registered name of the CSI driver" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/24" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiPolicyV1Beta1AllowedFlexVolume", + "properties": { + "driver": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "driver is the name of the Flexvolume driver." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/27" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiPolicyV1Beta1AllowedHostPath", + "properties": { + "pathPrefix": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`" + }, + "readOnly": { + "type": { + "$ref": "#/23" + }, + "flags": 0, + "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/29" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiPolicyV1Beta1FSGroupStrategyOptions", + "properties": { + "ranges": { + "type": { + "$ref": "#/37" + }, + "flags": 0, + "description": "ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs." + }, + "rule": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "rule is the strategy that will dictate what FSGroup is used in the SecurityContext." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiPolicyV1Beta1IDRange", + "properties": { + "max": { + "type": { + "$ref": "#/13" + }, + "flags": 1, + "description": "max is the end of the range, inclusive." + }, + "min": { + "type": { + "$ref": "#/13" + }, + "flags": 1, + "description": "min is the start of the range, inclusive." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/36" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiPolicyV1Beta1HostPortRange", + "properties": { + "max": { + "type": { + "$ref": "#/13" + }, + "flags": 1, + "description": "max is the end of the range, inclusive." + }, + "min": { + "type": { + "$ref": "#/13" + }, + "flags": 1, + "description": "min is the start of the range, inclusive." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/38" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiPolicyV1Beta1RunAsGroupStrategyOptions", + "properties": { + "ranges": { + "type": { + "$ref": "#/42" + }, + "flags": 0, + "description": "ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs." + }, + "rule": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "rule is the strategy that will dictate the allowable RunAsGroup values that may be set." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/36" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiPolicyV1Beta1RunAsUserStrategyOptions", + "properties": { + "ranges": { + "type": { + "$ref": "#/44" + }, + "flags": 0, + "description": "ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs." + }, + "rule": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "rule is the strategy that will dictate the allowable RunAsUser values that may be set." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/36" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiPolicyV1Beta1RuntimeClassStrategyOptions", + "properties": { + "allowedRuntimeClassNames": { + "type": { + "$ref": "#/46" + }, + "flags": 1, + "description": "allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod. A value of \"*\" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset." + }, + "defaultRuntimeClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiPolicyV1Beta1SELinuxStrategyOptions", + "properties": { + "rule": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "rule is the strategy that will dictate the allowable labels that may be set." + }, + "seLinuxOptions": { + "type": { + "$ref": "#/48" + }, + "flags": 0, + "description": "SELinuxOptions are the labels to be applied to the container" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SELinuxOptions", + "properties": { + "level": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Level is SELinux level label that applies to the container." + }, + "role": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Role is a SELinux role label that applies to the container." + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Type is a SELinux type label that applies to the container." + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "User is a SELinux user label that applies to the container." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiPolicyV1Beta1SupplementalGroupsStrategyOptions", + "properties": { + "ranges": { + "type": { + "$ref": "#/50" + }, + "flags": 0, + "description": "ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs." + }, + "rule": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/36" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "policy/PodSecurityPolicy", + "properties": { + "kind": { + "type": { + "$ref": "#/17" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/18" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/21" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "PodSecurityPolicySpec defines the policy enforced." + } + } + }, + { + "$type": "ResourceType", + "name": "policy/PodSecurityPolicy@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/52" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/rbac.authorization.k8s.io/v1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/rbac.authorization.k8s.io/v1/types.json index ea6a1bfb..8c847a0d 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/rbac.authorization.k8s.io/v1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/rbac.authorization.k8s.io/v1/types.json @@ -1 +1,658 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"ClusterRoleBinding"}},{"6":{"Value":"rbac.authorization.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiRbacV1RoleRef","Properties":{"apiGroup":{"Type":4,"Flags":1,"Description":"APIGroup is the group for the resource being referenced"},"kind":{"Type":4,"Flags":1,"Description":"Kind is the type of resource being referenced"},"name":{"Type":4,"Flags":1,"Description":"Name is the name of resource being referenced"}}}},{"2":{"Name":"IoK8SApiRbacV1Subject","Properties":{"apiGroup":{"Type":4,"Flags":0,"Description":"APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects."},"kind":{"Type":4,"Flags":1,"Description":"Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error."},"name":{"Type":4,"Flags":1,"Description":"Name of the object being referenced."},"namespace":{"Type":4,"Flags":0,"Description":"Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error."}}}},{"3":{"ItemType":14}},{"2":{"Name":"rbac.authorization.k8s.io/ClusterRoleBinding","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"roleRef":{"Type":13,"Flags":1,"Description":"RoleRef contains information that points to the role being used"},"subjects":{"Type":15,"Flags":0,"Description":"Subjects holds references to the objects the role applies to."}}}},{"4":{"Name":"rbac.authorization.k8s.io/ClusterRoleBinding@v1","ScopeType":0,"Body":16,"Flags":0}},{"6":{"Value":"ClusterRole"}},{"6":{"Value":"rbac.authorization.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":20,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":21,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiRbacV1AggregationRule","Properties":{"clusterRoleSelectors":{"Type":29,"Flags":0,"Description":"ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added"}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelector","Properties":{"matchExpressions":{"Type":27,"Flags":0,"Description":"matchExpressions is a list of label selector requirements. The requirements are ANDed."},"matchLabels":{"Type":28,"Flags":0,"Description":"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."},"values":{"Type":26,"Flags":0,"Description":"values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":25}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels","Properties":{},"AdditionalProperties":4}},{"3":{"ItemType":24}},{"2":{"Name":"IoK8SApiRbacV1PolicyRule","Properties":{"apiGroups":{"Type":31,"Flags":0,"Description":"APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed."},"nonResourceURLs":{"Type":32,"Flags":0,"Description":"NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both."},"resourceNames":{"Type":33,"Flags":0,"Description":"ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed."},"resources":{"Type":34,"Flags":0,"Description":"Resources is a list of resources this rule applies to. ResourceAll represents all resources."},"verbs":{"Type":35,"Flags":1,"Description":"Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":30}},{"2":{"Name":"rbac.authorization.k8s.io/ClusterRole","Properties":{"kind":{"Type":18,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":19,"Flags":10,"Description":"The api version."},"metadata":{"Type":22,"Flags":1,"Description":"The resource metadata."},"aggregationRule":{"Type":23,"Flags":0,"Description":"AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole"},"rules":{"Type":36,"Flags":0,"Description":"Rules holds all the PolicyRules for this ClusterRole"}}}},{"4":{"Name":"rbac.authorization.k8s.io/ClusterRole@v1","ScopeType":0,"Body":37,"Flags":0}},{"6":{"Value":"RoleBinding"}},{"6":{"Value":"rbac.authorization.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":41,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":42,"Flags":0,"Description":"The annotations for the resource."}}}},{"3":{"ItemType":14}},{"2":{"Name":"rbac.authorization.k8s.io/RoleBinding","Properties":{"kind":{"Type":39,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":40,"Flags":10,"Description":"The api version."},"metadata":{"Type":43,"Flags":1,"Description":"The resource metadata."},"roleRef":{"Type":13,"Flags":1,"Description":"RoleRef contains information that points to the role being used"},"subjects":{"Type":44,"Flags":0,"Description":"Subjects holds references to the objects the role applies to."}}}},{"4":{"Name":"rbac.authorization.k8s.io/RoleBinding@v1","ScopeType":0,"Body":45,"Flags":0}},{"6":{"Value":"Role"}},{"6":{"Value":"rbac.authorization.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":49,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":50,"Flags":0,"Description":"The annotations for the resource."}}}},{"3":{"ItemType":30}},{"2":{"Name":"rbac.authorization.k8s.io/Role","Properties":{"kind":{"Type":47,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":48,"Flags":10,"Description":"The api version."},"metadata":{"Type":51,"Flags":1,"Description":"The resource metadata."},"rules":{"Type":52,"Flags":0,"Description":"Rules holds all the PolicyRules for this Role"}}}},{"4":{"Name":"rbac.authorization.k8s.io/Role@v1","ScopeType":0,"Body":53,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "ClusterRoleBinding" + }, + { + "$type": "StringLiteralType", + "value": "rbac.authorization.k8s.io/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiRbacV1RoleRef", + "properties": { + "apiGroup": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "APIGroup is the group for the resource being referenced" + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind is the type of resource being referenced" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the name of resource being referenced" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiRbacV1Subject", + "properties": { + "apiGroup": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the object being referenced." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/7" + } + }, + { + "$type": "ObjectType", + "name": "rbac.authorization.k8s.io/ClusterRoleBinding", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "roleRef": { + "type": { + "$ref": "#/6" + }, + "flags": 1, + "description": "RoleRef contains information that points to the role being used" + }, + "subjects": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Subjects holds references to the objects the role applies to." + } + } + }, + { + "$type": "ResourceType", + "name": "rbac.authorization.k8s.io/ClusterRoleBinding@v1", + "scopeType": 0, + "body": { + "$ref": "#/9" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "ClusterRole" + }, + { + "$type": "StringLiteralType", + "value": "rbac.authorization.k8s.io/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiRbacV1AggregationRule", + "properties": { + "clusterRoleSelectors": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelector", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." + }, + "matchLabels": { + "type": { + "$ref": "#/21" + }, + "flags": 0, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/18" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/17" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiRbacV1PolicyRule", + "properties": { + "apiGroups": { + "type": { + "$ref": "#/24" + }, + "flags": 0, + "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed." + }, + "nonResourceURLs": { + "type": { + "$ref": "#/25" + }, + "flags": 0, + "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both." + }, + "resourceNames": { + "type": { + "$ref": "#/26" + }, + "flags": 0, + "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed." + }, + "resources": { + "type": { + "$ref": "#/27" + }, + "flags": 0, + "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources." + }, + "verbs": { + "type": { + "$ref": "#/28" + }, + "flags": 1, + "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/23" + } + }, + { + "$type": "ObjectType", + "name": "rbac.authorization.k8s.io/ClusterRole", + "properties": { + "kind": { + "type": { + "$ref": "#/11" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/12" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/15" + }, + "flags": 1, + "description": "The resource metadata." + }, + "aggregationRule": { + "type": { + "$ref": "#/16" + }, + "flags": 0, + "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole" + }, + "rules": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Rules holds all the PolicyRules for this ClusterRole" + } + } + }, + { + "$type": "ResourceType", + "name": "rbac.authorization.k8s.io/ClusterRole@v1", + "scopeType": 0, + "body": { + "$ref": "#/30" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "RoleBinding" + }, + { + "$type": "StringLiteralType", + "value": "rbac.authorization.k8s.io/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/34" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/35" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/7" + } + }, + { + "$type": "ObjectType", + "name": "rbac.authorization.k8s.io/RoleBinding", + "properties": { + "kind": { + "type": { + "$ref": "#/32" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/33" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/36" + }, + "flags": 1, + "description": "The resource metadata." + }, + "roleRef": { + "type": { + "$ref": "#/6" + }, + "flags": 1, + "description": "RoleRef contains information that points to the role being used" + }, + "subjects": { + "type": { + "$ref": "#/37" + }, + "flags": 0, + "description": "Subjects holds references to the objects the role applies to." + } + } + }, + { + "$type": "ResourceType", + "name": "rbac.authorization.k8s.io/RoleBinding@v1", + "scopeType": 0, + "body": { + "$ref": "#/38" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "Role" + }, + { + "$type": "StringLiteralType", + "value": "rbac.authorization.k8s.io/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/42" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/43" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/23" + } + }, + { + "$type": "ObjectType", + "name": "rbac.authorization.k8s.io/Role", + "properties": { + "kind": { + "type": { + "$ref": "#/40" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/41" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/44" + }, + "flags": 1, + "description": "The resource metadata." + }, + "rules": { + "type": { + "$ref": "#/45" + }, + "flags": 0, + "description": "Rules holds all the PolicyRules for this Role" + } + } + }, + { + "$type": "ResourceType", + "name": "rbac.authorization.k8s.io/Role@v1", + "scopeType": 0, + "body": { + "$ref": "#/46" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/rbac.authorization.k8s.io/v1beta1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/rbac.authorization.k8s.io/v1beta1/types.json index 51b3aa57..08e78cc4 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/rbac.authorization.k8s.io/v1beta1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/rbac.authorization.k8s.io/v1beta1/types.json @@ -1 +1,658 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"ClusterRoleBinding"}},{"6":{"Value":"rbac.authorization.k8s.io/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiRbacV1Beta1RoleRef","Properties":{"apiGroup":{"Type":4,"Flags":1,"Description":"APIGroup is the group for the resource being referenced"},"kind":{"Type":4,"Flags":1,"Description":"Kind is the type of resource being referenced"},"name":{"Type":4,"Flags":1,"Description":"Name is the name of resource being referenced"}}}},{"2":{"Name":"IoK8SApiRbacV1Beta1Subject","Properties":{"apiGroup":{"Type":4,"Flags":0,"Description":"APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects."},"kind":{"Type":4,"Flags":1,"Description":"Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error."},"name":{"Type":4,"Flags":1,"Description":"Name of the object being referenced."},"namespace":{"Type":4,"Flags":0,"Description":"Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error."}}}},{"3":{"ItemType":14}},{"2":{"Name":"rbac.authorization.k8s.io/ClusterRoleBinding","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"roleRef":{"Type":13,"Flags":1,"Description":"RoleRef contains information that points to the role being used"},"subjects":{"Type":15,"Flags":0,"Description":"Subjects holds references to the objects the role applies to."}}}},{"4":{"Name":"rbac.authorization.k8s.io/ClusterRoleBinding@v1beta1","ScopeType":0,"Body":16,"Flags":0}},{"6":{"Value":"ClusterRole"}},{"6":{"Value":"rbac.authorization.k8s.io/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":20,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":21,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiRbacV1Beta1AggregationRule","Properties":{"clusterRoleSelectors":{"Type":29,"Flags":0,"Description":"ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added"}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelector","Properties":{"matchExpressions":{"Type":27,"Flags":0,"Description":"matchExpressions is a list of label selector requirements. The requirements are ANDed."},"matchLabels":{"Type":28,"Flags":0,"Description":"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."}}}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"key is the label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."},"values":{"Type":26,"Flags":0,"Description":"values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":25}},{"2":{"Name":"IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels","Properties":{},"AdditionalProperties":4}},{"3":{"ItemType":24}},{"2":{"Name":"IoK8SApiRbacV1Beta1PolicyRule","Properties":{"apiGroups":{"Type":31,"Flags":0,"Description":"APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed."},"nonResourceURLs":{"Type":32,"Flags":0,"Description":"NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both."},"resourceNames":{"Type":33,"Flags":0,"Description":"ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed."},"resources":{"Type":34,"Flags":0,"Description":"Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups."},"verbs":{"Type":35,"Flags":1,"Description":"Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"3":{"ItemType":30}},{"2":{"Name":"rbac.authorization.k8s.io/ClusterRole","Properties":{"kind":{"Type":18,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":19,"Flags":10,"Description":"The api version."},"metadata":{"Type":22,"Flags":1,"Description":"The resource metadata."},"aggregationRule":{"Type":23,"Flags":0,"Description":"AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole"},"rules":{"Type":36,"Flags":0,"Description":"Rules holds all the PolicyRules for this ClusterRole"}}}},{"4":{"Name":"rbac.authorization.k8s.io/ClusterRole@v1beta1","ScopeType":0,"Body":37,"Flags":0}},{"6":{"Value":"RoleBinding"}},{"6":{"Value":"rbac.authorization.k8s.io/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":41,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":42,"Flags":0,"Description":"The annotations for the resource."}}}},{"3":{"ItemType":14}},{"2":{"Name":"rbac.authorization.k8s.io/RoleBinding","Properties":{"kind":{"Type":39,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":40,"Flags":10,"Description":"The api version."},"metadata":{"Type":43,"Flags":1,"Description":"The resource metadata."},"roleRef":{"Type":13,"Flags":1,"Description":"RoleRef contains information that points to the role being used"},"subjects":{"Type":44,"Flags":0,"Description":"Subjects holds references to the objects the role applies to."}}}},{"4":{"Name":"rbac.authorization.k8s.io/RoleBinding@v1beta1","ScopeType":0,"Body":45,"Flags":0}},{"6":{"Value":"Role"}},{"6":{"Value":"rbac.authorization.k8s.io/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"namespace":{"Type":4,"Flags":8,"Description":"The namespace of the resource."},"labels":{"Type":49,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":50,"Flags":0,"Description":"The annotations for the resource."}}}},{"3":{"ItemType":30}},{"2":{"Name":"rbac.authorization.k8s.io/Role","Properties":{"kind":{"Type":47,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":48,"Flags":10,"Description":"The api version."},"metadata":{"Type":51,"Flags":1,"Description":"The resource metadata."},"rules":{"Type":52,"Flags":0,"Description":"Rules holds all the PolicyRules for this Role"}}}},{"4":{"Name":"rbac.authorization.k8s.io/Role@v1beta1","ScopeType":0,"Body":53,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "ClusterRoleBinding" + }, + { + "$type": "StringLiteralType", + "value": "rbac.authorization.k8s.io/v1beta1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiRbacV1Beta1RoleRef", + "properties": { + "apiGroup": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "APIGroup is the group for the resource being referenced" + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind is the type of resource being referenced" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name is the name of resource being referenced" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiRbacV1Beta1Subject", + "properties": { + "apiGroup": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Name of the object being referenced." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/7" + } + }, + { + "$type": "ObjectType", + "name": "rbac.authorization.k8s.io/ClusterRoleBinding", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "roleRef": { + "type": { + "$ref": "#/6" + }, + "flags": 1, + "description": "RoleRef contains information that points to the role being used" + }, + "subjects": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "Subjects holds references to the objects the role applies to." + } + } + }, + { + "$type": "ResourceType", + "name": "rbac.authorization.k8s.io/ClusterRoleBinding@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/9" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "ClusterRole" + }, + { + "$type": "StringLiteralType", + "value": "rbac.authorization.k8s.io/v1beta1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiRbacV1Beta1AggregationRule", + "properties": { + "clusterRoleSelectors": { + "type": { + "$ref": "#/22" + }, + "flags": 0, + "description": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelector", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." + }, + "matchLabels": { + "type": { + "$ref": "#/21" + }, + "flags": 0, + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "key is the label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist." + }, + "values": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/18" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApimachineryPkgApisMetaV1LabelSelectorMatchLabels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/17" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiRbacV1Beta1PolicyRule", + "properties": { + "apiGroups": { + "type": { + "$ref": "#/24" + }, + "flags": 0, + "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed." + }, + "nonResourceURLs": { + "type": { + "$ref": "#/25" + }, + "flags": 0, + "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both." + }, + "resourceNames": { + "type": { + "$ref": "#/26" + }, + "flags": 0, + "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed." + }, + "resources": { + "type": { + "$ref": "#/27" + }, + "flags": 0, + "description": "Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups." + }, + "verbs": { + "type": { + "$ref": "#/28" + }, + "flags": 1, + "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/23" + } + }, + { + "$type": "ObjectType", + "name": "rbac.authorization.k8s.io/ClusterRole", + "properties": { + "kind": { + "type": { + "$ref": "#/11" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/12" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/15" + }, + "flags": 1, + "description": "The resource metadata." + }, + "aggregationRule": { + "type": { + "$ref": "#/16" + }, + "flags": 0, + "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole" + }, + "rules": { + "type": { + "$ref": "#/29" + }, + "flags": 0, + "description": "Rules holds all the PolicyRules for this ClusterRole" + } + } + }, + { + "$type": "ResourceType", + "name": "rbac.authorization.k8s.io/ClusterRole@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/30" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "RoleBinding" + }, + { + "$type": "StringLiteralType", + "value": "rbac.authorization.k8s.io/v1beta1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/34" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/35" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/7" + } + }, + { + "$type": "ObjectType", + "name": "rbac.authorization.k8s.io/RoleBinding", + "properties": { + "kind": { + "type": { + "$ref": "#/32" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/33" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/36" + }, + "flags": 1, + "description": "The resource metadata." + }, + "roleRef": { + "type": { + "$ref": "#/6" + }, + "flags": 1, + "description": "RoleRef contains information that points to the role being used" + }, + "subjects": { + "type": { + "$ref": "#/37" + }, + "flags": 0, + "description": "Subjects holds references to the objects the role applies to." + } + } + }, + { + "$type": "ResourceType", + "name": "rbac.authorization.k8s.io/RoleBinding@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/38" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "Role" + }, + { + "$type": "StringLiteralType", + "value": "rbac.authorization.k8s.io/v1beta1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 8, + "description": "The namespace of the resource." + }, + "labels": { + "type": { + "$ref": "#/42" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/43" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/23" + } + }, + { + "$type": "ObjectType", + "name": "rbac.authorization.k8s.io/Role", + "properties": { + "kind": { + "type": { + "$ref": "#/40" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/41" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/44" + }, + "flags": 1, + "description": "The resource metadata." + }, + "rules": { + "type": { + "$ref": "#/45" + }, + "flags": 0, + "description": "Rules holds all the PolicyRules for this Role" + } + } + }, + { + "$type": "ResourceType", + "name": "rbac.authorization.k8s.io/Role@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/46" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/scheduling.k8s.io/v1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/scheduling.k8s.io/v1/types.json index e641ae69..ab8fba97 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/scheduling.k8s.io/v1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/scheduling.k8s.io/v1/types.json @@ -1 +1,126 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"PriorityClass"}},{"6":{"Value":"scheduling.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"scheduling.k8s.io/PriorityClass","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"description":{"Type":4,"Flags":0,"Description":"description is an arbitrary string that usually provides guidelines on when this priority class should be used."},"globalDefault":{"Type":2,"Flags":0,"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."},"preemptionPolicy":{"Type":4,"Flags":0,"Description":"PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."},"value":{"Type":3,"Flags":1,"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."}}}},{"4":{"Name":"scheduling.k8s.io/PriorityClass@v1","ScopeType":0,"Body":13,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "PriorityClass" + }, + { + "$type": "StringLiteralType", + "value": "scheduling.k8s.io/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "BooleanType" + }, + { + "$type": "IntegerType" + }, + { + "$type": "ObjectType", + "name": "scheduling.k8s.io/PriorityClass", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "description": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used." + }, + "globalDefault": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "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." + }, + "preemptionPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate." + }, + "value": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "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": "ResourceType", + "name": "scheduling.k8s.io/PriorityClass@v1", + "scopeType": 0, + "body": { + "$ref": "#/8" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/scheduling.k8s.io/v1beta1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/scheduling.k8s.io/v1beta1/types.json index b2f14d9b..038e9a11 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/scheduling.k8s.io/v1beta1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/scheduling.k8s.io/v1beta1/types.json @@ -1 +1,126 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"PriorityClass"}},{"6":{"Value":"scheduling.k8s.io/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"scheduling.k8s.io/PriorityClass","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"description":{"Type":4,"Flags":0,"Description":"description is an arbitrary string that usually provides guidelines on when this priority class should be used."},"globalDefault":{"Type":2,"Flags":0,"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."},"preemptionPolicy":{"Type":4,"Flags":0,"Description":"PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."},"value":{"Type":3,"Flags":1,"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."}}}},{"4":{"Name":"scheduling.k8s.io/PriorityClass@v1beta1","ScopeType":0,"Body":13,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "PriorityClass" + }, + { + "$type": "StringLiteralType", + "value": "scheduling.k8s.io/v1beta1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "BooleanType" + }, + { + "$type": "IntegerType" + }, + { + "$type": "ObjectType", + "name": "scheduling.k8s.io/PriorityClass", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "description": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used." + }, + "globalDefault": { + "type": { + "$ref": "#/6" + }, + "flags": 0, + "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." + }, + "preemptionPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate." + }, + "value": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "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": "ResourceType", + "name": "scheduling.k8s.io/PriorityClass@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/8" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/storage.k8s.io/v1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/storage.k8s.io/v1/types.json index 87b7fe2e..a936a4e1 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/storage.k8s.io/v1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/storage.k8s.io/v1/types.json @@ -1 +1,2078 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"CSIDriver"}},{"6":{"Value":"storage.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiStorageV1CSIDriverSpec","Properties":{"attachRequired":{"Type":2,"Flags":0,"Description":"attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called."},"fsGroupPolicy":{"Type":4,"Flags":0,"Description":"Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate."},"podInfoOnMount":{"Type":2,"Flags":0,"Description":"If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" iff the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver."},"storageCapacity":{"Type":2,"Flags":0,"Description":"If set to true, storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information.\n\nThe check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.\n\nAlternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published.\n\nThis is an alpha field and only available when the CSIStorageCapacity feature is enabled. The default is false."},"volumeLifecycleModes":{"Type":14,"Flags":0,"Description":"volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is \"Persistent\", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is \"Ephemeral\". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future. This field is beta."}}}},{"3":{"ItemType":4}},{"2":{"Name":"storage.k8s.io/CSIDriver","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":1,"Description":"CSIDriverSpec is the specification of a CSIDriver."}}}},{"4":{"Name":"storage.k8s.io/CSIDriver@v1","ScopeType":0,"Body":15,"Flags":0}},{"6":{"Value":"CSINode"}},{"6":{"Value":"storage.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":19,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":20,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiStorageV1CSINodeSpec","Properties":{"drivers":{"Type":26,"Flags":1,"Description":"drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty."}}}},{"2":{"Name":"IoK8SApiStorageV1CSINodeDriver","Properties":{"allocatable":{"Type":24,"Flags":0,"Description":"VolumeNodeResources is a set of resource limits for scheduling of volumes."},"name":{"Type":4,"Flags":1,"Description":"This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver."},"nodeID":{"Type":4,"Flags":1,"Description":"nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required."},"topologyKeys":{"Type":25,"Flags":0,"Description":"topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology."}}}},{"2":{"Name":"IoK8SApiStorageV1VolumeNodeResources","Properties":{"count":{"Type":3,"Flags":0,"Description":"Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":23}},{"2":{"Name":"storage.k8s.io/CSINode","Properties":{"kind":{"Type":17,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":18,"Flags":10,"Description":"The api version."},"metadata":{"Type":21,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":22,"Flags":1,"Description":"CSINodeSpec holds information about the specification of all CSI drivers installed on a node"}}}},{"4":{"Name":"storage.k8s.io/CSINode@v1","ScopeType":0,"Body":27,"Flags":0}},{"6":{"Value":"StorageClass"}},{"6":{"Value":"storage.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":31,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":32,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1TopologySelectorTerm","Properties":{"matchLabelExpressions":{"Type":37,"Flags":0,"Description":"A list of topology selector requirements by labels."}}}},{"2":{"Name":"IoK8SApiCoreV1TopologySelectorLabelRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"The label key that the selector applies to."},"values":{"Type":36,"Flags":1,"Description":"An array of string values. One value must match the label to be selected. Each entry in Values is ORed."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":35}},{"3":{"ItemType":34}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiStorageV1StorageClassParameters","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"storage.k8s.io/StorageClass","Properties":{"kind":{"Type":29,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":30,"Flags":10,"Description":"The api version."},"metadata":{"Type":33,"Flags":1,"Description":"The resource metadata."},"allowVolumeExpansion":{"Type":2,"Flags":0,"Description":"AllowVolumeExpansion shows whether the storage class allow volume expand"},"allowedTopologies":{"Type":38,"Flags":0,"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."},"mountOptions":{"Type":39,"Flags":0,"Description":"Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid."},"parameters":{"Type":40,"Flags":0,"Description":"Parameters holds the parameters for the provisioner that should create volumes of this storage class."},"provisioner":{"Type":4,"Flags":1,"Description":"Provisioner indicates the type of the provisioner."},"reclaimPolicy":{"Type":4,"Flags":0,"Description":"Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete."},"volumeBindingMode":{"Type":4,"Flags":0,"Description":"VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature."}}}},{"4":{"Name":"storage.k8s.io/StorageClass@v1","ScopeType":0,"Body":41,"Flags":0}},{"6":{"Value":"VolumeAttachment"}},{"6":{"Value":"storage.k8s.io/v1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":45,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":46,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiStorageV1VolumeAttachmentSpec","Properties":{"attacher":{"Type":4,"Flags":1,"Description":"Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()."},"nodeName":{"Type":4,"Flags":1,"Description":"The node that the volume should be attached to."},"source":{"Type":49,"Flags":1,"Description":"VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set."}}}},{"2":{"Name":"IoK8SApiStorageV1VolumeAttachmentSource","Properties":{"inlineVolumeSpec":{"Type":50,"Flags":0,"Description":"PersistentVolumeSpec is the specification of a persistent volume."},"persistentVolumeName":{"Type":4,"Flags":0,"Description":"Name of the persistent volume to attach."}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeSpec","Properties":{"accessModes":{"Type":51,"Flags":0,"Description":"AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes"},"awsElasticBlockStore":{"Type":52,"Flags":0,"Description":"Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling."},"azureDisk":{"Type":53,"Flags":0,"Description":"AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."},"azureFile":{"Type":54,"Flags":0,"Description":"AzureFile represents an Azure File Service mount on the host and bind mount to the pod."},"capacity":{"Type":55,"Flags":0,"Description":"A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity"},"cephfs":{"Type":56,"Flags":0,"Description":"Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling."},"cinder":{"Type":59,"Flags":0,"Description":"Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling."},"claimRef":{"Type":60,"Flags":0,"Description":"ObjectReference contains enough information to let you inspect or modify the referred object."},"csi":{"Type":61,"Flags":0,"Description":"Represents storage that is managed by an external CSI volume driver (Beta feature)"},"fc":{"Type":63,"Flags":0,"Description":"Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling."},"flexVolume":{"Type":66,"Flags":0,"Description":"FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin."},"flocker":{"Type":68,"Flags":0,"Description":"Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling."},"gcePersistentDisk":{"Type":69,"Flags":0,"Description":"Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling."},"glusterfs":{"Type":70,"Flags":0,"Description":"Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling."},"hostPath":{"Type":71,"Flags":0,"Description":"Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling."},"iscsi":{"Type":72,"Flags":0,"Description":"ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling."},"local":{"Type":74,"Flags":0,"Description":"Local represents directly-attached storage with node affinity (Beta feature)"},"mountOptions":{"Type":75,"Flags":0,"Description":"A list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options"},"nfs":{"Type":76,"Flags":0,"Description":"Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling."},"nodeAffinity":{"Type":77,"Flags":0,"Description":"VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from."},"persistentVolumeReclaimPolicy":{"Type":4,"Flags":0,"Description":"What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming"},"photonPersistentDisk":{"Type":85,"Flags":0,"Description":"Represents a Photon Controller persistent disk resource."},"portworxVolume":{"Type":86,"Flags":0,"Description":"PortworxVolumeSource represents a Portworx volume resource."},"quobyte":{"Type":87,"Flags":0,"Description":"Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling."},"rbd":{"Type":88,"Flags":0,"Description":"Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling."},"scaleIO":{"Type":90,"Flags":0,"Description":"ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume"},"storageClassName":{"Type":4,"Flags":0,"Description":"Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass."},"storageos":{"Type":91,"Flags":0,"Description":"Represents a StorageOS persistent volume resource."},"volumeMode":{"Type":4,"Flags":0,"Description":"volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec."},"vsphereVolume":{"Type":92,"Flags":0,"Description":"Represents a vSphere volume resource."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1AWSElasticBlockStoreVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"},"partition":{"Type":3,"Flags":0,"Description":"The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty)."},"readOnly":{"Type":2,"Flags":0,"Description":"Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"},"volumeID":{"Type":4,"Flags":1,"Description":"Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"}}}},{"2":{"Name":"IoK8SApiCoreV1AzureDiskVolumeSource","Properties":{"cachingMode":{"Type":4,"Flags":0,"Description":"Host Caching mode: None, Read Only, Read Write."},"diskName":{"Type":4,"Flags":1,"Description":"The Name of the data disk in the blob storage"},"diskURI":{"Type":4,"Flags":1,"Description":"The URI the data disk in the blob storage"},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"kind":{"Type":4,"Flags":0,"Description":"Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared"},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."}}}},{"2":{"Name":"IoK8SApiCoreV1AzureFilePersistentVolumeSource","Properties":{"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretName":{"Type":4,"Flags":1,"Description":"the name of secret that contains Azure Storage Account Name and Key"},"secretNamespace":{"Type":4,"Flags":0,"Description":"the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod"},"shareName":{"Type":4,"Flags":1,"Description":"Share Name"}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeSpecCapacity","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1CephFSPersistentVolumeSource","Properties":{"monitors":{"Type":57,"Flags":1,"Description":"Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"path":{"Type":4,"Flags":0,"Description":"Optional: Used as the mounted root, rather than the full Ceph tree, default is /"},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"secretFile":{"Type":4,"Flags":0,"Description":"Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"secretRef":{"Type":58,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"user":{"Type":4,"Flags":0,"Description":"Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1SecretReference","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name is unique within a namespace to reference a secret resource."},"namespace":{"Type":4,"Flags":0,"Description":"Namespace defines the space within which the secret name must be unique."}}}},{"2":{"Name":"IoK8SApiCoreV1CinderPersistentVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"},"secretRef":{"Type":58,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"volumeID":{"Type":4,"Flags":1,"Description":"volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"}}}},{"2":{"Name":"IoK8SApiCoreV1ObjectReference","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"API version of the referent."},"fieldPath":{"Type":4,"Flags":0,"Description":"If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object."},"kind":{"Type":4,"Flags":0,"Description":"Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"namespace":{"Type":4,"Flags":0,"Description":"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"},"resourceVersion":{"Type":4,"Flags":0,"Description":"Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"},"uid":{"Type":4,"Flags":0,"Description":"UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids"}}}},{"2":{"Name":"IoK8SApiCoreV1CSIPersistentVolumeSource","Properties":{"controllerExpandSecretRef":{"Type":58,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"controllerPublishSecretRef":{"Type":58,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"driver":{"Type":4,"Flags":1,"Description":"Driver is the name of the driver to use for this volume. Required."},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\"."},"nodePublishSecretRef":{"Type":58,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"nodeStageSecretRef":{"Type":58,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write)."},"volumeAttributes":{"Type":62,"Flags":0,"Description":"Attributes of the volume to publish."},"volumeHandle":{"Type":4,"Flags":1,"Description":"VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required."}}}},{"2":{"Name":"IoK8SApiCoreV1CSIPersistentVolumeSourceVolumeAttributes","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1FCVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"lun":{"Type":3,"Flags":0,"Description":"Optional: FC target lun number"},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"targetWWNs":{"Type":64,"Flags":0,"Description":"Optional: FC target worldwide names (WWNs)"},"wwids":{"Type":65,"Flags":0,"Description":"Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1FlexPersistentVolumeSource","Properties":{"driver":{"Type":4,"Flags":1,"Description":"Driver is the name of the driver to use for this volume."},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script."},"options":{"Type":67,"Flags":0,"Description":"Optional: Extra command options if any."},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":58,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"}}}},{"2":{"Name":"IoK8SApiCoreV1FlexPersistentVolumeSourceOptions","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1FlockerVolumeSource","Properties":{"datasetName":{"Type":4,"Flags":0,"Description":"Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated"},"datasetUUID":{"Type":4,"Flags":0,"Description":"UUID of the dataset. This is unique identifier of a Flocker dataset"}}}},{"2":{"Name":"IoK8SApiCoreV1GCEPersistentDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"partition":{"Type":3,"Flags":0,"Description":"The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"pdName":{"Type":4,"Flags":1,"Description":"Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"}}}},{"2":{"Name":"IoK8SApiCoreV1GlusterfsPersistentVolumeSource","Properties":{"endpoints":{"Type":4,"Flags":1,"Description":"EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"endpointsNamespace":{"Type":4,"Flags":0,"Description":"EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"path":{"Type":4,"Flags":1,"Description":"Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"}}}},{"2":{"Name":"IoK8SApiCoreV1HostPathVolumeSource","Properties":{"path":{"Type":4,"Flags":1,"Description":"Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"},"type":{"Type":4,"Flags":0,"Description":"Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"}}}},{"2":{"Name":"IoK8SApiCoreV1IscsiPersistentVolumeSource","Properties":{"chapAuthDiscovery":{"Type":2,"Flags":0,"Description":"whether support iSCSI Discovery CHAP authentication"},"chapAuthSession":{"Type":2,"Flags":0,"Description":"whether support iSCSI Session CHAP authentication"},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi"},"initiatorName":{"Type":4,"Flags":0,"Description":"Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection."},"iqn":{"Type":4,"Flags":1,"Description":"Target iSCSI Qualified Name."},"iscsiInterface":{"Type":4,"Flags":0,"Description":"iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."},"lun":{"Type":3,"Flags":1,"Description":"iSCSI Target Lun number."},"portals":{"Type":73,"Flags":0,"Description":"iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."},"secretRef":{"Type":58,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"targetPortal":{"Type":4,"Flags":1,"Description":"iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1LocalVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a fileystem if unspecified."},"path":{"Type":4,"Flags":1,"Description":"The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...)."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1NFSVolumeSource","Properties":{"path":{"Type":4,"Flags":1,"Description":"Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"},"server":{"Type":4,"Flags":1,"Description":"Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"}}}},{"2":{"Name":"IoK8SApiCoreV1VolumeNodeAffinity","Properties":{"required":{"Type":78,"Flags":0,"Description":"A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelector","Properties":{"nodeSelectorTerms":{"Type":84,"Flags":1,"Description":"Required. A list of node selector terms. The terms are ORed."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelectorTerm","Properties":{"matchExpressions":{"Type":82,"Flags":0,"Description":"A list of node selector requirements by node's labels."},"matchFields":{"Type":83,"Flags":0,"Description":"A list of node selector requirements by node's fields."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"The label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."},"values":{"Type":81,"Flags":0,"Description":"An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":80}},{"3":{"ItemType":80}},{"3":{"ItemType":79}},{"2":{"Name":"IoK8SApiCoreV1PhotonPersistentDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"pdID":{"Type":4,"Flags":1,"Description":"ID that identifies Photon Controller persistent disk"}}}},{"2":{"Name":"IoK8SApiCoreV1PortworxVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified."},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"volumeID":{"Type":4,"Flags":1,"Description":"VolumeID uniquely identifies a Portworx volume"}}}},{"2":{"Name":"IoK8SApiCoreV1QuobyteVolumeSource","Properties":{"group":{"Type":4,"Flags":0,"Description":"Group to map volume access to Default is no group"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false."},"registry":{"Type":4,"Flags":1,"Description":"Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes"},"tenant":{"Type":4,"Flags":0,"Description":"Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin"},"user":{"Type":4,"Flags":0,"Description":"User to map volume access to Defaults to serivceaccount user"},"volume":{"Type":4,"Flags":1,"Description":"Volume is a string that references an already created Quobyte volume by name."}}}},{"2":{"Name":"IoK8SApiCoreV1RBDPersistentVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd"},"image":{"Type":4,"Flags":1,"Description":"The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"keyring":{"Type":4,"Flags":0,"Description":"Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"monitors":{"Type":89,"Flags":1,"Description":"A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"pool":{"Type":4,"Flags":0,"Description":"The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"secretRef":{"Type":58,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"user":{"Type":4,"Flags":0,"Description":"The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1ScaleIOPersistentVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\""},"gateway":{"Type":4,"Flags":1,"Description":"The host address of the ScaleIO API Gateway."},"protectionDomain":{"Type":4,"Flags":0,"Description":"The name of the ScaleIO Protection Domain for the configured storage."},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":58,"Flags":1,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"sslEnabled":{"Type":2,"Flags":0,"Description":"Flag to enable/disable SSL communication with Gateway, default false"},"storageMode":{"Type":4,"Flags":0,"Description":"Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned."},"storagePool":{"Type":4,"Flags":0,"Description":"The ScaleIO Storage Pool associated with the protection domain."},"system":{"Type":4,"Flags":1,"Description":"The name of the storage system as configured in ScaleIO."},"volumeName":{"Type":4,"Flags":0,"Description":"The name of a volume already created in the ScaleIO system that is associated with this volume source."}}}},{"2":{"Name":"IoK8SApiCoreV1StorageOSPersistentVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":60,"Flags":0,"Description":"ObjectReference contains enough information to let you inspect or modify the referred object."},"volumeName":{"Type":4,"Flags":0,"Description":"VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace."},"volumeNamespace":{"Type":4,"Flags":0,"Description":"VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created."}}}},{"2":{"Name":"IoK8SApiCoreV1VsphereVirtualDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"storagePolicyID":{"Type":4,"Flags":0,"Description":"Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName."},"storagePolicyName":{"Type":4,"Flags":0,"Description":"Storage Policy Based Management (SPBM) profile name."},"volumePath":{"Type":4,"Flags":1,"Description":"Path that identifies vSphere volume vmdk"}}}},{"2":{"Name":"IoK8SApiStorageV1VolumeAttachmentStatus","Properties":{"attachError":{"Type":94,"Flags":0,"Description":"VolumeError captures an error encountered during a volume operation."},"attached":{"Type":2,"Flags":1,"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."},"attachmentMetadata":{"Type":95,"Flags":0,"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."},"detachError":{"Type":94,"Flags":0,"Description":"VolumeError captures an error encountered during a volume operation."}}}},{"2":{"Name":"IoK8SApiStorageV1VolumeError","Properties":{"message":{"Type":4,"Flags":0,"Description":"String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information."},"time":{"Type":4,"Flags":0,"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."}}}},{"2":{"Name":"IoK8SApiStorageV1VolumeAttachmentStatusAttachmentMetadata","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"storage.k8s.io/VolumeAttachment","Properties":{"kind":{"Type":43,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":44,"Flags":10,"Description":"The api version."},"metadata":{"Type":47,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":48,"Flags":1,"Description":"VolumeAttachmentSpec is the specification of a VolumeAttachment request."},"status":{"Type":93,"Flags":0,"Description":"VolumeAttachmentStatus is the status of a VolumeAttachment request."}}}},{"4":{"Name":"storage.k8s.io/VolumeAttachment@v1","ScopeType":0,"Body":96,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "CSIDriver" + }, + { + "$type": "StringLiteralType", + "value": "storage.k8s.io/v1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1CSIDriverSpec", + "properties": { + "attachRequired": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called." + }, + "fsGroupPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate." + }, + "podInfoOnMount": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" iff the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver." + }, + "storageCapacity": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "If set to true, storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information.\n\nThe check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.\n\nAlternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published.\n\nThis is an alpha field and only available when the CSIStorageCapacity feature is enabled. The default is false." + }, + "volumeLifecycleModes": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is \"Persistent\", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is \"Ephemeral\". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future. This field is beta." + } + } + }, + { + "$type": "BooleanType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "storage.k8s.io/CSIDriver", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 1, + "description": "CSIDriverSpec is the specification of a CSIDriver." + } + } + }, + { + "$type": "ResourceType", + "name": "storage.k8s.io/CSIDriver@v1", + "scopeType": 0, + "body": { + "$ref": "#/9" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "CSINode" + }, + { + "$type": "StringLiteralType", + "value": "storage.k8s.io/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1CSINodeSpec", + "properties": { + "drivers": { + "type": { + "$ref": "#/21" + }, + "flags": 1, + "description": "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1CSINodeDriver", + "properties": { + "allocatable": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "VolumeNodeResources is a set of resource limits for scheduling of volumes." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver." + }, + "nodeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required." + }, + "topologyKeys": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1VolumeNodeResources", + "properties": { + "count": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/17" + } + }, + { + "$type": "ObjectType", + "name": "storage.k8s.io/CSINode", + "properties": { + "kind": { + "type": { + "$ref": "#/11" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/12" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/15" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "CSINodeSpec holds information about the specification of all CSI drivers installed on a node" + } + } + }, + { + "$type": "ResourceType", + "name": "storage.k8s.io/CSINode@v1", + "scopeType": 0, + "body": { + "$ref": "#/22" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "StorageClass" + }, + { + "$type": "StringLiteralType", + "value": "storage.k8s.io/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/26" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/27" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TopologySelectorTerm", + "properties": { + "matchLabelExpressions": { + "type": { + "$ref": "#/32" + }, + "flags": 0, + "description": "A list of topology selector requirements by labels." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TopologySelectorLabelRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The label key that the selector applies to." + }, + "values": { + "type": { + "$ref": "#/31" + }, + "flags": 1, + "description": "An array of string values. One value must match the label to be selected. Each entry in Values is ORed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/30" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/29" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1StorageClassParameters", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "storage.k8s.io/StorageClass", + "properties": { + "kind": { + "type": { + "$ref": "#/24" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/25" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/28" + }, + "flags": 1, + "description": "The resource metadata." + }, + "allowVolumeExpansion": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "AllowVolumeExpansion shows whether the storage class allow volume expand" + }, + "allowedTopologies": { + "type": { + "$ref": "#/33" + }, + "flags": 0, + "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." + }, + "mountOptions": { + "type": { + "$ref": "#/34" + }, + "flags": 0, + "description": "Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid." + }, + "parameters": { + "type": { + "$ref": "#/35" + }, + "flags": 0, + "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class." + }, + "provisioner": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Provisioner indicates the type of the provisioner." + }, + "reclaimPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete." + }, + "volumeBindingMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature." + } + } + }, + { + "$type": "ResourceType", + "name": "storage.k8s.io/StorageClass@v1", + "scopeType": 0, + "body": { + "$ref": "#/36" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "VolumeAttachment" + }, + { + "$type": "StringLiteralType", + "value": "storage.k8s.io/v1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/40" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/41" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1VolumeAttachmentSpec", + "properties": { + "attacher": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()." + }, + "nodeName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The node that the volume should be attached to." + }, + "source": { + "type": { + "$ref": "#/44" + }, + "flags": 1, + "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1VolumeAttachmentSource", + "properties": { + "inlineVolumeSpec": { + "type": { + "$ref": "#/45" + }, + "flags": 0, + "description": "PersistentVolumeSpec is the specification of a persistent volume." + }, + "persistentVolumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the persistent volume to attach." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeSpec", + "properties": { + "accessModes": { + "type": { + "$ref": "#/46" + }, + "flags": 0, + "description": "AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes" + }, + "awsElasticBlockStore": { + "type": { + "$ref": "#/47" + }, + "flags": 0, + "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling." + }, + "azureDisk": { + "type": { + "$ref": "#/48" + }, + "flags": 0, + "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." + }, + "azureFile": { + "type": { + "$ref": "#/49" + }, + "flags": 0, + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod." + }, + "capacity": { + "type": { + "$ref": "#/50" + }, + "flags": 0, + "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity" + }, + "cephfs": { + "type": { + "$ref": "#/51" + }, + "flags": 0, + "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling." + }, + "cinder": { + "type": { + "$ref": "#/54" + }, + "flags": 0, + "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling." + }, + "claimRef": { + "type": { + "$ref": "#/55" + }, + "flags": 0, + "description": "ObjectReference contains enough information to let you inspect or modify the referred object." + }, + "csi": { + "type": { + "$ref": "#/56" + }, + "flags": 0, + "description": "Represents storage that is managed by an external CSI volume driver (Beta feature)" + }, + "fc": { + "type": { + "$ref": "#/58" + }, + "flags": 0, + "description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling." + }, + "flexVolume": { + "type": { + "$ref": "#/61" + }, + "flags": 0, + "description": "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin." + }, + "flocker": { + "type": { + "$ref": "#/63" + }, + "flags": 0, + "description": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling." + }, + "gcePersistentDisk": { + "type": { + "$ref": "#/64" + }, + "flags": 0, + "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling." + }, + "glusterfs": { + "type": { + "$ref": "#/65" + }, + "flags": 0, + "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling." + }, + "hostPath": { + "type": { + "$ref": "#/66" + }, + "flags": 0, + "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling." + }, + "iscsi": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling." + }, + "local": { + "type": { + "$ref": "#/69" + }, + "flags": 0, + "description": "Local represents directly-attached storage with node affinity (Beta feature)" + }, + "mountOptions": { + "type": { + "$ref": "#/70" + }, + "flags": 0, + "description": "A list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options" + }, + "nfs": { + "type": { + "$ref": "#/71" + }, + "flags": 0, + "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling." + }, + "nodeAffinity": { + "type": { + "$ref": "#/72" + }, + "flags": 0, + "description": "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from." + }, + "persistentVolumeReclaimPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming" + }, + "photonPersistentDisk": { + "type": { + "$ref": "#/80" + }, + "flags": 0, + "description": "Represents a Photon Controller persistent disk resource." + }, + "portworxVolume": { + "type": { + "$ref": "#/81" + }, + "flags": 0, + "description": "PortworxVolumeSource represents a Portworx volume resource." + }, + "quobyte": { + "type": { + "$ref": "#/82" + }, + "flags": 0, + "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling." + }, + "rbd": { + "type": { + "$ref": "#/83" + }, + "flags": 0, + "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling." + }, + "scaleIO": { + "type": { + "$ref": "#/85" + }, + "flags": 0, + "description": "ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume" + }, + "storageClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass." + }, + "storageos": { + "type": { + "$ref": "#/86" + }, + "flags": 0, + "description": "Represents a StorageOS persistent volume resource." + }, + "volumeMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec." + }, + "vsphereVolume": { + "type": { + "$ref": "#/87" + }, + "flags": 0, + "description": "Represents a vSphere volume resource." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AWSElasticBlockStoreVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + }, + "partition": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty)." + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AzureDiskVolumeSource", + "properties": { + "cachingMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Host Caching mode: None, Read Only, Read Write." + }, + "diskName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The Name of the data disk in the blob storage" + }, + "diskURI": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The URI the data disk in the blob storage" + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AzureFilePersistentVolumeSource", + "properties": { + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "the name of secret that contains Azure Storage Account Name and Key" + }, + "secretNamespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod" + }, + "shareName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Share Name" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeSpecCapacity", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CephFSPersistentVolumeSource", + "properties": { + "monitors": { + "type": { + "$ref": "#/52" + }, + "flags": 1, + "description": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "secretFile": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "secretRef": { + "type": { + "$ref": "#/53" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretReference", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name is unique within a namespace to reference a secret resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace defines the space within which the secret name must be unique." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CinderPersistentVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + }, + "secretRef": { + "type": { + "$ref": "#/53" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ObjectReference", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "API version of the referent." + }, + "fieldPath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + }, + "resourceVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CSIPersistentVolumeSource", + "properties": { + "controllerExpandSecretRef": { + "type": { + "$ref": "#/53" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "controllerPublishSecretRef": { + "type": { + "$ref": "#/53" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "driver": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Driver is the name of the driver to use for this volume. Required." + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\"." + }, + "nodePublishSecretRef": { + "type": { + "$ref": "#/53" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "nodeStageSecretRef": { + "type": { + "$ref": "#/53" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write)." + }, + "volumeAttributes": { + "type": { + "$ref": "#/57" + }, + "flags": 0, + "description": "Attributes of the volume to publish." + }, + "volumeHandle": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CSIPersistentVolumeSourceVolumeAttributes", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FCVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "lun": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "Optional: FC target lun number" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "targetWWNs": { + "type": { + "$ref": "#/59" + }, + "flags": 0, + "description": "Optional: FC target worldwide names (WWNs)" + }, + "wwids": { + "type": { + "$ref": "#/60" + }, + "flags": 0, + "description": "Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlexPersistentVolumeSource", + "properties": { + "driver": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Driver is the name of the driver to use for this volume." + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script." + }, + "options": { + "type": { + "$ref": "#/62" + }, + "flags": 0, + "description": "Optional: Extra command options if any." + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/53" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlexPersistentVolumeSourceOptions", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlockerVolumeSource", + "properties": { + "datasetName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated" + }, + "datasetUUID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UUID of the dataset. This is unique identifier of a Flocker dataset" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GCEPersistentDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "partition": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "pdName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GlusterfsPersistentVolumeSource", + "properties": { + "endpoints": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "endpointsNamespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HostPathVolumeSource", + "properties": { + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1IscsiPersistentVolumeSource", + "properties": { + "chapAuthDiscovery": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "whether support iSCSI Discovery CHAP authentication" + }, + "chapAuthSession": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "whether support iSCSI Session CHAP authentication" + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi" + }, + "initiatorName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection." + }, + "iqn": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Target iSCSI Qualified Name." + }, + "iscsiInterface": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)." + }, + "lun": { + "type": { + "$ref": "#/19" + }, + "flags": 1, + "description": "iSCSI Target Lun number." + }, + "portals": { + "type": { + "$ref": "#/68" + }, + "flags": 0, + "description": "iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)." + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false." + }, + "secretRef": { + "type": { + "$ref": "#/53" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "targetPortal": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LocalVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a fileystem if unspecified." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...)." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NFSVolumeSource", + "properties": { + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + }, + "server": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeNodeAffinity", + "properties": { + "required": { + "type": { + "$ref": "#/73" + }, + "flags": 0, + "description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelector", + "properties": { + "nodeSelectorTerms": { + "type": { + "$ref": "#/79" + }, + "flags": 1, + "description": "Required. A list of node selector terms. The terms are ORed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelectorTerm", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/77" + }, + "flags": 0, + "description": "A list of node selector requirements by node's labels." + }, + "matchFields": { + "type": { + "$ref": "#/78" + }, + "flags": 0, + "description": "A list of node selector requirements by node's fields." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + }, + "values": { + "type": { + "$ref": "#/76" + }, + "flags": 0, + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/75" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/75" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/74" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PhotonPersistentDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "pdID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "ID that identifies Photon Controller persistent disk" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PortworxVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "VolumeID uniquely identifies a Portworx volume" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1QuobyteVolumeSource", + "properties": { + "group": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Group to map volume access to Default is no group" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false." + }, + "registry": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes" + }, + "tenant": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin" + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "User to map volume access to Defaults to serivceaccount user" + }, + "volume": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Volume is a string that references an already created Quobyte volume by name." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1RBDPersistentVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd" + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "keyring": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "monitors": { + "type": { + "$ref": "#/84" + }, + "flags": 1, + "description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "pool": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "secretRef": { + "type": { + "$ref": "#/53" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ScaleIOPersistentVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"" + }, + "gateway": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The host address of the ScaleIO API Gateway." + }, + "protectionDomain": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The name of the ScaleIO Protection Domain for the configured storage." + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/53" + }, + "flags": 1, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "sslEnabled": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Flag to enable/disable SSL communication with Gateway, default false" + }, + "storageMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned." + }, + "storagePool": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The ScaleIO Storage Pool associated with the protection domain." + }, + "system": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The name of the storage system as configured in ScaleIO." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The name of a volume already created in the ScaleIO system that is associated with this volume source." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1StorageOSPersistentVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/55" + }, + "flags": 0, + "description": "ObjectReference contains enough information to let you inspect or modify the referred object." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace." + }, + "volumeNamespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VsphereVirtualDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "storagePolicyID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName." + }, + "storagePolicyName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Storage Policy Based Management (SPBM) profile name." + }, + "volumePath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path that identifies vSphere volume vmdk" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1VolumeAttachmentStatus", + "properties": { + "attachError": { + "type": { + "$ref": "#/89" + }, + "flags": 0, + "description": "VolumeError captures an error encountered during a volume operation." + }, + "attached": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "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." + }, + "attachmentMetadata": { + "type": { + "$ref": "#/90" + }, + "flags": 0, + "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." + }, + "detachError": { + "type": { + "$ref": "#/89" + }, + "flags": 0, + "description": "VolumeError captures an error encountered during a volume operation." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1VolumeError", + "properties": { + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information." + }, + "time": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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": "ObjectType", + "name": "IoK8SApiStorageV1VolumeAttachmentStatusAttachmentMetadata", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "storage.k8s.io/VolumeAttachment", + "properties": { + "kind": { + "type": { + "$ref": "#/38" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/39" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/42" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/43" + }, + "flags": 1, + "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request." + }, + "status": { + "type": { + "$ref": "#/88" + }, + "flags": 0, + "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request." + } + } + }, + { + "$type": "ResourceType", + "name": "storage.k8s.io/VolumeAttachment@v1", + "scopeType": 0, + "body": { + "$ref": "#/91" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/autorest.bicep/test/integration/generated/kubernetes/storage.k8s.io/v1beta1/types.json b/src/autorest.bicep/test/integration/generated/kubernetes/storage.k8s.io/v1beta1/types.json index 712f5fdd..a06150b2 100644 --- a/src/autorest.bicep/test/integration/generated/kubernetes/storage.k8s.io/v1beta1/types.json +++ b/src/autorest.bicep/test/integration/generated/kubernetes/storage.k8s.io/v1beta1/types.json @@ -1 +1,2078 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"CSIDriver"}},{"6":{"Value":"storage.k8s.io/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":10,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":11,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiStorageV1Beta1CSIDriverSpec","Properties":{"attachRequired":{"Type":2,"Flags":0,"Description":"attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called."},"fsGroupPolicy":{"Type":4,"Flags":0,"Description":"Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate."},"podInfoOnMount":{"Type":2,"Flags":0,"Description":"If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" iff the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver."},"storageCapacity":{"Type":2,"Flags":0,"Description":"If set to true, storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information.\n\nThe check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.\n\nAlternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published.\n\nThis is an alpha field and only available when the CSIStorageCapacity feature is enabled. The default is false."},"volumeLifecycleModes":{"Type":14,"Flags":0,"Description":"VolumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is \"Persistent\", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is \"Ephemeral\". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future."}}}},{"3":{"ItemType":4}},{"2":{"Name":"storage.k8s.io/CSIDriver","Properties":{"kind":{"Type":8,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":9,"Flags":10,"Description":"The api version."},"metadata":{"Type":12,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":13,"Flags":1,"Description":"CSIDriverSpec is the specification of a CSIDriver."}}}},{"4":{"Name":"storage.k8s.io/CSIDriver@v1beta1","ScopeType":0,"Body":15,"Flags":0}},{"6":{"Value":"CSINode"}},{"6":{"Value":"storage.k8s.io/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":19,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":20,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiStorageV1Beta1CSINodeSpec","Properties":{"drivers":{"Type":26,"Flags":1,"Description":"drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty."}}}},{"2":{"Name":"IoK8SApiStorageV1Beta1CSINodeDriver","Properties":{"allocatable":{"Type":24,"Flags":0,"Description":"VolumeNodeResources is a set of resource limits for scheduling of volumes."},"name":{"Type":4,"Flags":1,"Description":"This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver."},"nodeID":{"Type":4,"Flags":1,"Description":"nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required."},"topologyKeys":{"Type":25,"Flags":0,"Description":"topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology."}}}},{"2":{"Name":"IoK8SApiStorageV1Beta1VolumeNodeResources","Properties":{"count":{"Type":3,"Flags":0,"Description":"Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":23}},{"2":{"Name":"storage.k8s.io/CSINode","Properties":{"kind":{"Type":17,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":18,"Flags":10,"Description":"The api version."},"metadata":{"Type":21,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":22,"Flags":1,"Description":"CSINodeSpec holds information about the specification of all CSI drivers installed on a node"}}}},{"4":{"Name":"storage.k8s.io/CSINode@v1beta1","ScopeType":0,"Body":27,"Flags":0}},{"6":{"Value":"StorageClass"}},{"6":{"Value":"storage.k8s.io/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":31,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":32,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiCoreV1TopologySelectorTerm","Properties":{"matchLabelExpressions":{"Type":37,"Flags":0,"Description":"A list of topology selector requirements by labels."}}}},{"2":{"Name":"IoK8SApiCoreV1TopologySelectorLabelRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"The label key that the selector applies to."},"values":{"Type":36,"Flags":1,"Description":"An array of string values. One value must match the label to be selected. Each entry in Values is ORed."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":35}},{"3":{"ItemType":34}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiStorageV1Beta1StorageClassParameters","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"storage.k8s.io/StorageClass","Properties":{"kind":{"Type":29,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":30,"Flags":10,"Description":"The api version."},"metadata":{"Type":33,"Flags":1,"Description":"The resource metadata."},"allowVolumeExpansion":{"Type":2,"Flags":0,"Description":"AllowVolumeExpansion shows whether the storage class allow volume expand"},"allowedTopologies":{"Type":38,"Flags":0,"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."},"mountOptions":{"Type":39,"Flags":0,"Description":"Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid."},"parameters":{"Type":40,"Flags":0,"Description":"Parameters holds the parameters for the provisioner that should create volumes of this storage class."},"provisioner":{"Type":4,"Flags":1,"Description":"Provisioner indicates the type of the provisioner."},"reclaimPolicy":{"Type":4,"Flags":0,"Description":"Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete."},"volumeBindingMode":{"Type":4,"Flags":0,"Description":"VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature."}}}},{"4":{"Name":"storage.k8s.io/StorageClass@v1beta1","ScopeType":0,"Body":41,"Flags":0}},{"6":{"Value":"VolumeAttachment"}},{"6":{"Value":"storage.k8s.io/v1beta1"}},{"2":{"Name":"labels","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"annotations","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"metadata","Properties":{"name":{"Type":4,"Flags":9,"Description":"The name of the resource."},"labels":{"Type":45,"Flags":0,"Description":"The labels for the resource."},"annotations":{"Type":46,"Flags":0,"Description":"The annotations for the resource."}}}},{"2":{"Name":"IoK8SApiStorageV1Beta1VolumeAttachmentSpec","Properties":{"attacher":{"Type":4,"Flags":1,"Description":"Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()."},"nodeName":{"Type":4,"Flags":1,"Description":"The node that the volume should be attached to."},"source":{"Type":49,"Flags":1,"Description":"VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set."}}}},{"2":{"Name":"IoK8SApiStorageV1Beta1VolumeAttachmentSource","Properties":{"inlineVolumeSpec":{"Type":50,"Flags":0,"Description":"PersistentVolumeSpec is the specification of a persistent volume."},"persistentVolumeName":{"Type":4,"Flags":0,"Description":"Name of the persistent volume to attach."}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeSpec","Properties":{"accessModes":{"Type":51,"Flags":0,"Description":"AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes"},"awsElasticBlockStore":{"Type":52,"Flags":0,"Description":"Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling."},"azureDisk":{"Type":53,"Flags":0,"Description":"AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."},"azureFile":{"Type":54,"Flags":0,"Description":"AzureFile represents an Azure File Service mount on the host and bind mount to the pod."},"capacity":{"Type":55,"Flags":0,"Description":"A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity"},"cephfs":{"Type":56,"Flags":0,"Description":"Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling."},"cinder":{"Type":59,"Flags":0,"Description":"Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling."},"claimRef":{"Type":60,"Flags":0,"Description":"ObjectReference contains enough information to let you inspect or modify the referred object."},"csi":{"Type":61,"Flags":0,"Description":"Represents storage that is managed by an external CSI volume driver (Beta feature)"},"fc":{"Type":63,"Flags":0,"Description":"Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling."},"flexVolume":{"Type":66,"Flags":0,"Description":"FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin."},"flocker":{"Type":68,"Flags":0,"Description":"Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling."},"gcePersistentDisk":{"Type":69,"Flags":0,"Description":"Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling."},"glusterfs":{"Type":70,"Flags":0,"Description":"Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling."},"hostPath":{"Type":71,"Flags":0,"Description":"Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling."},"iscsi":{"Type":72,"Flags":0,"Description":"ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling."},"local":{"Type":74,"Flags":0,"Description":"Local represents directly-attached storage with node affinity (Beta feature)"},"mountOptions":{"Type":75,"Flags":0,"Description":"A list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options"},"nfs":{"Type":76,"Flags":0,"Description":"Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling."},"nodeAffinity":{"Type":77,"Flags":0,"Description":"VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from."},"persistentVolumeReclaimPolicy":{"Type":4,"Flags":0,"Description":"What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming"},"photonPersistentDisk":{"Type":85,"Flags":0,"Description":"Represents a Photon Controller persistent disk resource."},"portworxVolume":{"Type":86,"Flags":0,"Description":"PortworxVolumeSource represents a Portworx volume resource."},"quobyte":{"Type":87,"Flags":0,"Description":"Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling."},"rbd":{"Type":88,"Flags":0,"Description":"Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling."},"scaleIO":{"Type":90,"Flags":0,"Description":"ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume"},"storageClassName":{"Type":4,"Flags":0,"Description":"Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass."},"storageos":{"Type":91,"Flags":0,"Description":"Represents a StorageOS persistent volume resource."},"volumeMode":{"Type":4,"Flags":0,"Description":"volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec."},"vsphereVolume":{"Type":92,"Flags":0,"Description":"Represents a vSphere volume resource."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1AWSElasticBlockStoreVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"},"partition":{"Type":3,"Flags":0,"Description":"The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty)."},"readOnly":{"Type":2,"Flags":0,"Description":"Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"},"volumeID":{"Type":4,"Flags":1,"Description":"Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"}}}},{"2":{"Name":"IoK8SApiCoreV1AzureDiskVolumeSource","Properties":{"cachingMode":{"Type":4,"Flags":0,"Description":"Host Caching mode: None, Read Only, Read Write."},"diskName":{"Type":4,"Flags":1,"Description":"The Name of the data disk in the blob storage"},"diskURI":{"Type":4,"Flags":1,"Description":"The URI the data disk in the blob storage"},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"kind":{"Type":4,"Flags":0,"Description":"Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared"},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."}}}},{"2":{"Name":"IoK8SApiCoreV1AzureFilePersistentVolumeSource","Properties":{"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretName":{"Type":4,"Flags":1,"Description":"the name of secret that contains Azure Storage Account Name and Key"},"secretNamespace":{"Type":4,"Flags":0,"Description":"the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod"},"shareName":{"Type":4,"Flags":1,"Description":"Share Name"}}}},{"2":{"Name":"IoK8SApiCoreV1PersistentVolumeSpecCapacity","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1CephFSPersistentVolumeSource","Properties":{"monitors":{"Type":57,"Flags":1,"Description":"Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"path":{"Type":4,"Flags":0,"Description":"Optional: Used as the mounted root, rather than the full Ceph tree, default is /"},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"secretFile":{"Type":4,"Flags":0,"Description":"Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"},"secretRef":{"Type":58,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"user":{"Type":4,"Flags":0,"Description":"Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1SecretReference","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name is unique within a namespace to reference a secret resource."},"namespace":{"Type":4,"Flags":0,"Description":"Namespace defines the space within which the secret name must be unique."}}}},{"2":{"Name":"IoK8SApiCoreV1CinderPersistentVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"},"secretRef":{"Type":58,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"volumeID":{"Type":4,"Flags":1,"Description":"volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"}}}},{"2":{"Name":"IoK8SApiCoreV1ObjectReference","Properties":{"apiVersion":{"Type":4,"Flags":0,"Description":"API version of the referent."},"fieldPath":{"Type":4,"Flags":0,"Description":"If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object."},"kind":{"Type":4,"Flags":0,"Description":"Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"},"name":{"Type":4,"Flags":0,"Description":"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"},"namespace":{"Type":4,"Flags":0,"Description":"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"},"resourceVersion":{"Type":4,"Flags":0,"Description":"Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"},"uid":{"Type":4,"Flags":0,"Description":"UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids"}}}},{"2":{"Name":"IoK8SApiCoreV1CSIPersistentVolumeSource","Properties":{"controllerExpandSecretRef":{"Type":58,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"controllerPublishSecretRef":{"Type":58,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"driver":{"Type":4,"Flags":1,"Description":"Driver is the name of the driver to use for this volume. Required."},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\"."},"nodePublishSecretRef":{"Type":58,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"nodeStageSecretRef":{"Type":58,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write)."},"volumeAttributes":{"Type":62,"Flags":0,"Description":"Attributes of the volume to publish."},"volumeHandle":{"Type":4,"Flags":1,"Description":"VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required."}}}},{"2":{"Name":"IoK8SApiCoreV1CSIPersistentVolumeSourceVolumeAttributes","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1FCVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"lun":{"Type":3,"Flags":0,"Description":"Optional: FC target lun number"},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"targetWWNs":{"Type":64,"Flags":0,"Description":"Optional: FC target worldwide names (WWNs)"},"wwids":{"Type":65,"Flags":0,"Description":"Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1FlexPersistentVolumeSource","Properties":{"driver":{"Type":4,"Flags":1,"Description":"Driver is the name of the driver to use for this volume."},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script."},"options":{"Type":67,"Flags":0,"Description":"Optional: Extra command options if any."},"readOnly":{"Type":2,"Flags":0,"Description":"Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":58,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"}}}},{"2":{"Name":"IoK8SApiCoreV1FlexPersistentVolumeSourceOptions","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"IoK8SApiCoreV1FlockerVolumeSource","Properties":{"datasetName":{"Type":4,"Flags":0,"Description":"Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated"},"datasetUUID":{"Type":4,"Flags":0,"Description":"UUID of the dataset. This is unique identifier of a Flocker dataset"}}}},{"2":{"Name":"IoK8SApiCoreV1GCEPersistentDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"partition":{"Type":3,"Flags":0,"Description":"The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"pdName":{"Type":4,"Flags":1,"Description":"Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"}}}},{"2":{"Name":"IoK8SApiCoreV1GlusterfsPersistentVolumeSource","Properties":{"endpoints":{"Type":4,"Flags":1,"Description":"EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"endpointsNamespace":{"Type":4,"Flags":0,"Description":"EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"path":{"Type":4,"Flags":1,"Description":"Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"}}}},{"2":{"Name":"IoK8SApiCoreV1HostPathVolumeSource","Properties":{"path":{"Type":4,"Flags":1,"Description":"Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"},"type":{"Type":4,"Flags":0,"Description":"Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"}}}},{"2":{"Name":"IoK8SApiCoreV1IscsiPersistentVolumeSource","Properties":{"chapAuthDiscovery":{"Type":2,"Flags":0,"Description":"whether support iSCSI Discovery CHAP authentication"},"chapAuthSession":{"Type":2,"Flags":0,"Description":"whether support iSCSI Session CHAP authentication"},"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi"},"initiatorName":{"Type":4,"Flags":0,"Description":"Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection."},"iqn":{"Type":4,"Flags":1,"Description":"Target iSCSI Qualified Name."},"iscsiInterface":{"Type":4,"Flags":0,"Description":"iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."},"lun":{"Type":3,"Flags":1,"Description":"iSCSI Target Lun number."},"portals":{"Type":73,"Flags":0,"Description":"iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."},"secretRef":{"Type":58,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"targetPortal":{"Type":4,"Flags":1,"Description":"iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1LocalVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a fileystem if unspecified."},"path":{"Type":4,"Flags":1,"Description":"The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...)."}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1NFSVolumeSource","Properties":{"path":{"Type":4,"Flags":1,"Description":"Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"},"server":{"Type":4,"Flags":1,"Description":"Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"}}}},{"2":{"Name":"IoK8SApiCoreV1VolumeNodeAffinity","Properties":{"required":{"Type":78,"Flags":0,"Description":"A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelector","Properties":{"nodeSelectorTerms":{"Type":84,"Flags":1,"Description":"Required. A list of node selector terms. The terms are ORed."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelectorTerm","Properties":{"matchExpressions":{"Type":82,"Flags":0,"Description":"A list of node selector requirements by node's labels."},"matchFields":{"Type":83,"Flags":0,"Description":"A list of node selector requirements by node's fields."}}}},{"2":{"Name":"IoK8SApiCoreV1NodeSelectorRequirement","Properties":{"key":{"Type":4,"Flags":1,"Description":"The label key that the selector applies to."},"operator":{"Type":4,"Flags":1,"Description":"Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."},"values":{"Type":81,"Flags":0,"Description":"An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch."}}}},{"3":{"ItemType":4}},{"3":{"ItemType":80}},{"3":{"ItemType":80}},{"3":{"ItemType":79}},{"2":{"Name":"IoK8SApiCoreV1PhotonPersistentDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"pdID":{"Type":4,"Flags":1,"Description":"ID that identifies Photon Controller persistent disk"}}}},{"2":{"Name":"IoK8SApiCoreV1PortworxVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified."},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"volumeID":{"Type":4,"Flags":1,"Description":"VolumeID uniquely identifies a Portworx volume"}}}},{"2":{"Name":"IoK8SApiCoreV1QuobyteVolumeSource","Properties":{"group":{"Type":4,"Flags":0,"Description":"Group to map volume access to Default is no group"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false."},"registry":{"Type":4,"Flags":1,"Description":"Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes"},"tenant":{"Type":4,"Flags":0,"Description":"Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin"},"user":{"Type":4,"Flags":0,"Description":"User to map volume access to Defaults to serivceaccount user"},"volume":{"Type":4,"Flags":1,"Description":"Volume is a string that references an already created Quobyte volume by name."}}}},{"2":{"Name":"IoK8SApiCoreV1RBDPersistentVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd"},"image":{"Type":4,"Flags":1,"Description":"The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"keyring":{"Type":4,"Flags":0,"Description":"Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"monitors":{"Type":89,"Flags":1,"Description":"A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"pool":{"Type":4,"Flags":0,"Description":"The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"readOnly":{"Type":2,"Flags":0,"Description":"ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"},"secretRef":{"Type":58,"Flags":0,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"user":{"Type":4,"Flags":0,"Description":"The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"}}}},{"3":{"ItemType":4}},{"2":{"Name":"IoK8SApiCoreV1ScaleIOPersistentVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\""},"gateway":{"Type":4,"Flags":1,"Description":"The host address of the ScaleIO API Gateway."},"protectionDomain":{"Type":4,"Flags":0,"Description":"The name of the ScaleIO Protection Domain for the configured storage."},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":58,"Flags":1,"Description":"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"},"sslEnabled":{"Type":2,"Flags":0,"Description":"Flag to enable/disable SSL communication with Gateway, default false"},"storageMode":{"Type":4,"Flags":0,"Description":"Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned."},"storagePool":{"Type":4,"Flags":0,"Description":"The ScaleIO Storage Pool associated with the protection domain."},"system":{"Type":4,"Flags":1,"Description":"The name of the storage system as configured in ScaleIO."},"volumeName":{"Type":4,"Flags":0,"Description":"The name of a volume already created in the ScaleIO system that is associated with this volume source."}}}},{"2":{"Name":"IoK8SApiCoreV1StorageOSPersistentVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"readOnly":{"Type":2,"Flags":0,"Description":"Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."},"secretRef":{"Type":60,"Flags":0,"Description":"ObjectReference contains enough information to let you inspect or modify the referred object."},"volumeName":{"Type":4,"Flags":0,"Description":"VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace."},"volumeNamespace":{"Type":4,"Flags":0,"Description":"VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created."}}}},{"2":{"Name":"IoK8SApiCoreV1VsphereVirtualDiskVolumeSource","Properties":{"fsType":{"Type":4,"Flags":0,"Description":"Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."},"storagePolicyID":{"Type":4,"Flags":0,"Description":"Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName."},"storagePolicyName":{"Type":4,"Flags":0,"Description":"Storage Policy Based Management (SPBM) profile name."},"volumePath":{"Type":4,"Flags":1,"Description":"Path that identifies vSphere volume vmdk"}}}},{"2":{"Name":"IoK8SApiStorageV1Beta1VolumeAttachmentStatus","Properties":{"attachError":{"Type":94,"Flags":0,"Description":"VolumeError captures an error encountered during a volume operation."},"attached":{"Type":2,"Flags":1,"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."},"attachmentMetadata":{"Type":95,"Flags":0,"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."},"detachError":{"Type":94,"Flags":0,"Description":"VolumeError captures an error encountered during a volume operation."}}}},{"2":{"Name":"IoK8SApiStorageV1Beta1VolumeError","Properties":{"message":{"Type":4,"Flags":0,"Description":"String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information."},"time":{"Type":4,"Flags":0,"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."}}}},{"2":{"Name":"IoK8SApiStorageV1Beta1VolumeAttachmentStatusAttachmentMetadata","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"storage.k8s.io/VolumeAttachment","Properties":{"kind":{"Type":43,"Flags":10,"Description":"The resource kind."},"apiVersion":{"Type":44,"Flags":10,"Description":"The api version."},"metadata":{"Type":47,"Flags":1,"Description":"The resource metadata."},"spec":{"Type":48,"Flags":1,"Description":"VolumeAttachmentSpec is the specification of a VolumeAttachment request."},"status":{"Type":93,"Flags":0,"Description":"VolumeAttachmentStatus is the status of a VolumeAttachment request."}}}},{"4":{"Name":"storage.k8s.io/VolumeAttachment@v1beta1","ScopeType":0,"Body":96,"Flags":0}}] \ No newline at end of file +[ + { + "$type": "StringLiteralType", + "value": "CSIDriver" + }, + { + "$type": "StringLiteralType", + "value": "storage.k8s.io/v1beta1" + }, + { + "$type": "StringType" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/3" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/4" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1Beta1CSIDriverSpec", + "properties": { + "attachRequired": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called." + }, + "fsGroupPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate." + }, + "podInfoOnMount": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" iff the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver." + }, + "storageCapacity": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "If set to true, storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information.\n\nThe check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.\n\nAlternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published.\n\nThis is an alpha field and only available when the CSIStorageCapacity feature is enabled. The default is false." + }, + "volumeLifecycleModes": { + "type": { + "$ref": "#/8" + }, + "flags": 0, + "description": "VolumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is \"Persistent\", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is \"Ephemeral\". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future." + } + } + }, + { + "$type": "BooleanType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "storage.k8s.io/CSIDriver", + "properties": { + "kind": { + "type": { + "$ref": "#/0" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/1" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/5" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/6" + }, + "flags": 1, + "description": "CSIDriverSpec is the specification of a CSIDriver." + } + } + }, + { + "$type": "ResourceType", + "name": "storage.k8s.io/CSIDriver@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/9" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "CSINode" + }, + { + "$type": "StringLiteralType", + "value": "storage.k8s.io/v1beta1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/13" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/14" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1Beta1CSINodeSpec", + "properties": { + "drivers": { + "type": { + "$ref": "#/21" + }, + "flags": 1, + "description": "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1Beta1CSINodeDriver", + "properties": { + "allocatable": { + "type": { + "$ref": "#/18" + }, + "flags": 0, + "description": "VolumeNodeResources is a set of resource limits for scheduling of volumes." + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver." + }, + "nodeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required." + }, + "topologyKeys": { + "type": { + "$ref": "#/20" + }, + "flags": 0, + "description": "topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1Beta1VolumeNodeResources", + "properties": { + "count": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded." + } + } + }, + { + "$type": "IntegerType" + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/17" + } + }, + { + "$type": "ObjectType", + "name": "storage.k8s.io/CSINode", + "properties": { + "kind": { + "type": { + "$ref": "#/11" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/12" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/15" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/16" + }, + "flags": 1, + "description": "CSINodeSpec holds information about the specification of all CSI drivers installed on a node" + } + } + }, + { + "$type": "ResourceType", + "name": "storage.k8s.io/CSINode@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/22" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "StorageClass" + }, + { + "$type": "StringLiteralType", + "value": "storage.k8s.io/v1beta1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/26" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/27" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TopologySelectorTerm", + "properties": { + "matchLabelExpressions": { + "type": { + "$ref": "#/32" + }, + "flags": 0, + "description": "A list of topology selector requirements by labels." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1TopologySelectorLabelRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The label key that the selector applies to." + }, + "values": { + "type": { + "$ref": "#/31" + }, + "flags": 1, + "description": "An array of string values. One value must match the label to be selected. Each entry in Values is ORed." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/30" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/29" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1Beta1StorageClassParameters", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "storage.k8s.io/StorageClass", + "properties": { + "kind": { + "type": { + "$ref": "#/24" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/25" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/28" + }, + "flags": 1, + "description": "The resource metadata." + }, + "allowVolumeExpansion": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "AllowVolumeExpansion shows whether the storage class allow volume expand" + }, + "allowedTopologies": { + "type": { + "$ref": "#/33" + }, + "flags": 0, + "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." + }, + "mountOptions": { + "type": { + "$ref": "#/34" + }, + "flags": 0, + "description": "Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid." + }, + "parameters": { + "type": { + "$ref": "#/35" + }, + "flags": 0, + "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class." + }, + "provisioner": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Provisioner indicates the type of the provisioner." + }, + "reclaimPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete." + }, + "volumeBindingMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature." + } + } + }, + { + "$type": "ResourceType", + "name": "storage.k8s.io/StorageClass@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/36" + }, + "flags": 0 + }, + { + "$type": "StringLiteralType", + "value": "VolumeAttachment" + }, + { + "$type": "StringLiteralType", + "value": "storage.k8s.io/v1beta1" + }, + { + "$type": "ObjectType", + "name": "labels", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "annotations", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "metadata", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 9, + "description": "The name of the resource." + }, + "labels": { + "type": { + "$ref": "#/40" + }, + "flags": 0, + "description": "The labels for the resource." + }, + "annotations": { + "type": { + "$ref": "#/41" + }, + "flags": 0, + "description": "The annotations for the resource." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1Beta1VolumeAttachmentSpec", + "properties": { + "attacher": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()." + }, + "nodeName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The node that the volume should be attached to." + }, + "source": { + "type": { + "$ref": "#/44" + }, + "flags": 1, + "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1Beta1VolumeAttachmentSource", + "properties": { + "inlineVolumeSpec": { + "type": { + "$ref": "#/45" + }, + "flags": 0, + "description": "PersistentVolumeSpec is the specification of a persistent volume." + }, + "persistentVolumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the persistent volume to attach." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeSpec", + "properties": { + "accessModes": { + "type": { + "$ref": "#/46" + }, + "flags": 0, + "description": "AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes" + }, + "awsElasticBlockStore": { + "type": { + "$ref": "#/47" + }, + "flags": 0, + "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling." + }, + "azureDisk": { + "type": { + "$ref": "#/48" + }, + "flags": 0, + "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." + }, + "azureFile": { + "type": { + "$ref": "#/49" + }, + "flags": 0, + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod." + }, + "capacity": { + "type": { + "$ref": "#/50" + }, + "flags": 0, + "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity" + }, + "cephfs": { + "type": { + "$ref": "#/51" + }, + "flags": 0, + "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling." + }, + "cinder": { + "type": { + "$ref": "#/54" + }, + "flags": 0, + "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling." + }, + "claimRef": { + "type": { + "$ref": "#/55" + }, + "flags": 0, + "description": "ObjectReference contains enough information to let you inspect or modify the referred object." + }, + "csi": { + "type": { + "$ref": "#/56" + }, + "flags": 0, + "description": "Represents storage that is managed by an external CSI volume driver (Beta feature)" + }, + "fc": { + "type": { + "$ref": "#/58" + }, + "flags": 0, + "description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling." + }, + "flexVolume": { + "type": { + "$ref": "#/61" + }, + "flags": 0, + "description": "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin." + }, + "flocker": { + "type": { + "$ref": "#/63" + }, + "flags": 0, + "description": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling." + }, + "gcePersistentDisk": { + "type": { + "$ref": "#/64" + }, + "flags": 0, + "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling." + }, + "glusterfs": { + "type": { + "$ref": "#/65" + }, + "flags": 0, + "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling." + }, + "hostPath": { + "type": { + "$ref": "#/66" + }, + "flags": 0, + "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling." + }, + "iscsi": { + "type": { + "$ref": "#/67" + }, + "flags": 0, + "description": "ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling." + }, + "local": { + "type": { + "$ref": "#/69" + }, + "flags": 0, + "description": "Local represents directly-attached storage with node affinity (Beta feature)" + }, + "mountOptions": { + "type": { + "$ref": "#/70" + }, + "flags": 0, + "description": "A list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options" + }, + "nfs": { + "type": { + "$ref": "#/71" + }, + "flags": 0, + "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling." + }, + "nodeAffinity": { + "type": { + "$ref": "#/72" + }, + "flags": 0, + "description": "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from." + }, + "persistentVolumeReclaimPolicy": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming" + }, + "photonPersistentDisk": { + "type": { + "$ref": "#/80" + }, + "flags": 0, + "description": "Represents a Photon Controller persistent disk resource." + }, + "portworxVolume": { + "type": { + "$ref": "#/81" + }, + "flags": 0, + "description": "PortworxVolumeSource represents a Portworx volume resource." + }, + "quobyte": { + "type": { + "$ref": "#/82" + }, + "flags": 0, + "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling." + }, + "rbd": { + "type": { + "$ref": "#/83" + }, + "flags": 0, + "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling." + }, + "scaleIO": { + "type": { + "$ref": "#/85" + }, + "flags": 0, + "description": "ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume" + }, + "storageClassName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass." + }, + "storageos": { + "type": { + "$ref": "#/86" + }, + "flags": 0, + "description": "Represents a StorageOS persistent volume resource." + }, + "volumeMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec." + }, + "vsphereVolume": { + "type": { + "$ref": "#/87" + }, + "flags": 0, + "description": "Represents a vSphere volume resource." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AWSElasticBlockStoreVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + }, + "partition": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty)." + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AzureDiskVolumeSource", + "properties": { + "cachingMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Host Caching mode: None, Read Only, Read Write." + }, + "diskName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The Name of the data disk in the blob storage" + }, + "diskURI": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The URI the data disk in the blob storage" + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1AzureFilePersistentVolumeSource", + "properties": { + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "the name of secret that contains Azure Storage Account Name and Key" + }, + "secretNamespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod" + }, + "shareName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Share Name" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PersistentVolumeSpecCapacity", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CephFSPersistentVolumeSource", + "properties": { + "monitors": { + "type": { + "$ref": "#/52" + }, + "flags": 1, + "description": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "secretFile": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + }, + "secretRef": { + "type": { + "$ref": "#/53" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1SecretReference", + "properties": { + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name is unique within a namespace to reference a secret resource." + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace defines the space within which the secret name must be unique." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CinderPersistentVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + }, + "secretRef": { + "type": { + "$ref": "#/53" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ObjectReference", + "properties": { + "apiVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "API version of the referent." + }, + "fieldPath": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object." + }, + "kind": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + }, + "name": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" + }, + "namespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" + }, + "resourceVersion": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency" + }, + "uid": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CSIPersistentVolumeSource", + "properties": { + "controllerExpandSecretRef": { + "type": { + "$ref": "#/53" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "controllerPublishSecretRef": { + "type": { + "$ref": "#/53" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "driver": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Driver is the name of the driver to use for this volume. Required." + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\"." + }, + "nodePublishSecretRef": { + "type": { + "$ref": "#/53" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "nodeStageSecretRef": { + "type": { + "$ref": "#/53" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write)." + }, + "volumeAttributes": { + "type": { + "$ref": "#/57" + }, + "flags": 0, + "description": "Attributes of the volume to publish." + }, + "volumeHandle": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1CSIPersistentVolumeSourceVolumeAttributes", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FCVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "lun": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "Optional: FC target lun number" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "targetWWNs": { + "type": { + "$ref": "#/59" + }, + "flags": 0, + "description": "Optional: FC target worldwide names (WWNs)" + }, + "wwids": { + "type": { + "$ref": "#/60" + }, + "flags": 0, + "description": "Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlexPersistentVolumeSource", + "properties": { + "driver": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Driver is the name of the driver to use for this volume." + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script." + }, + "options": { + "type": { + "$ref": "#/62" + }, + "flags": 0, + "description": "Optional: Extra command options if any." + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/53" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlexPersistentVolumeSourceOptions", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1FlockerVolumeSource", + "properties": { + "datasetName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated" + }, + "datasetUUID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "UUID of the dataset. This is unique identifier of a Flocker dataset" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GCEPersistentDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "partition": { + "type": { + "$ref": "#/19" + }, + "flags": 0, + "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "pdName": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1GlusterfsPersistentVolumeSource", + "properties": { + "endpoints": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "endpointsNamespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1HostPathVolumeSource", + "properties": { + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" + }, + "type": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1IscsiPersistentVolumeSource", + "properties": { + "chapAuthDiscovery": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "whether support iSCSI Discovery CHAP authentication" + }, + "chapAuthSession": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "whether support iSCSI Session CHAP authentication" + }, + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi" + }, + "initiatorName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection." + }, + "iqn": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Target iSCSI Qualified Name." + }, + "iscsiInterface": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)." + }, + "lun": { + "type": { + "$ref": "#/19" + }, + "flags": 1, + "description": "iSCSI Target Lun number." + }, + "portals": { + "type": { + "$ref": "#/68" + }, + "flags": 0, + "description": "iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)." + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false." + }, + "secretRef": { + "type": { + "$ref": "#/53" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "targetPortal": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1LocalVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a fileystem if unspecified." + }, + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...)." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NFSVolumeSource", + "properties": { + "path": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + }, + "server": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VolumeNodeAffinity", + "properties": { + "required": { + "type": { + "$ref": "#/73" + }, + "flags": 0, + "description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelector", + "properties": { + "nodeSelectorTerms": { + "type": { + "$ref": "#/79" + }, + "flags": 1, + "description": "Required. A list of node selector terms. The terms are ORed." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelectorTerm", + "properties": { + "matchExpressions": { + "type": { + "$ref": "#/77" + }, + "flags": 0, + "description": "A list of node selector requirements by node's labels." + }, + "matchFields": { + "type": { + "$ref": "#/78" + }, + "flags": 0, + "description": "A list of node selector requirements by node's fields." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1NodeSelectorRequirement", + "properties": { + "key": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The label key that the selector applies to." + }, + "operator": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." + }, + "values": { + "type": { + "$ref": "#/76" + }, + "flags": 0, + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch." + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/75" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/75" + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/74" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PhotonPersistentDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "pdID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "ID that identifies Photon Controller persistent disk" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1PortworxVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "volumeID": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "VolumeID uniquely identifies a Portworx volume" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1QuobyteVolumeSource", + "properties": { + "group": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Group to map volume access to Default is no group" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false." + }, + "registry": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes" + }, + "tenant": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin" + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "User to map volume access to Defaults to serivceaccount user" + }, + "volume": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Volume is a string that references an already created Quobyte volume by name." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1RBDPersistentVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd" + }, + "image": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "keyring": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "monitors": { + "type": { + "$ref": "#/84" + }, + "flags": 1, + "description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "pool": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "secretRef": { + "type": { + "$ref": "#/53" + }, + "flags": 0, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "user": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + } + } + }, + { + "$type": "ArrayType", + "itemType": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1ScaleIOPersistentVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"" + }, + "gateway": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The host address of the ScaleIO API Gateway." + }, + "protectionDomain": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The name of the ScaleIO Protection Domain for the configured storage." + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/53" + }, + "flags": 1, + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace" + }, + "sslEnabled": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Flag to enable/disable SSL communication with Gateway, default false" + }, + "storageMode": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned." + }, + "storagePool": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The ScaleIO Storage Pool associated with the protection domain." + }, + "system": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "The name of the storage system as configured in ScaleIO." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "The name of a volume already created in the ScaleIO system that is associated with this volume source." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1StorageOSPersistentVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "readOnly": { + "type": { + "$ref": "#/7" + }, + "flags": 0, + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "secretRef": { + "type": { + "$ref": "#/55" + }, + "flags": 0, + "description": "ObjectReference contains enough information to let you inspect or modify the referred object." + }, + "volumeName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace." + }, + "volumeNamespace": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiCoreV1VsphereVirtualDiskVolumeSource", + "properties": { + "fsType": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." + }, + "storagePolicyID": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName." + }, + "storagePolicyName": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "Storage Policy Based Management (SPBM) profile name." + }, + "volumePath": { + "type": { + "$ref": "#/2" + }, + "flags": 1, + "description": "Path that identifies vSphere volume vmdk" + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1Beta1VolumeAttachmentStatus", + "properties": { + "attachError": { + "type": { + "$ref": "#/89" + }, + "flags": 0, + "description": "VolumeError captures an error encountered during a volume operation." + }, + "attached": { + "type": { + "$ref": "#/7" + }, + "flags": 1, + "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." + }, + "attachmentMetadata": { + "type": { + "$ref": "#/90" + }, + "flags": 0, + "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." + }, + "detachError": { + "type": { + "$ref": "#/89" + }, + "flags": 0, + "description": "VolumeError captures an error encountered during a volume operation." + } + } + }, + { + "$type": "ObjectType", + "name": "IoK8SApiStorageV1Beta1VolumeError", + "properties": { + "message": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "description": "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information." + }, + "time": { + "type": { + "$ref": "#/2" + }, + "flags": 0, + "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": "ObjectType", + "name": "IoK8SApiStorageV1Beta1VolumeAttachmentStatusAttachmentMetadata", + "properties": {}, + "additionalProperties": { + "$ref": "#/2" + } + }, + { + "$type": "ObjectType", + "name": "storage.k8s.io/VolumeAttachment", + "properties": { + "kind": { + "type": { + "$ref": "#/38" + }, + "flags": 10, + "description": "The resource kind." + }, + "apiVersion": { + "type": { + "$ref": "#/39" + }, + "flags": 10, + "description": "The api version." + }, + "metadata": { + "type": { + "$ref": "#/42" + }, + "flags": 1, + "description": "The resource metadata." + }, + "spec": { + "type": { + "$ref": "#/43" + }, + "flags": 1, + "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request." + }, + "status": { + "type": { + "$ref": "#/88" + }, + "flags": 0, + "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request." + } + } + }, + { + "$type": "ResourceType", + "name": "storage.k8s.io/VolumeAttachment@v1beta1", + "scopeType": 0, + "body": { + "$ref": "#/91" + }, + "flags": 0 + } +] \ No newline at end of file diff --git a/src/generator/package-lock.json b/src/generator/package-lock.json index 2e38c2bd..91736f95 100644 --- a/src/generator/package-lock.json +++ b/src/generator/package-lock.json @@ -36,9 +36,9 @@ "license": "MIT", "devDependencies": { "@types/jest": "^29.0.3", - "@types/node": "^18.7.18", - "@typescript-eslint/eslint-plugin": "^5.38.0", - "@typescript-eslint/parser": "^5.38.0", + "@types/node": "^20.1.0", + "@typescript-eslint/eslint-plugin": "^7.0.2", + "@typescript-eslint/parser": "^7.0.2", "eslint": "^8.23.1", "eslint-plugin-header": "^3.1.1", "eslint-plugin-jest": "^27.0.4", @@ -46,7 +46,7 @@ "nerdbank-gitversioning": "^3.5.113", "ts-jest": "^29.0.1", "ts-node": "^10.9.1", - "typescript": "^4.8.3" + "typescript": "^5.0.2" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -2503,9 +2503,9 @@ "version": "file:../../bicep-types/src/bicep-types", "requires": { "@types/jest": "^29.0.3", - "@types/node": "^18.7.18", - "@typescript-eslint/eslint-plugin": "^5.38.0", - "@typescript-eslint/parser": "^5.38.0", + "@types/node": "^20.1.0", + "@typescript-eslint/eslint-plugin": "^7.0.2", + "@typescript-eslint/parser": "^7.0.2", "eslint": "^8.23.1", "eslint-plugin-header": "^3.1.1", "eslint-plugin-jest": "^27.0.4", @@ -2513,7 +2513,7 @@ "nerdbank-gitversioning": "^3.5.113", "ts-jest": "^29.0.1", "ts-node": "^10.9.1", - "typescript": "^4.8.3" + "typescript": "^5.0.2" } }, "brace-expansion": { diff --git a/src/generator/src/cmd/generate.ts b/src/generator/src/cmd/generate.ts index f27c3861..93feb1b0 100644 --- a/src/generator/src/cmd/generate.ts +++ b/src/generator/src/cmd/generate.ts @@ -5,7 +5,7 @@ import path from 'path'; import { existsSync } from 'fs'; import { mkdir, rm, writeFile, readFile } from 'fs/promises'; import yargs from 'yargs'; -import { TypeFile, buildIndex, writeIndexJson, writeIndexMarkdown, readJson } from "bicep-types"; +import { TypeFile, buildIndex, writeIndexJson, writeIndexMarkdown, readTypesJson } from "bicep-types"; import { GeneratorConfig, getConfig } from '../config'; import * as markdown from '@ts-common/commonmark-to-markdown' import * as yaml from 'js-yaml' @@ -246,7 +246,7 @@ async function buildTypeIndex(logger: ILogger, baseDir: string) { const content = await readFile(typePath, { encoding: 'utf8' }); typeFiles.push({ relativePath: path.relative(baseDir, typePath), - types: readJson(content), + types: readTypesJson(content), }); } const indexContent = await buildIndex(typeFiles, log => logOut(logger, log));